wiki:epics/raspberrypi/setup_epics_module

Version 2 (modified by obina, 7 years ago) (diff)

--

EPICS Extensions, Modules インストール

以前に書いた通常の Linux でインストールする手順と基本的には同じ。

modules(seq, asyn, stream) をインストールする(セルフビルド)

Sequencer

[epics@centos-rpi2 ~]$ cd /opt/epics/arc
[epics@centos-rpi2 arc]$ wget https://github.com/epics-modules/asyn/archive/R4-31.tar.gz
[epics@centos-rpi2 arc]$ mv R4-31.tar.gz asyn_R4-31.tar.gz
[epics@centos-rpi2 arc]$ wget http://www-csr.bessy.de/control/SoftDist/sequencer/releases/seq-2.2.4.tar.gz
[epics@centos-rpi2 arc]$ wget https://github.com/paulscherrerinstitute/StreamDevice/archive/stream_2_7_7.tar.gz

[epics@centos-rpi2 arc]$ cd /opt/epics/R315.5/
[epics@centos-rpi2 R315.5]$ mkdir -p modules/soft/seq
[epics@centos-rpi2 R315.5]$ mkdir -p modules/soft/asyn
[epics@centos-rpi2 R315.5]$ mkdir -p modules/soft/stream

[epics@centos-rpi2 R315.5]$ cd modules/soft/seq/
[epics@centos-rpi2 seq]$ gzip -dc /opt/epics/arc/seq-2.2.4.tar.gz | tar xvf -
[epics@centos-rpi2 seq]$ mv seq-2.2.4 2.2.4
[epics@centos-rpi2 seq]$ cd 2.2.4/
[epics@centos-rpi2 2.2.4]$ vi configure/RELEASE
--> EPICS_BASE=/opt/epics/R315.5/base に書き換える
[epics@centos-rpi2 2.2.4]$ make
......

Asyn

[epics@centos-rpi2 ~]$ cd /opt/epics/asyn
[epics@centos-rpi2 asyn]$ gzip -dc /opt/epics/arc/asyn_R4-31.tar.gz | tar xvf -
[epics@centos-rpi2 asyn]$ mv asyn-R4-31 4-31
[epics@centos-rpi2 asyn]$ cd 4-31/
[epics@centos-rpi2 4-31]$vi configure/RELEASE

SNCSEQ=$(EPICS_BASE)/../modules/soft/seq/2.2.4
EPICS_BASE=/opt/epics/R315.5/base
[epics@centos-rpi2 4-31]$ pwd
/opt/epics/R315.5/modules/soft/asyn/4-31
[epics@centos-rpi2 4-31]$ make

Stream:

後で書く