You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Debugging, trying to see if can get epics installed in a container

Getting Started - EPICS Controls (epics-controls.org)

TODO: patrick try installing it yourself and see if you can move the .so and build with epics

  1. You need /lib, /include, and /bin.
    1. 1) Keep everything in the epics/ folder, but copy the folder over, then update $LD_LIBRARY_PATH(lib), $PATH(bin),  $CPATH(include)?
      1. cp -r /mnt/eed/ad-build/registry/epics-base/R7.0.8/rocky9/epics-base/ /build/
      2. # If this works add to .bashrc instead because this'll be dev image
        export EPICS_BASE=/build/epics-base export EPICS_HOST_ARCH=$(${EPICS_BASE}/startup/EpicsHostArch) export PATH=${EPICS_BASE}/bin/${EPICS_HOST_ARCH}:${PATH}
      3. Works for binaries, need to try building simple ioc with it. Youre on step 5 of epics-controls. can build, need to try asyn as that would need 'include' statements of epics.
      4. How would channel access work if epics is in container? Can it be accessed from main server?
    2. 2) Or try moving everything (/include (.h), /lib (.so/.a), and /bin (binaries)) to according directories


  • No labels