Changes between Initial Version and Version 1 of epics/bbb/debian/install


Ignore:
Timestamp:
06/21/17 15:18:52 (7 years ago)
Author:
michkawa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • epics/bbb/debian/install

    v1 v1  
     1= EPICS インストール詳細 = 
     2 
     3== EPICS base R3.15.5 == 
     4 
     5使用するEPICS baseは安定版の最新である[http://www.aps.anl.gov/epics/base/R3-15/5.php 3.15.5]。[[br]] 
     6前回作成した時はR3.14.12.3で、その時からmake一発でコンパイルできたので今回も同じ。[[br]] 
     7これを実行する前に、libreadline6-devをインストールしておかないと、IOCを作成時にiocshの履歴機能が使えなくなるので、あらかじめ入れておいたほうがいい。 
     8 
     9{{{ 
     10root@beaglebone:~# apt-get install libreadline6-dev 
     11}}} 
     12 
     13 
     14{{{ 
     15root@beaglebone:~# cd /opt/epics 
     16root@beaglebone:/opt/epics# mkdir -p R315.5/src 
     17root@beaglebone:/opt/epics# cd R315.5/src 
     18root@beaglebone:/opt/epics/R315.5/src# wget https://www.aps.anl.gov/epics/download/base/base-3.15.5.tar.gz 
     19root@beaglebone:/opt/epics/R315.5/src# cd .. 
     20root@beaglebone:/opt/epics/R315.5# tar zxvf base-3.15.5.tar.gz 
     21root@beaglebone:/opt/epics/R315.5# mv base-3.15.5 base 
     22root@beaglebone:/opt/epics/R315.5# cd base 
     23root@beaglebone:/opt/epics/R315.5/base# make 
     24}}} 
     25 
     26== modules/soft == 
     27 
     28次によく使うmodulesをインストール。 
     29 
     30{{{ 
     31root@beaglebone:/opt/epics/R315.5# mkdir -p modules/soft 
     32}}} 
     33 
     34=== sequencer === 
     35 
     36インストール前にパッケージをインストール。 
     37 
     38{{{ 
     39root@beaglebone:/opt/epics/R315.5# apt-get install re2c 
     40}}} 
     41 
     42展開してmake。 
     43 
     44{{{ 
     45root@beaglebone:/opt/epics/R315.5# mkdir -p modules/soft/seq 
     46root@beaglebone:/opt/epics/R315.5# cd src 
     47root@beaglebone:/opt/epics/R315.5/src# wget http://www-csr.bessy.de/control/SoftDist/sequencer/releases/seq-2.2.4.tar.gz 
     48root@beaglebone:/opt/epics/R315.5/src# cd ../modules/soft/seq 
     49root@beaglebone:/opt/epics/R315.5/modules/soft/seq# tar zxvf /opt/epics/R315.5/src/seq-2.2.4.tar.gz 
     50root@beaglebone:/opt/epics/R315.5/modules/soft/seq# mv seq-2.2.4 2.2.4 
     51root@beaglebone:/opt/epics/R315.5/modules/soft/seq# cd 2.2.4/ 
     52root@beaglebone:/opt/epics/R315.5/modules/soft/seq/2.2.4# emacs -nw configure/RELEASE 
     53 
     54EPICS_BASE=/opt/epics/R315.5/base 
     55 
     56root@beaglebone:/opt/epics/R315.5/modules/soft/seq/2.2.4# make 
     57}}} 
     58 
     59=== asyn === 
     60 
     61asynも普通にmakeできる。 
     62 
     63{{{ 
     64root@beaglebone:/opt/epics/R315.5# mkdir -p modules/soft/asyn 
     65root@beaglebone:/opt/epics/R315.5# cd src 
     66root@beaglebone:/opt/epics/R315.5/src# wget https://www.aps.anl.gov/epics/download/modules/asyn4-31.tar.gz 
     67root@beaglebone:/opt/epics/R315.5/src# cd ../modules/soft/asyn 
     68root@beaglebone:/opt/epics/R315.5/modules/soft/asyn# tar zxvf /opt/epics/R315.5/src/asyn4-31.tar.gz 
     69root@beaglebone:/opt/epics/R315.5/modules/soft/asyn# mv asyn4-31 4-31 
     70root@beaglebone:/opt/epics/R315.5/modules/soft/asyn# cd 4-31/ 
     71root@beaglebone:/opt/epics/R315.5/modules/soft/asyn/4-31# emacs -nw configure/RELEASE 
     72 
     73#RELEASE Location of external products 
     74 
     75#SUPPORT=/corvette/home/epics/devel 
     76#-include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH) 
     77 
     78#  IPAC is only necessary if support for Greensprings IP488 is required 
     79#  IPAC release V2-7 or later is required. 
     80#IPAC=$(SUPPORT)/ipac-2-14 
     81 
     82# SEQ is required for testIPServer 
     83#SNCSEQ=$(SUPPORT)/seq-2-2-4 
     84SNCSEQ=$(EPICS_BASE)/../modules/soft/seq/2.2.4/ 
     85 
     86#  EPICS_BASE 3.14.6 or later is required 
     87#EPICS_BASE=/corvette/usr/local/epics-devel/base-3.15.5 
     88EPICS_BASE=/opt/epics/R315.5/base 
     89-include $(TOP)/../configure/EPICS_BASE.$(EPICS_HOST_ARCH) 
     90 
     91root@beaglebone:/opt/epics/R315.5/modules/soft/asyn/4-31# make 
     92}}} 
     93 
     94=== streamdevice === 
     95 
     96streamdeviceも同じ。[[br]] 
     97但し、streamdeviceはgitHubに入っているので、masterをダウンロード。 
     98 
     99{{{ 
     100root@beaglebone:/opt/epics/R315.5# mkdir -p modules/soft/stream 
     101root@beaglebone:/opt/epics/R315.5# cd src 
     102root@beaglebone:/opt/epics/R315.5/src# wget https://github.com/paulscherrerinstitute/StreamDevice/archive/master.zip 
     103root@beaglebone:/opt/epics/R315.5/src# mv master.zip streamdevice.zip 
     104root@beaglebone:/opt/epics/R315.5/src# cd ../modules/soft/stream 
     105root@beaglebone:/opt/epics/R315.5/modules/soft/stream# unzip ../../../src/streamdevice.zip 
     106root@beaglebone:/opt/epics/R315.5/modules/soft/stream# mv StreamDevice-master 2.7.7 
     107root@beaglebone:/opt/epics/R315.5/modules/soft/stream# cd 2.7.7/ 
     108 
     109root@beaglebone:/opt/epics/R315.5/modules/soft/stream/2.7.7# export PATH=/opt/epics/R315.5/base/bin/linux-arm:$PATH 
     110root@beaglebone:/opt/epics/R315.5/modules/soft/stream/2.7.7# makeBaseApp.pl -t support 
     111root@beaglebone:/opt/epics/R315.5/modules/soft/stream/2.7.7# emacs -nw configure/RELEASE 
     112 
     113SNCSEQ = $(EPICS_BASE)/../modules/soft/seq/2.2.4/ 
     114ASYN   = $(EPICS_BASE)/../modules/soft/asyn/4-31 
     115 
     116ここで、/opt/epics/R315.5/modules/soft/stream/2.7.7以下の各ディレクトリにあるMakefileのTOPを変更。 
     117 
     118TOP=..    -> TOP=. 
     119TOP=../.. -> TOP=./.. 
     120 
     121 
     122root@beaglebone:/opt/epics/R315.5/modules/soft/stream/2.7.7# make 
     123}}} 
     124 
     125 
     126== modules/instruments == 
     127 
     128BBBのIOを使うために専用(?)のmoduleをmakeする。[[br]] 
     129展開するディレクトリを作成。 
     130 
     131{{{ 
     132root@beaglebone:/opt/epics/R315.5/modules# mkdir -p instruments/bbb 
     133}}} 
     134 
     135=== devgpio === 
     136 
     137GPIOを使うためのドライバサポート。[[br]] 
     138gitHubからダウンロード。 
     139 
     140{{{ 
     141root@beaglebone:/opt/epics/R315.5/src# wget https://github.com/ffeldbauer/epics-devgpio/archive/master.zip 
     142root@beaglebone:/opt/epics/R315.5/src# mv master.zip bbb_devgpio.zip 
     143root@beaglebone:/opt/epics/R315.5/src# cd ../modules/instruments/bbb 
     144root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb# unzip ../../../src/bbb_devgpio.zip 
     145root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb# mv epics-devgpio-master devgpio 
     146root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb# cd devgpio 
     147root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb/devgpio# emacs -nw configure/RELEASE 
     148 
     149SNCSEQ=$(EPICS_BASE)/../modules/soft/seq/2.2.4 
     150 
     151# EPICS_BASE usually appears last so other apps can override stuff: 
     152EPICS_BASE=/opt/epics/R315.5/base 
     153 
     154root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb/devgpio# make 
     155}}} 
     156 
     157=== drvAsynI2C === 
     158 
     159今度はI2Cを使うためのドライバサポート。[[br]] 
     160asynとstreamdeviceでI2Cが使えるようになる。[[br]] 
     161これもgitHubからダウンロード。[[br]] 
     162 
     163{{{ 
     164root@beaglebone:/opt/epics/R315.5/src# wget https://github.com/ffeldbauer/drvAsynI2C/archive/master.zip 
     165root@beaglebone:/opt/epics/R315.5/src# mv master.zip bbb_asyni2c.zip 
     166root@beaglebone:/opt/epics/R315.5/src# cd ../modules/instruments/bbb 
     167root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb# unzip ../../../src/bbb_asyni2c.zip 
     168root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb# mv drvAsynI2C-master drvAsynI2C 
     169root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb# cd drvAsynI2C 
     170root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb/drvAsynI2C# emacs -nw configure/RELEASE 
     171 
     172EPICS_BASE=/opt/epics/R315.5/base 
     173ASYN=$(EPICS_BASE)/../modules/soft/asyn/4-31 
     174 
     175root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb/drvAsynI2C# make 
     176}}} 
     177 
     178このままの状態ではstreamdeviceを使った通信ができないので、一緒に入っているパッチをStreamDeviceにあてる必要がある。[[br]] 
     179パッチを当てるstreamdeviceは 2.7.7_I2Cとして別にコンパイルしなおす。[[br]] 
     180 
     181{{{ 
     182root@beaglebone:/opt/epics/R315.5/modules/instruments/bbb/drvAsynI2C# cd /opt/epics/R315.5/modules/soft/stream/ 
     183root@beaglebone:/opt/epics/R315.5/modules/soft/stream# cp -r 2.7.7 2.7.7_I2C 
     184root@beaglebone:/opt/epics/R315.5/modules/soft/stream# cd 2.7.7_I2C 
     185root@beaglebone:/opt/epics/R315.5/modules/soft/stream/2.7.7_I2C# patch -p2 < /opt/epics/R315.5/modules/instruments/bbb/drvAsynI2C/streamDevice/0001-Added-asynI2C-interface.patch 
     186patching file src/AsynDriverInterface.cc 
     187patching file streamApp/Makefile 
     188can't find file to patch at input line 87 
     189Perhaps you used the wrong -p or --strip option? 
     190The text leading up to this was: 
     191-------------------------- 
     192|diff --git a/configure/RELEASE b/configure/RELEASE 
     193|index bee74c1..b95de67 100644 
     194|--- a/configure/RELEASE 
     195|+++ b/configure/RELEASE 
     196-------------------------- 
     197File to patch: ^C 
     198 
     199configure/RELEASEは自分で編集。以下の行を追加。 
     200 
     201DRVASYNI2C=$(EPICS_BASE)/../modules/instruments/bbb/drvAsynI2C 
     202 
     203root@beaglebone:/opt/epics/R315.5/modules/soft/stream/2.7.7_I2C# make clean;make 
     204 
     205}}} 
     206 
     207IOCで使うときには、configure/RELEASEに 
     208 
     209{{{ 
     210ASYN       = $(EPICS_BASE)/../modules/soft/asyn/4-31 
     211STREAM     = $(EPICS_BASE)/../modules/soft/stream/2.7.7_I2C 
     212DRVASYNI2C = $(EPICS_BASE)/../modules/instruments/bbb/drvAsynI2C 
     213}}} 
     214 
     215を設定する。 
     216 
     217 
     218== extensions == 
     219 
     220extensionsのconfig fileをダウンロードして展開。 
     221 
     222{{{ 
     223root@beaglebone:/opt/epics/R315.5# cd src/ 
     224root@beaglebone:/opt/epics/R315.5/src# wget https://www.aps.anl.gov/epics/download/extensions/extensionsTop_20120904.tar.gz 
     225root@beaglebone:/opt/epics/R315.5/src# cd .. 
     226root@beaglebone:/opt/epics/R315.5# tar zxvf src/extensionsTop_20120904.tar.gz 
     227}}} 
     228 
     229 
     230=== procServ === 
     231 
     232procServはなんか新しくなったみたい。githubに入っていたので、masterのzipを取得。 
     233 
     234{{{ 
     235root@beaglebone:/opt/epics/R315.5/extensions# cd src/ 
     236root@beaglebone:/opt/epics/R315.5/extensions/src# wget https://github.com/ralphlange/procServ/archive/master.zip 
     237 
     238              : 
     2392017-06-21 00:16:04 (337 KB/s) - ‘master.zip’ saved [76417] 
     240 
     241root@beaglebone:/opt/epics/R315.5/extensions/src# mv master.zip procServ.zip 
     242root@beaglebone:/opt/epics/R315.5/extensions/src# unzip procServ.zip 
     243}}} 
     244 
     245展開したソースをmake。 
     246 
     247{{{ 
     248 
     249root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# make 
     250Cleaning autotools debris 
     251rm -f configure aclocal.m4 Makefile.in Makefile.Automake.in; 
     252autoreconf -si 
     253configure.ac:32: installing 'build-aux/compile' 
     254configure.ac:14: installing 'build-aux/config.guess' 
     255configure.ac:14: installing 'build-aux/config.sub' 
     256configure.ac:15: installing 'build-aux/install-sh' 
     257configure.ac:15: installing 'build-aux/missing' 
     258Makefile.am: installing 'build-aux/depcomp' 
     259root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ls 
     260acceptFactory.cc  build-aux         connectionItem.cc  libtelnet.c        Makefile.in        procServ.h 
     261aclocal.m4        ChangeLog         COPYING            libtelnet.h        NEWS               procServ.spec 
     262appveyor.yml      clientFactory.cc  debian             makefile           processClass.h     procServ.txt 
     263AUTHORS           configure         forkpty.c          Makefile.am        processFactory.cc  README.md 
     264autom4te.cache    configure.ac      INSTALL            Makefile.Epics.in  procServ.cc 
     265root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ./configure 
     266 
     267     : 
     268 
     269configure: error: Documentation not found.  Use --disable-doc to skip installing it, or --enable-doc to generate it 
     270}}} 
     271 
     272configureでエラーになる。gitHubのREADMEに、asciidocとlibtelnetに依存関係があるというので、asciidocのパッケージをaptで検索。[[br]] 
     273 
     274{{{ 
     275root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-cache search asciidoc 
     276asciidoc - Highly configurable text format for writing documentation 
     277asciidoctor - AsciiDoc to HTML rendering for Ruby 
     278asciidoctor-doc - AsciiDoc to HTML rendering for Ruby (documentation) 
     279root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-get install asciidoc 
     280Reading package lists... Done 
     281Building dependency tree 
     282Reading state information... Done 
     283The following extra packages will be installed: 
     284  dblatex docbook-dsssl docbook-utils docbook-xml docbook-xsl fonts-lmodern fonts-texgyre jadetex 
     285  libaudio2 libauthen-sasl-perl libencode-locale-perl libfile-basedir-perl libfile-desktopentry-perl 
     286  libfile-homedir-perl libfile-listing-perl libfile-mimeinfo-perl libfile-which-perl libfont-afm-perl 
     287  libfontenc1 libharfbuzz-icu0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl 
     288  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl 
     289  libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libkpathsea6 
     290  liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmng1 libnet-dbus-perl 
     291  libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libopenjpeg5 libosp5 libostyle1c2 
     292  libpoppler-qt4-4 libpoppler46 libpotrace0 libptexenc1 libqt4-xml libqtcore4 libqtgui4 libruby2.1 
     293  libsgmls-perl libsp1c2 libsynctex1 libtcl8.6 libtie-ixhash-perl libtk8.6 liburi-perl libwww-perl 
     294  libwww-robotrules-perl libx11-protocol-perl libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl 
     295  libxml2-utils libxslt1.1 libxss1 libyaml-0-2 libyaml-tiny-perl libzzip-0-13 lmodern lynx lynx-cur 
     296  openjade prerex preview-latex-style prosper ps2eps python-apt python-apt-common qtcore4-l10n ruby 
     297  ruby2.1 rubygems-integration sgml-base sgml-data sgmlspl sp tcl tcl8.6 tex-common tex-gyre texlive 
     298  texlive-base texlive-bibtex-extra texlive-binaries texlive-extra-utils texlive-font-utils 
     299  texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base 
     300  texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended 
     301  texlive-latex-recommended-doc texlive-math-extra texlive-pictures texlive-pictures-doc texlive-pstricks 
     302  texlive-pstricks-doc tipa tk tk8.6 vprerex x11-utils xdg-utils xml-core xmlto xsltproc xterm zip 
     303Suggested packages: 
     304  source-highlight vim-addon-manager docbook graphicsmagick-imagemagick-compat imagemagick latex-cjk-all 
     305  opensp pdf-viewer texlive-lang-all texlive-lang-cyrillic texlive-xetex transfig docbook-dsssl-doc 
     306  docbook-defguide dbtoepub docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text docbook-xsl-doc 
     307  docbook-xsl-saxon fop libsaxon-java libxalan2-java libxslthl-java xalan nas libdigest-hmac-perl 
     308  libgssapi-perl libdata-dump-perl libcrypt-ssleay-perl qt4-qtconfig sgmls-doc libauthen-ntlm-perl 
     309  libunicode-map8-perl libunicode-string-perl xml-twig-tools doc-base python-apt-dbg python-gtk2 
     310  python-vte python-apt-doc ri ruby-dev bundler sgml-base-doc perlsgml w3-recs tcl-tclreadline perl-tk 
     311  latexdiff latexmk dvidvi fragmaster lacheck purifyeps xindy chktex dvipng psutils t1utils 
     312  python-pygments libtcltk-ruby dot2tex gvfs-bin xmltex xfonts-cyrillic 
     313Recommended packages: 
     314  wish 
     315The following NEW packages will be installed: 
     316  asciidoc dblatex docbook-dsssl docbook-utils docbook-xml docbook-xsl fonts-lmodern fonts-texgyre jadetex 
     317  libaudio2 libauthen-sasl-perl libencode-locale-perl libfile-basedir-perl libfile-desktopentry-perl 
     318  libfile-homedir-perl libfile-listing-perl libfile-mimeinfo-perl libfile-which-perl libfont-afm-perl 
     319  libfontenc1 libharfbuzz-icu0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl 
     320  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl 
     321  libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libkpathsea6 
     322  liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmng1 libnet-dbus-perl 
     323  libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libopenjpeg5 libosp5 libostyle1c2 
     324  libpoppler-qt4-4 libpoppler46 libpotrace0 libptexenc1 libqt4-xml libqtcore4 libqtgui4 libruby2.1 
     325  libsgmls-perl libsp1c2 libsynctex1 libtcl8.6 libtie-ixhash-perl libtk8.6 liburi-perl libwww-perl 
     326  libwww-robotrules-perl libx11-protocol-perl libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl 
     327  libxml2-utils libxslt1.1 libxss1 libyaml-0-2 libyaml-tiny-perl libzzip-0-13 lmodern lynx lynx-cur 
     328  openjade prerex preview-latex-style prosper ps2eps python-apt python-apt-common qtcore4-l10n ruby 
     329  ruby2.1 rubygems-integration sgml-base sgml-data sgmlspl sp tcl tcl8.6 tex-common tex-gyre texlive 
     330  texlive-base texlive-bibtex-extra texlive-binaries texlive-extra-utils texlive-font-utils 
     331  texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base 
     332  texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended 
     333  texlive-latex-recommended-doc texlive-math-extra texlive-pictures texlive-pictures-doc texlive-pstricks 
     334  texlive-pstricks-doc tipa tk tk8.6 vprerex x11-utils xdg-utils xml-core xmlto xsltproc xterm zip 
     3350 upgraded, 125 newly installed, 0 to remove and 0 not upgraded. 
     336Need to get 760 MB of archives. 
     337After this operation, 1,251 MB of additional disk space will be used. 
     338}}} 
     339 
     340ディスク容量を食いそうなのでパス。次にlibtelnet。 
     341 
     342{{{ 
     343root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-cache search libtelnet 
     344libtelnet-dev - Small library for parsing the TELNET protocol - development files 
     345libtelnet-utils - Small library for parsing the TELNET protocol - utilities 
     346libtelnet2 - Small library for parsing the TELNET protocol - shared library 
     347root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-get install libtelnet-dev 
     348Reading package lists... Done 
     349Building dependency tree 
     350Reading state information... Done 
     351The following extra packages will be installed: 
     352  libtelnet2 
     353Suggested packages: 
     354  libtelnet-utils telnet 
     355The following NEW packages will be installed: 
     356  libtelnet-dev libtelnet2 
     3570 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 
     358Need to get 44.0 kB of archives. 
     359After this operation, 145 kB of additional disk space will be used. 
     360Do you want to continue? [Y/n] 
     361         : 
     362}}} 
     363 
     364libtelnetは問題ないのでインストールした。[[br]] 
     365本体のコンパイル。[[br]] 
     366gitHubのREADMEに{{{Building with the EPICS Build System}}}とあるので、{{{--with-epics-top}}}オプションを設定する。[[br]] 
     367docは必要ないのでdisable。 
     368 
     369{{{ 
     370root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ./configure --with-epics-top=../.. --disable-doc 
     371root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# make 
     372 
     373            : 
     374 
     375root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# make install 
     376 
     377            : 
     378 
     379root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ls -la /opt/epics/R315.5/extensions/bin/linux-arm 
     380total 248 
     381drwxr-xr-x 2 root root   4096 Jun 21 00:44 . 
     382drwxr-xr-x 3 root root   4096 Jun 21 00:44 .. 
     383-r-xr-xr-x 1 root root 243604 Jun 21 00:44 procServ 
     384}}} 
     385 
     386 
     387== 環境変数 == 
     388 
     389最後に、環境変数設定スクリプトを作成。 
     390 
     391{{{ 
     392root@beaglebone:/opt/epics/R315.5# mkdir etc 
     393root@beaglebone:/opt/epics/R315.5# cd etc 
     394root@beaglebone:/opt/epics/R315.5# emacs -nw setenv_R315_5.csh 
     395 
     396setenv EPICS_HOST_ARCH linux-arm 
     397setenv EPICS_BASE /opt/epics/R315.5/base 
     398setenv EPICS_EXTENSIONS /opt/epics/R315.5/extensions 
     399 
     400#setenv EPICS_CA_ADDR_LIST 
     401 
     402setenv EPICS_CA_AUTO_ADDR_LIST NO 
     403setenv EPICS_CA_MAX_ARRAY_BYTES 1000000 
     404 
     405set path=(${EPICS_BASE}/bin/${EPICS_HOST_ARCH} ${EPICS_EXTENSIONS}/bin/${EPICS_HOST_ARCH} $path) 
     406 
     407root@beaglebone:/opt/epics/R315.5# emacs -nw setenv_R315_5.sh 
     408 
     409export EPICS_HOST_ARCH=linux-arm 
     410export EPICS_BASE=/opt/epics/R315.5/base 
     411export EPICS_EXTENSIONS=/opt/epics/R315.5/extensions 
     412 
     413#export EPICS_CA_ADDR_LIST= 
     414 
     415export EPICS_CA_AUTO_ADDR_LIST=NO 
     416export EPICS_CA_MAX_ARRAY_BYTES=1000000 
     417 
     418export PATH=$EPICS_BASE/bin/$EPICS_HOST_ARCH:$EPICS_EXTENSIONS/bin/$EPICS_HOST_ARCH:$PATH 
     419 
     420}}}