EPICS-asyn安装

asyn安装前需要先安装sequencer,否则会产生错误:No rule to make target `test_registerRecordDeviceDriver.cpp', needed by `test_registerRecordDeviceDriver.o'.  Stop.

Asyn installation - Error: No rule to make target...(原因在于asyn/configure/RELEASE文件内有seq路径的设置)


Manual: 

Sequencer Manual

AsynDriver Manual


1. 下载并安装Sequencer模块

EPICS Sequencer Homepage

seq需要引用re2c包,因此没有re2c的话需要安装。

1.1 检查系统是否有re2c包

whereis re2c

若无,需要下载并安装

re2c github Homepage,RPM resource re2c (Redhat)

rpm -ivh re2c-0.13.5-1.el6.rf.x86_64.rpm

1.2 下载seq

wget http://www-csr.bessy.de/control/SoftDist/sequencer/releases/seq-2.2.6.tar.gz

tar -vxzf seq-2.2.6.tar.gz

1.3 修改seq-2.2.6/configure/RELEASE文件中EPICS_BASE变量

1.4 make

2. 下载Asyn

EPICS AsynDriver Homepage

wget https://github.com/epics-modules/asyn/archive/R4-34.tar.gz

tar -vxzf R4-34.tar.gz

3. 修改asyn4-34/configure/RELEASE文件中EPICS_BASE和SUPPORT变量,确保SNCSEQ路径正确

4. make

你可能感兴趣的:(EPICS-asyn安装)