=================================================================== RCS file: /home/cvs/OpenXM/doc/install.oxweave,v retrieving revision 1.46 retrieving revision 1.54 diff -u -p -r1.46 -r1.54 --- OpenXM/doc/install.oxweave 2003/02/14 03:32:44 1.46 +++ OpenXM/doc/install.oxweave 2018/10/18 06:30:29 1.54 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/doc/install.oxweave,v 1.45 2002/03/02 01:00:23 takayama Exp $ +%% $OpenXM: OpenXM/doc/install.oxweave,v 1.53 2018/09/07 07:13:04 takayama Exp $ OpenXM/doc/install.oxweave /*&C @@ -11,7 +11,8 @@ OpenXM URL : http://www.math.kobe-u.ac.jp/OpenXM /*&jp ------------ ソースからコンパイルしてインストールする方法 ---- -(cd OpenXM/src ; make configure ; make install) + +(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 がスタートすればインストール +はうまくいっていると思われます. + +なお一部のソースは http://www.math.kobe-u.ac.jp/pub/OpenXM/misc より +OpenXM_dist に make 中に wget コマンドでダウンロードされます. +したがって, make するときは +インターネットに接続されている必要があります. + +ファイアウオール内でもし passive ftp が使えない場合は, +環境変数 ftp_proxy を正しく設定すればうまくいく場合があるかもしれません. +詳しくは wget のマニュアルを見てください. +ダウンロードしたライブラリのソースは +OpenXM_dist ( OpenXM と並列した場所です ) に格納されます. +ここに手動で必要なライブラリのソースをおいとけば, offline でも +コンパイル可能です. + */ /*&eg @@ -29,7 +47,8 @@ OpenXM package : Getting started. ----------- An instruction for a quick installation from the source code --- -(cd OpenXM/src ; make configure ; make install) + +(cd OpenXM/src ; make install) You will get binaries, libraries, and documents under OpenXM/bin, OpenXM/lib, OpenXM/doc (cd OpenXM/rc ; make install) @@ -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 http://www.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. + */ @@ -62,13 +95,15 @@ OpenXM/doc ディレクトリおよび http://www.openxm.org に /*&eg ------- If you need only asir and kan, -(cd OpenXM/src ; make install-kan-ox ; make install-asir-contrib) - You will get only asir (OpenXM version) and kan/sm1. +(cd OpenXM/src ; make install-asir2000 ; make install-k097 ) + You will get only asir and kan/sm1. (cd OpenXM/rc ; make install) ------------------------------------------- Risa/Asir with asir-contrib is the main client system in the OpenXM project. -You can start Risa/Asir by the command "asir". +You can start Risa/Asir by the command "asir", which is called +OpenXM/Risa/Asir. +It is build by (cd OpenXM/src ; make install-asir-contrib) The manual of Risa/Asir and Asir-contrib can be found in the OpenXM/doc directory and http://www.openxm.org @@ -86,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 にインストールするには 次のように入力します. */ @@ -99,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. @@ -257,10 +297,10 @@ A. OpenXM パッケージでもっとも充実しているクライアントは, asir です. asir のつかいかたは - OpenXM/doc/asir2000/man-jp.dvi - または OpenXM/doc/asir2000/html-jp の HTML ファイルを見て下さい. + OpenXM/doc/asir2000/man-ja.pdf + または OpenXM/doc/asir2000/html-ja の HTML ファイルを見て下さい. asir 用 OpenXM クライアントライブラリのつかい方は, - OpenXM/doc/asir-contrib/cman-jp.dvi + OpenXM/doc/asir-contrib/cman-ja.pdf を見て下さい. dvi の付くファイルは xdvi で見ることができます. OpenXM の設計の概要については, @@ -284,11 +324,11 @@ A. The main OpenXM client in the OpenXM package is now asir. Documents on asir are - OpenXM/doc/asir2000/man-eg.dvi - OpenXM/doc/asir2000/html-eg (HTML) + OpenXM/doc/asir2000/man-en.pdf + OpenXM/doc/asir2000/html-en (HTML) The file - OpenXM/doc/asir-contrib/cman-eg.dvi + OpenXM/doc/asir-contrib/cman-en.pdf is a document on OpenXM client libraries for asir. The design outline is described in @@ -413,17 +453,51 @@ 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 */ +/*&jp +Q. MacOS で build するには何が事前に必要ですか? +A. + 1. App store から xcode と XQuartz を入手. + 2. https://brew.sh より Homebrew をインストールする. + 3. brew で必要なツールを下記のようにインストールする. + brew install emacs nkf autoconf automake curl w3m readline + 4. Document の生成も行いたい場合は MacTeX をインストールして tex 関連のコマンドを path へ加えておく. + brew install texi2html も. + 5. build 中に command line tool が必要とメッセージが出たらメッセージに従う. + (上記、まっさらの Mac でまだ試していません. 多分要修正.) +*/ + +/*&jp + +Q. Debian で build するのに必要なパッケージは? +A. OpenXM/misc/packages/Linux/Debian2/debian/control を参照してください. + 以下のパッケージとそれに依存する package が必要です. + bash, gnuplot, w3m, curl, emacs, + nkf, wget, texinfo, java-common, openjdk-7-jdk, gnupg, latex2html, evince, dpkg-dev, debhelper, fakeroot, texi2html, dvipdfmx, dvipsk-ja, ptex-bin, gcc, freeglut3, freeglut3-dev, make, libxaw7, libxaw7-dev, bison, libtinfo-dev + +*/ \ No newline at end of file