=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-FAQ.oxweave,v retrieving revision 1.20 retrieving revision 1.24 diff -u -p -r1.20 -r1.24 --- OpenXM/doc/OpenXM-FAQ.oxweave 2003/11/15 12:24:46 1.20 +++ OpenXM/doc/OpenXM-FAQ.oxweave 2005/06/22 12:40:41 1.24 @@ -1,8 +1,111 @@ -% $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.19 2003/11/11 10:56:02 takayama Exp $ +% $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.23 2004/09/01 23:07:37 takayama Exp $ +//&C Sep 2, 2004, Update for tigers (10.4) June 23, 2005. +//&ja Q. MacOS X (10.3, panther)で OpenXM package を make するにはどうしますか? +//&en Q. How to make OpenXM package on MacOS X (10.3, panther)? + +/*&ja +[1] fink をインストールしてなければインストールします. + fink は Unix の Open Source software を Mac OS X でパッケージとして + 扱うための基礎システムです. fink をインストールすると, Debian linux や + Fedora, wine 等でおなじみのパッケージ管理コマンド apt-get が + 使えるようになります. + http://fink.sourceforge.net/index.php?phpLang=ja + よりダウンロード. +[2] xterm を開き, wget を apt-get でインストールします. + apt-get install wget + なおインストールされてるソフトの一覧は + dpkg --list + でみれます. + fink でインストールされたコマンドは /sw/bin の下にインストールされます. +[3] OpenXM のソースをダウンロードして他の unix と同様な方法で make します. + なお wget は gc, gmp のソースを ftp でネットワークダウンロードするのに + 利用されます. + マニュアル等を正しく処理するには, tex, ptex, nkf 等のインストール + も必要です. とりあえず実行形式を得るためには不要. + +Mac OS X 10.4 (tiger) のためのノート. +[A] + XcodeTools 2.1 をインストールすると, gcc version 4.0 が標準でインストール + される. 現在のところgcc-4.0 のもとではいろいろと問題が生じる. + したがって gcc-4.0 の代わりに gcc-3.3 を使う. + (たとえば + mkdir ~/bin ; ln -s /usr/bin/gcc-3.3 ~/bin/gcc + export PATH=~/bin:$PATH + とすればよい) + + GC の版 (OpenXM/src/gc) は 6.5 (or later). + wget がない場合は次ぎのようにする. + cd OpenXM ; mkdir ../OpenXM_dist ; cd ../OpenXM_dist + ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ の全てのファイルを + OpenXM_dist へ make の前にコピーしておく. + DYLD_LIBRARY_PATH 環境変数は使用しない. cf. OpenXM/rc/dot.bashrc + +*/ +/*&en +[1] If you have not yet installed fink, install the fink system. + The fink system is a Debian-like packaging system. + The commands apt-get and dpkg are installed. + http://fink.sourceforge.net +[2] Open the xterm and install the command wget by apt-get + apt-get install wget +[3] Build the OpenXM package. + The wget is used to download the source codes for gc and gmp + by the ftp. + In order to build documents properly, you need tex, ptex, and nkf. + If you need only binary executables, you do not need these. + +Note for Mac OS X 10.4 (tiger) +[A] + When you install XcodeTools 2.1, gcc version 4.0 will be installed. + There are several troubles when you build the OpenXM package with gcc-4.0. + So, we need to use gcc-3.3 instead of gcc-4.0 + (e.g., mkdir ~/bin ; ln -s /usr/bin/gcc-3.3 ~/bin/gcc + export PATH=~/bin:$PATH ) + + The version of OpenXM/src/gc must be 6.5 (or later). + If you do not have "wget", do as follows. + cd OpenXM ; mkdir ../OpenXM_dist ; cd ../OpenXM_dist + Copy all files in ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ + to OpenXM_dist before make. + The environmental variable DYLD_LIBRARY_PATH must not be set. + cf. OpenXM/rc/dot.bashrc + +*/ + +//&C Feb 7, 2004 +//&ja Q. Solaris 5.5.1 で make すると kan96xx の make で __register_frame_info がないといってコンパイルがとまる. +//&en Q. On Solaris 5.5.1, the make of kan96xx stops with the error undefined symbol __register_frame_info + +/*&ja + +A. OpenXM_contrib/gmp (version 4.1.2) をつぎのようにして version 3.1.1 に置き換えるとうまくいきます. +rm -rf OpenXM_contrib/gmp +cvs -d :pserver:anoncvs@kerberos.math.kobe-u.ac.jp:/home/cvsroot/openxm checkout -D '2002-01-01 0:00' OpenXM_contrib/gmp + +匿名 cvs については +http://www.math.sci.kobe-u.ac.jp/OpenXM/Current/anonymous.html +を御覧ください. + +*/ + +/*&en + +A. Repalce OpenXM_contrib/gmp (version 4.1.2) by the gmp version 3.1.1 +as follows. + +rm -rf OpenXM_contrib/gmp +cvs -d :pserver:anoncvs@kerberos.math.kobe-u.ac.jp:/home/cvsroot/openxm checkout -D '2002-01-01 0:00' OpenXM_contrib/gmp + +As to anonymous cvs, see +http://www.math.sci.kobe-u.ac.jp/OpenXM/Current/anonymous.html + +*/ + + //&C Nov 15, 2003 (For developpers) -//&ja Q. The -m option for cvs commit does not work well. -//&en Q. Cvs で commit するとき -m option がうまく動きません. +//&ja Q. Cvs で commit するとき -m option がうまく動きません. +//&en Q. The -m option for cvs commit does not work well. /*&ja 次のような shell ファイルで cvs を呼び出しているとしたら,