124 | | |
125 | | |
126 | | |
127 | | |
128 | | |
129 | | |
| 124 | == extensions == |
| 125 | |
| 126 | extensionsのconfig fileをダウンロードして展開。 |
| 127 | |
| 128 | {{{ |
| 129 | root@beaglebone:/opt/epics/R315.5# cd src/ |
| 130 | root@beaglebone:/opt/epics/R315.5/src# wget https://www.aps.anl.gov/epics/download/extensions/extensionsTop_20120904.tar.gz |
| 131 | root@beaglebone:/opt/epics/R315.5/src# cd .. |
| 132 | root@beaglebone:/opt/epics/R315.5# tar zxvf src/extensionsTop_20120904.tar.gz |
| 133 | }}} |
| 134 | |
| 135 | |
| 136 | === procServ === |
| 137 | |
| 138 | procServはなんか新しくなったみたい。githubに入っていたので、masterのzipを取得。 |
| 139 | |
| 140 | {{{ |
| 141 | root@beaglebone:/opt/epics/R315.5/extensions# cd src/ |
| 142 | root@beaglebone:/opt/epics/R315.5/extensions/src# wget https://github.com/ralphlange/procServ/archive/master.zip |
| 143 | |
| 144 | : |
| 145 | 2017-06-21 00:16:04 (337 KB/s) - ‘master.zip’ saved [76417] |
| 146 | |
| 147 | root@beaglebone:/opt/epics/R315.5/extensions/src# mv master.zip procServ.zip |
| 148 | root@beaglebone:/opt/epics/R315.5/extensions/src# unzip procServ.zip |
| 149 | }}} |
| 150 | |
| 151 | 展開したソースをmake。 |
| 152 | |
| 153 | {{{ |
| 154 | |
| 155 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# make |
| 156 | Cleaning autotools debris |
| 157 | rm -f configure aclocal.m4 Makefile.in Makefile.Automake.in; |
| 158 | autoreconf -si |
| 159 | configure.ac:32: installing 'build-aux/compile' |
| 160 | configure.ac:14: installing 'build-aux/config.guess' |
| 161 | configure.ac:14: installing 'build-aux/config.sub' |
| 162 | configure.ac:15: installing 'build-aux/install-sh' |
| 163 | configure.ac:15: installing 'build-aux/missing' |
| 164 | Makefile.am: installing 'build-aux/depcomp' |
| 165 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ls |
| 166 | acceptFactory.cc build-aux connectionItem.cc libtelnet.c Makefile.in procServ.h |
| 167 | aclocal.m4 ChangeLog COPYING libtelnet.h NEWS procServ.spec |
| 168 | appveyor.yml clientFactory.cc debian makefile processClass.h procServ.txt |
| 169 | AUTHORS configure forkpty.c Makefile.am processFactory.cc README.md |
| 170 | autom4te.cache configure.ac INSTALL Makefile.Epics.in procServ.cc |
| 171 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ./configure |
| 172 | |
| 173 | : |
| 174 | |
| 175 | configure: error: Documentation not found. Use --disable-doc to skip installing it, or --enable-doc to generate it |
| 176 | }}} |
| 177 | |
| 178 | configureでエラーになる。gitHubのREADMEに、asciidocとlibtelnetに依存関係があるというので、asciidocのパッケージをaptで検索。[[br]] |
| 179 | |
| 180 | {{{ |
| 181 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-cache search asciidoc |
| 182 | asciidoc - Highly configurable text format for writing documentation |
| 183 | asciidoctor - AsciiDoc to HTML rendering for Ruby |
| 184 | asciidoctor-doc - AsciiDoc to HTML rendering for Ruby (documentation) |
| 185 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-get install asciidoc |
| 186 | Reading package lists... Done |
| 187 | Building dependency tree |
| 188 | Reading state information... Done |
| 189 | The following extra packages will be installed: |
| 190 | dblatex docbook-dsssl docbook-utils docbook-xml docbook-xsl fonts-lmodern fonts-texgyre jadetex |
| 191 | libaudio2 libauthen-sasl-perl libencode-locale-perl libfile-basedir-perl libfile-desktopentry-perl |
| 192 | libfile-homedir-perl libfile-listing-perl libfile-mimeinfo-perl libfile-which-perl libfont-afm-perl |
| 193 | libfontenc1 libharfbuzz-icu0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl |
| 194 | libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl |
| 195 | libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libkpathsea6 |
| 196 | liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmng1 libnet-dbus-perl |
| 197 | libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libopenjpeg5 libosp5 libostyle1c2 |
| 198 | libpoppler-qt4-4 libpoppler46 libpotrace0 libptexenc1 libqt4-xml libqtcore4 libqtgui4 libruby2.1 |
| 199 | libsgmls-perl libsp1c2 libsynctex1 libtcl8.6 libtie-ixhash-perl libtk8.6 liburi-perl libwww-perl |
| 200 | libwww-robotrules-perl libx11-protocol-perl libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl |
| 201 | libxml2-utils libxslt1.1 libxss1 libyaml-0-2 libyaml-tiny-perl libzzip-0-13 lmodern lynx lynx-cur |
| 202 | openjade prerex preview-latex-style prosper ps2eps python-apt python-apt-common qtcore4-l10n ruby |
| 203 | ruby2.1 rubygems-integration sgml-base sgml-data sgmlspl sp tcl tcl8.6 tex-common tex-gyre texlive |
| 204 | texlive-base texlive-bibtex-extra texlive-binaries texlive-extra-utils texlive-font-utils |
| 205 | texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base |
| 206 | texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended |
| 207 | texlive-latex-recommended-doc texlive-math-extra texlive-pictures texlive-pictures-doc texlive-pstricks |
| 208 | texlive-pstricks-doc tipa tk tk8.6 vprerex x11-utils xdg-utils xml-core xmlto xsltproc xterm zip |
| 209 | Suggested packages: |
| 210 | source-highlight vim-addon-manager docbook graphicsmagick-imagemagick-compat imagemagick latex-cjk-all |
| 211 | opensp pdf-viewer texlive-lang-all texlive-lang-cyrillic texlive-xetex transfig docbook-dsssl-doc |
| 212 | docbook-defguide dbtoepub docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text docbook-xsl-doc |
| 213 | docbook-xsl-saxon fop libsaxon-java libxalan2-java libxslthl-java xalan nas libdigest-hmac-perl |
| 214 | libgssapi-perl libdata-dump-perl libcrypt-ssleay-perl qt4-qtconfig sgmls-doc libauthen-ntlm-perl |
| 215 | libunicode-map8-perl libunicode-string-perl xml-twig-tools doc-base python-apt-dbg python-gtk2 |
| 216 | python-vte python-apt-doc ri ruby-dev bundler sgml-base-doc perlsgml w3-recs tcl-tclreadline perl-tk |
| 217 | latexdiff latexmk dvidvi fragmaster lacheck purifyeps xindy chktex dvipng psutils t1utils |
| 218 | python-pygments libtcltk-ruby dot2tex gvfs-bin xmltex xfonts-cyrillic |
| 219 | Recommended packages: |
| 220 | wish |
| 221 | The following NEW packages will be installed: |
| 222 | asciidoc dblatex docbook-dsssl docbook-utils docbook-xml docbook-xsl fonts-lmodern fonts-texgyre jadetex |
| 223 | libaudio2 libauthen-sasl-perl libencode-locale-perl libfile-basedir-perl libfile-desktopentry-perl |
| 224 | libfile-homedir-perl libfile-listing-perl libfile-mimeinfo-perl libfile-which-perl libfont-afm-perl |
| 225 | libfontenc1 libharfbuzz-icu0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl |
| 226 | libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl |
| 227 | libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libkpathsea6 |
| 228 | liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl libmng1 libnet-dbus-perl |
| 229 | libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libopenjpeg5 libosp5 libostyle1c2 |
| 230 | libpoppler-qt4-4 libpoppler46 libpotrace0 libptexenc1 libqt4-xml libqtcore4 libqtgui4 libruby2.1 |
| 231 | libsgmls-perl libsp1c2 libsynctex1 libtcl8.6 libtie-ixhash-perl libtk8.6 liburi-perl libwww-perl |
| 232 | libwww-robotrules-perl libx11-protocol-perl libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl |
| 233 | libxml2-utils libxslt1.1 libxss1 libyaml-0-2 libyaml-tiny-perl libzzip-0-13 lmodern lynx lynx-cur |
| 234 | openjade prerex preview-latex-style prosper ps2eps python-apt python-apt-common qtcore4-l10n ruby |
| 235 | ruby2.1 rubygems-integration sgml-base sgml-data sgmlspl sp tcl tcl8.6 tex-common tex-gyre texlive |
| 236 | texlive-base texlive-bibtex-extra texlive-binaries texlive-extra-utils texlive-font-utils |
| 237 | texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base |
| 238 | texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended |
| 239 | texlive-latex-recommended-doc texlive-math-extra texlive-pictures texlive-pictures-doc texlive-pstricks |
| 240 | texlive-pstricks-doc tipa tk tk8.6 vprerex x11-utils xdg-utils xml-core xmlto xsltproc xterm zip |
| 241 | 0 upgraded, 125 newly installed, 0 to remove and 0 not upgraded. |
| 242 | Need to get 760 MB of archives. |
| 243 | After this operation, 1,251 MB of additional disk space will be used. |
| 244 | }}} |
| 245 | |
| 246 | ディスク容量を食いそうなのでパス。次にlibtelnet。 |
| 247 | |
| 248 | {{{ |
| 249 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-cache search libtelnet |
| 250 | libtelnet-dev - Small library for parsing the TELNET protocol - development files |
| 251 | libtelnet-utils - Small library for parsing the TELNET protocol - utilities |
| 252 | libtelnet2 - Small library for parsing the TELNET protocol - shared library |
| 253 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# apt-get install libtelnet-dev |
| 254 | Reading package lists... Done |
| 255 | Building dependency tree |
| 256 | Reading state information... Done |
| 257 | The following extra packages will be installed: |
| 258 | libtelnet2 |
| 259 | Suggested packages: |
| 260 | libtelnet-utils telnet |
| 261 | The following NEW packages will be installed: |
| 262 | libtelnet-dev libtelnet2 |
| 263 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. |
| 264 | Need to get 44.0 kB of archives. |
| 265 | After this operation, 145 kB of additional disk space will be used. |
| 266 | Do you want to continue? [Y/n] |
| 267 | : |
| 268 | }}} |
| 269 | |
| 270 | libtelnetは問題ないのでインストールした。[[br]] |
| 271 | 本体のコンパイル。[[br]] |
| 272 | gitHubのREADMEに{{{Building with the EPICS Build System}}}とあるので、{{{--with-epics-top}}}オプションを設定する。[[br]] |
| 273 | docは必要ないのでdisable。 |
| 274 | |
| 275 | {{{ |
| 276 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ./configure --with-epics-top=../.. --disable-doc |
| 277 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# make |
| 278 | |
| 279 | : |
| 280 | |
| 281 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# make install |
| 282 | |
| 283 | : |
| 284 | |
| 285 | root@beaglebone:/opt/epics/R315.5/extensions/src/procServ-master# ls -la /opt/epics/R315.5/extensions/bin/linux-arm |
| 286 | total 248 |
| 287 | drwxr-xr-x 2 root root 4096 Jun 21 00:44 . |
| 288 | drwxr-xr-x 3 root root 4096 Jun 21 00:44 .. |
| 289 | -r-xr-xr-x 1 root root 243604 Jun 21 00:44 procServ |
| 290 | }}} |
| 291 | |