EPICS software
This repo is used for bootstrapping an epics installation. All scripts are in the bin directory.
The setup.sh
should be sourced in a users .bashrc
or equivalent.
Usage
To install epics-base, synApps, and a few other things within the directory /opt/epics
, do the following.
cd /opt
git clone this_repo epics
cd epics
./bin/bootstrap_epics
Dependencies
Ubuntu
Should be installed by bootstrap_epics
sudo apt-get install re2c libreadline-dev
libXp
https://askubuntu.com/questions/944838/libxp-so-6-missing-for-ubuntu-17-04
IOCs
Python IOC
Notes
Downloads
git clone --recursive -b 7.0 https://git.launchpad.net/epics-base base-7.0
ln -s base-7.0 base
git clone https://github.com/epics-extensions/extensions
wget https://epics.anl.gov/bcda/synApps/tar/synApps_6_0.tar.gz
Synapps fix
asyn/stream headers
In asyn/include
, stream/include
sed -i \
-e 's|epicsShareFunc|DBCORE_API|g' \
-e 's|epicsShareClass|DBCORE_API|g' \
-e 's|epicsShareExtern|DBCORE_API extern|g' \
-e 's|epicsShareDef\s*||g' \
-e 's|shareLib\.h|dbCoreAPI.h|g' \
-e 's|epicsShareAPI|epicsStdCall|g' \
-e '/#define\s*epicsExportSharedSymbols/d' *.h
Also include the .c
and .cc
files in stream/src