まずはSADを使える環境を整える。
*MAIN trunk [#rce2f2e5]
MAIN trunkのMakefileでは Tkinter付きが基本なので
'''src/README.TclTk-Linux'''を良く読んで、Tcl/Tk ''8.4.7''を入れておくこと
(SAD用の拡張パッチをあてるので、システム付属のTcl/Tkは使えません)
'''src/Makefile.'''''ARCH''中の''TCLINSTALLDIR''を先ほど入れた
Tcl/TkのPREFIXに合わせた状態で
 % gmake lib exe
すると、実行ファイル '''obj/'''''ARCH'''''/sad1.exe'''が出来ます
(driver scriptは、'''bin/gs'''に用意されます)

EPICS付きで作る場合は、
 % gmake EPICS=(EPICS PREFIX) lib exe
すると、EPICS Channel Access付きの SADが出来ます

*amorita branch [#ee4e9e02]
wgetを先に入れておくと、手間が省ける。
(compile with X11 and Tcl/Tk)

% tar zxvf oldsad-amorita-snapshot-576.tar.gz

% cd oldsad-amorita-snapshot-576

% cp -p sad.conf.sample sad.conf

(Edit sad.conf)~
(行頭の'#'は通常設定すべき箇所)~
(行頭の'##'はオプション)~
(SAD_ROOT=はinstall directory)

% make distclean

% make all
% make install

実際のinstallの様子は以下に。(要Javascript)

トップ   一覧 検索 最終更新   ヘルプ   最終更新のRSS