Differences between revisions 72 and 73
Revision 72 as of 2009-12-25 16:17:53
Size: 3180
Editor: NaokoOhishi
Comment:
Revision 73 as of 2009-12-28 16:28:24
Size: 3535
Editor: NaokoOhishi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:

 IPの設定には[[http://www.ubuntugeek.com/how-to-set-a-static-ip-address-in-ubuntu-810-intrepid-ibex.html|このページ]]を参考にしました。他にもいろいろありそうです。
Line 34: Line 36:
  *libxt-dev
  *libmotif-dev
 *x11proto-print-dev
 *libxmu-headers
  *libxp-dev
  *libxmu-dev
  *libc6-dev-i386
  *g++
  *lib32readline5-dev
 *libxt-dev
 *libmotif-dev
 *x11proto-print-dev
 *libxmu-headers
 *libxp-dev
 *libxmu-dev
 *libc6-dev-i386
 *g++
 *lib32readline5-dev
Line 45: Line 47:
  あまり関係ないけどsshとemacsも。  本文とはあまり関係ないけどsshとemacsも。
Line 48: Line 50:
 ~/app/linux64/epics/以下に置きました。参考サイトの/opt/epics/に対応  /opt/epics/以下に置きました。
Line 74: Line 76:
 ここでcursesがimcompatibleとかではまりましたが、/usr/lib/のlibcurses.soとlibncurses.aの
 リンクを/usr/lib32/に貼り直したらエラーがでなくなりました。

Linux setup Memo

目的

  • Digital Controlの入り口用?パソコンを立ち上げる。2010年1月くらいまでに。
    パソコン:Dell desktop

    OS: Ubuntu9.10(64bit)
    参考

初期設定

  • Windows VISTAが入っていたsda2[7GB/15GB]を残して、 sda3をrootと4GBくらいのswapにpartitionを分け、Ubuntuを入れた。(26Nov2009)
    いろいろあって、desktop版をserver版に変更し、名前をPORTAとした。

  • primary 65.8MB fat16
  • primary 16.1GB ntfs
  • primary 480.0GB ext4 / 
  • logic 3.9GB F swap
  • apt-get install desktop-ubuntu
  • reboot
    • IP:10.4.7.142

    IPの設定にはこのページを参考にしました。他にもいろいろありそうです。

MEDMのインストール

インストールの準備

  • Synapticで
  • libxt-dev
  • libmotif-dev
  • x11proto-print-dev
  • libxmu-headers
  • libxp-dev
  • libxmu-dev
  • libc6-dev-i386
  • g++
  • lib32readline5-dev

    も入れました。
    本文とはあまり関係ないけどsshとemacsも。

ファイルのダウンロード

解凍

  • $tar -zxvf baseR3.14.10.tar.gz
    $ln -s base3.14.11/ base
    $tar -zxvf extensionsTop_20070703.tar.gz
    $tar -zxvf extensionsConfig_20040406.tar.gz
    $tar -zxvf medm3_1_4.tar.gz
    (medm should be in $EPICS/extensions/src directory)

環境変数の設定

  • $export EPICS_HOST_ARCH=linux-x86
    $export EPICS='~/app/linux64/epics/'
    $export EPICS_CA_ADDR_LIST="IP address"
    $export EPICS_CA_AUTO_ADDR_LIST=NO

compile epics

  • $cd $EPICS/base
    $make ここでcursesがimcompatibleとかではまりましたが、/usr/lib/のlibcurses.soとlibncurses.aの リンクを/usr/lib32/に貼り直したらエラーがでなくなりました。

configure the extensions

  • add the following line in $EPICS/extensions/configure/RELEASE
    set TOP=~/app/linux64/epics/base caution! different from reference site
    set EPICS_BASE=

    modify Makefile at $EPICS/extensions/src/medm3_1_4 ns

    • $EPICS/extensions/src

    TOP= modify $EPICS/base/configure/CONFIG modify printUtils/ TOP=

Tips

If you find */CONFIG.Unsupported.Common No such file or directory, when you make something, you should set EPICS_HOST_ARCH=linux-x86

dataviewerのインストール

graceのインストール

  • 関連ファイル:
  • libfftw3-3(libfftw3-doc, libfftw3-decもついでに)
  • libnetcdf4
  • lib1-5 xmhtml1
    とともにSynapticで入れました。

libxpm4

  • は入っているようなのでパス。

gdstools(diaguui. foton,)のインストール

CLIO/Tasks/DigitalControl/LinuxSetupMemo (last edited 2010-06-01 10:30:47 by NaokoOhishi)