=================================================================== RCS file: /home/cvs/OpenXM/doc/install.oxweave,v retrieving revision 1.47 retrieving revision 1.51 diff -u -p -r1.47 -r1.51 --- OpenXM/doc/install.oxweave 2003/09/03 00:20:39 1.47 +++ OpenXM/doc/install.oxweave 2008/06/03 00:24:49 1.51 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/doc/install.oxweave,v 1.46 2003/02/14 03:32:44 takayama Exp $ +%% $OpenXM: OpenXM/doc/install.oxweave,v 1.50 2008/02/18 06:36:12 takayama Exp $ OpenXM/doc/install.oxweave /*&C @@ -11,6 +11,7 @@ OpenXM URL : http://www.math.kobe-u.ac.jp/OpenXM /*&jp ------------ ソースからコンパイルしてインストールする方法 ---- + (cd OpenXM/src ; make install) バイナリとライブラリとドキュメント類は OpenXM/bin, OpenXM/lib, OpenXM/doc @@ -21,6 +22,23 @@ OpenXM URL : http://www.math.kobe-u.ac.jp/OpenXM にコピーされます. この部分は root で実行してください. + +たとえば openxm asir と入力して, asir がスタートすればインストール +はうまくいっていると思われます. + +なお一部のソースは ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc より +OpenXM_dist に make 中に wget コマンドでダウンロードされます. +したがって, make するときは +インターネットに接続されている必要があります. + +ファイアウオール内でもし passive ftp が使えない場合は, +環境変数 ftp_proxy を正しく設定すればうまくいく場合があるかもしれません. +詳しくは wget のマニュアルを見てください. +ダウンロードしたライブラリのソースは +OpenXM_dist ( OpenXM と並列した場所です ) に格納されます. +ここに手動で必要なライブラリのソースをおいとけば, offline でも +コンパイル可能です. + */ /*&eg @@ -29,6 +47,7 @@ OpenXM package : Getting started. ----------- An instruction for a quick installation from the source code --- + (cd OpenXM/src ; make install) You will get binaries, libraries, and documents under OpenXM/bin, OpenXM/lib, OpenXM/doc @@ -37,7 +56,21 @@ OpenXM package : Getting started. /usr/local/bin This part should be executed as the root. +Please try + openxm asir +If asir starts, then your installation seems to be successful. + +Some sources are downloaded from ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc +to OpenXM_dist during the make by the wget command. +So, your machine must be accessible to the internet. + +If you are in a firewall and cannot use even the passive +ftp, the environmental variable ftp_proxy may help you. +See the document of wget. All necessary library sources are downloaded in +OpenXM_dist at the same level of OpenXM. If you are offline, please put +all library sources necessary in this directory by hand. + */ @@ -88,7 +121,9 @@ A. OpenXM/rc/openxm, OpenXM/rc/asir, OpenXM/rc/oxmath, 等の ファイルを自動生成します. openxm, asir, oxmath などは OpenXM クライアントを起動するための - シエルスクリプトです. これらを /usr/local/bin にインストールするには + シエルスクリプトです. たとえば openxm asir と入力すれば OpenXM 環境で + asir が動作します. + これらを /usr/local/bin にインストールするには 次のように入力します. */ @@ -101,6 +136,9 @@ A. It generates OpenXM/rc/dot.cshrc, OpenXM/rc/dot.bashrc and OpenXM/rc/openxm, OpenXM/rc/asir, OpenXM/rc/oxmath, ... The files openxm, asir, oxmath are shell scripts to invoke OpenXM clients. + For example, if you input + openxm asir + then asir starts in the OpenXM enviroment. If you want to install these shell scripts to /usr/local/bin, type in as follows. @@ -415,17 +453,29 @@ A. Solaris ではまだ問題が山積してます. Solaris での make の問題点については, OpenXM/doc/OpenXM-FAQ-jp.txt を見てください. -Solaris でコンパイルするには, /usr/ccs/bin をサーチパスの最初へもっていって -おきます. +Solaris でコンパイルするには, 次が最低限必要です. +(1) gcc をインストールする. + http://www.gnu.org より Solaris 用 binary を入手できる. + それから [gnu file util と] bison. +(2) /usr/ccs/bin:/usr/local/bin:/usr/ucb +をサーチパスの最初へもっていっておきます. +C シェルなら +setenv PATH=/usr/ccs/bin:/usr/local/bin:/usr/ucb:$PATH +これは /usr/ccs/bin/make, /usr/ucb/install を利用する必要があるためです. + */ /*&eg Q. I cannot make on Solaris. A. There are a lot of troubles on Solaris for now. - At least, - /usr/ccs/bin must be at the top of the command search path to compile - on Solaris. + At least, the following two things are prerequisite. +(1) Installation of gcc (http://www.gnu.org), [gnu file util] and bison. +(2) /usr/ccs/bin:/usr/ucb must be at the top of the command search path + to compile on Solaris. In case of C shell, type in + setenv PATH=/usr/ccs/bin:/usr/local/bin:/usr/ucb:$PATH + This is because our making procedure requires + /usr/ccs/bin/make, /usr/ucb/install */