conda-forge / epics-base-feedstock

A conda-smithy repository for epics-base.
BSD 3-Clause "New" or "Revised" License
0 stars 6 forks source link

ca command line binaries not linked in to PATH #5

Closed jrollins closed 4 years ago

jrollins commented 4 years ago

epics-base install the ca command line binaries, but they are not available in the default path:

(base) test@servo:~$ ls $EPICS_BASE/bin/linux-x86_64/
acctst               camonitor           dbdToHtml.pl         iocLogServer       podRemove.pl
aitGen               caput               dbdToMenuH.pl        makeBaseApp.pl     podToHtml.pl
antelope             caRepeater          dbdToRecordtypeH.pl  makeBaseExt.pl     registerRecordDeviceDriver.pl
ascheck              caRepeater.service  dos2unix.pl          makeBpt            replaceVAR.pl
assembleSnippets.pl  casw                e_flex               makeIncludeDbd.pl  S99caRepeater
caConnTest           ca_test             excas                makeMakefile.pl    S99logServer
caDirServ            catime              expandVars.pl        makeTestfile.pl    softIoc
caEventRate          convertRelease.pl   fullPathName.pl      mkmf.pl            tap-to-junit-xml.pl
caget                cvsclean.pl         genApps              msi                useManifestTool.pl
cainfo               dbdExpand.pl        installEpics.pl      munch.pl
(base) test@servo:~$ caget
-bash: caget: command not found
(base) test@servo:~$ 

Please make them available by either installing or linking them into $CONDA_PREFIX/bin. Thanks.


Environment (conda list):

``` (base) test@servo:~$ conda list # packages in environment at /home/test/miniconda3: # # Name Version Build Channel _libgcc_mutex 0.1 main asn1crypto 1.2.0 py37_0 ca-certificates 2019.9.11 hecc5488_0 conda-forge certifi 2019.9.11 py37_0 conda-forge cffi 1.13.2 py37h2e261b9_0 chardet 3.0.4 py37_1003 conda 4.7.12 py37_0 conda-forge conda-env 2.6.0 h36134e3_1 conda-package-handling 1.6.0 py37h7b6447c_0 coreutils 8.31 h14c3975_0 conda-forge cryptography 2.8 py37h72c5cf5_0 conda-forge cycler 0.10.0 py_2 conda-forge dbus 1.13.6 he372182_0 conda-forge decorator 4.4.1 py_0 conda-forge epics-base 3.15.6 he1b5a44_0 conda-forge expat 2.2.5 he1b5a44_1004 conda-forge fontconfig 2.13.1 he4413a7_1000 conda-forge freetype 2.10.0 he983fc9_1 conda-forge gettext 0.19.8.1 hc5be6a0_1002 conda-forge glib 2.58.3 py37h6f030ca_1002 conda-forge gpstime 0.3.3 py_0 conda-forge gst-plugins-base 1.14.5 h0935bb2_0 conda-forge gstreamer 1.14.5 h36ae1b5_0 conda-forge guardian 1.3.4 py37_0 conda-forge icu 58.2 hf484d3e_1000 conda-forge idna 2.8 py37_0 jpeg 9c h14c3975_1001 conda-forge kiwisolver 1.1.0 py37hc9558a2_0 conda-forge libblas 3.8.0 14_openblas conda-forge libcblas 3.8.0 14_openblas conda-forge libedit 3.1.20181209 hc058e9b_0 libffi 3.2.1 hd88cf55_4 libgcc-ng 9.1.0 hdf63c60_0 libgfortran-ng 7.3.0 hdf63c60_2 conda-forge libiconv 1.15 h516909a_1005 conda-forge liblapack 3.8.0 14_openblas conda-forge libopenblas 0.3.7 h6e990d7_3 conda-forge libpng 1.6.37 hed695b0_0 conda-forge libstdcxx-ng 9.1.0 hdf63c60_0 libuuid 2.32.1 h14c3975_1000 conda-forge libxcb 1.13 h14c3975_1002 conda-forge libxml2 2.9.9 hea5a465_1 matplotlib 3.1.1 py37h5429711_0 ncurses 6.1 hf484d3e_0 networkx 2.4 py_0 conda-forge numpy 1.17.3 py37h95a1406_0 conda-forge openssl 1.1.1d h516909a_0 conda-forge pcaspy 0.7.2 py37hb3f55d8_0 conda-forge pcre 8.43 he1b5a44_0 conda-forge pip 19.3.1 py37_0 pthread-stubs 0.4 h14c3975_1001 conda-forge pycosat 0.6.3 py37h14c3975_0 pycparser 2.19 py_0 pydotplus 2.0.2 py_1 conda-forge pyepics 3.4.0 py37_1 conda-forge pyopenssl 19.0.0 py37_0 pyparsing 2.4.5 py_0 conda-forge pyqt 5.9.2 py37hcca6a23_4 conda-forge pysocks 1.7.1 py37_0 python 3.7.5 h0371630_0 python-dateutil 2.8.1 py_0 conda-forge pytz 2019.3 py_0 conda-forge qt 5.9.7 h52cfd70_2 conda-forge readline 7.0 h7b6447c_5 requests 2.22.0 py37_0 ruamel_yaml 0.15.46 py37h14c3975_0 setproctitle 1.1.10 py37h516909a_1001 conda-forge setuptools 41.6.0 py37_0 sip 4.19.8 py37hf484d3e_0 six 1.13.0 py37_0 sqlite 3.30.1 h7b6447c_0 termcolor 1.1.0 py_2 conda-forge tk 8.6.8 hbc83047_0 tornado 6.0.3 py37h516909a_0 conda-forge tqdm 4.38.0 py_0 urllib3 1.24.2 py37_0 wheel 0.33.6 py37_0 xorg-libxau 1.0.9 h14c3975_0 conda-forge xorg-libxdmcp 1.1.3 h516909a_0 conda-forge xz 5.2.4 h14c3975_4 yaml 0.1.7 had09818_2 zlib 1.2.11 h7b6447c_3 (base) test@servo:~$ ```


Details about conda and system ( conda info ):

``` (base) test@servo:~$ conda info active environment : base active env location : /home/test/miniconda3 shell level : 1 user config file : /home/test/.condarc populated config files : /home/test/.condarc conda version : 4.7.12 conda-build version : not installed python version : 3.7.5.final.0 virtual packages : base environment : /home/test/miniconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/test/miniconda3/pkgs /home/test/.conda/pkgs envs directories : /home/test/miniconda3/envs /home/test/.conda/envs platform : linux-64 user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.5 Linux/5.2.0-3-amd64 debian/testing glibc/2.29 UID:GID : 1003:1003 netrc file : None offline mode : False (base) test@servo:~$ ```
beenje commented 4 years ago

Fixed by https://github.com/conda-forge/epics-base-feedstock/pull/6 PATH updated in activate/deactivate scripts to include ${EPICS_BASE}/bin/${EPICS_HOST_ARCH}