===================================================================
RCS file: /home/cvs/OpenXM/doc/OpenXM-FAQ.oxweave,v
retrieving revision 1.18
retrieving revision 1.34
diff -u -p -r1.18 -r1.34
--- OpenXM/doc/OpenXM-FAQ.oxweave	2003/05/09 08:11:10	1.18
+++ OpenXM/doc/OpenXM-FAQ.oxweave	2015/09/29 00:15:26	1.34
@@ -1,4 +1,296 @@
-%  $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.17 2003/04/23 07:18:30 noro Exp $
+%  $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.33 2013/11/08 02:20:25 takayama Exp $
+
+//&C Sep 29, 2015.
+//&ja Q. Debian etch 等の古い OS で asir の ox_launch(0); が動きません.
+//&en Q. The ox_launch(0) of asir does not work on legacy linux like Debian etch.
+
+/*&ja A. LD_LIBRARY_PATH を xterm が受け継いでいないのが原因です.
+         xxxyyy を OpenXM_HOME の directory とするとき, root になって,
+         /etc/ld.so.conf に xxxyyy/lib を加え, 
+         ldconfig
+         して下さい.
+*/
+/*&en A. The xterm does not pass the environment variable LD_LIBRARY_PATH to its program executed with the -e option.
+         Suppose that xxxyyy is the OpenXM_HOME. Become the super user,
+         add xxxyyy/lib to /etc/ld.so.conf and execute 
+         ldconfig
+*/
+//&C   See also the FAQ on Dec 17, 2000.
+
+//&C Nov 8, 2013.
+//&ja Q. OpenXM/rc/dot.bashrc を source で読んでも環境変数が設定されません (MacOS Mountain Lion)
+//&en Q. Environmental variables are not set by loading it with source OpenXM/rc/dot.bashrc (MacOS Mountain Lion)
+
+//&C  cd OpenXM/rc ; source ./dot.bashrc      (./ is necessary)
+
+/*&ja
+shell のスタックサイズ(stack size)を増やして下さい.
+現在のサイズは ulimit -a で知ることができます.
+*/
+/*&en
+Please increase the stack size of the shell.
+The current size is reported by the command  
+  ulimit -a
+*/
+
+//&C Sep 7, 2010. 
+//&ja Q. TeXmacs interface 用の startup code はどのようにインストールしますか?
+//&en Q. How to install the startup codes for the TeXmacs interface?
+
+/*&ja
+ Debian package openxm-skel を http://fe.math.kobe-u.ac.jp/KnoppixMath からインストールして下さい.
+ これでだめなとき(insert->session->OpenXM が出ないとき)はインストールのあと, 次のコマンドを実行して下さい.
+*/
+/*&en
+ Please install the Debian package openxm-skel from http://fe.math.kobe-u.ac.jp/KnoppixMath
+ If you do not get a new menu insert->session->OpenXM in the TeXmacs, copy files by the command
+*/
+//&C  cp -r /etc/skel/.TeXmacs ~
+
+
+//&C Dec 3, 2009/Aug 29, 2010. Mac OS Snow Leopard,  CPU=intel core2
+//&ja Q. gmp のリンクに失敗します.
+//&en Q. The link with the gmp fails.
+
+/*&ja Now Leopard (10.6) 用の変更はまだソースに反映させていません.
+ ソースコードの更新をお待ち下さい.
+ Todo: gc, gmp は最新のものに変更する必要があります.
+ src/mcpp/work/mcpp-2.7.2/src/internal.H の最後の3行を削除します.
+ sm1 は gmp の内部構造にアクセスしていますが, そのやり方を変更します. 
+ これでもうまくいかない時は次のようにやるとうまくいくかもしれません.
+*/
+/*&en We have not changed source codes for Mac OS 10.6 (Snow Leopard).
+ Please wait our updates of the source code.
+ Todo: gc and gmp should be replaced with the latest versions.
+ The last 3 lines of src/mcpp/work/mcpp-2.7.2/src/internal.H should be removed.
+ sm1 accesses the internal structure of the gmp. We have to change the access code.
+ If the compilation does not succeed, the following might solve the problem
+*/
+/*&C
+  export ABI=32
+  cd OpenXM/src
+
+*/
+
+//&C Nov 21, 2009. Mac OS Snow Leopard (10.6)
+//&ja Mac OS Snow Leopard で OpenXM/src/ox_toolkit のコンパイルに失敗します.
+//&en Compilation fails for OpenXM/src/ox_toolkit on Mac OS Snow Leopard.
+/*&C
+
+   cd OpenXM/src/ox_toolkit
+   ./configure --x-libraries=/usr/X11/lib
+
+*/
+
+//&C Sep 13, 2009. Installing openxm*.deb on Ubuntu 9.04
+//&ja Q. Ubuntu 9.04 で openxm deb パッケージのインストールに失敗します.
+//&en Q. I got an error on Ubuntu 9.04 when I tried to install the openxm debian package.
+//&C 47  Illegal option -e , [: 47 :=: unexpected op.
+
+/*&ja
+  まず ctrl-C で install script を停止して下さい.
+
+   /usr/local/OpenXM/bin/asir-install.sh and /usr/local/OpenXM/bin/asir-port.sh は /bin/bash の上でうごきます.
+  #!/bin/bash とスクリプトの先頭に書いてありますが, Ubuntu 9.04 ではなぜか /bin/sh でこの script が実行されるようです
+  (理由調査中).
+  下のようにインストール中だけ /bin/sh を /bin/bash に変更しておけば大丈夫です.
+*/
+/*&en
+  Please stop the install script by ctrl-C.
+  The scripts /usr/local/OpenXM/bin/asir-install.sh and /usr/local/OpenXM/bin/asir-port.sh work on /bin/bash
+  #!/bin/bash is written at the beginning of the script, but /bin/sh seems to be used on Ubuntu 9.04
+  (Why? If you find the reason, please kindly tell us).
+  Please change /bin/sh to /bin/bash during the installation as below.
+*/
+/*&C
+
+   sudo su -
+   cd /bin
+   cp sh sh.orig
+   ln -s /bin/bash sh
+
+   [Installing OpenXM package]
+
+   rm /bin/sh
+   cp /bin/sh.orig /bin/sh
+
+*/
+
+//&C Sep 12, 2009.  "sudo apt-get install openxm" generates files owned by root
+
+/*&C
+
+  cd ~
+  sudo chown -R $USER  OpenXM_tmp  .TeXmacs
+
+*/
+
+//&C Oct 9, 2006. Generating universal binaries for MacOS X.
+
+/*&ja
+  Reference: http://macwiki.sourceforge.jp/cgi-bin/wiki.cgi?UniversalBinary
+  PPC では -arch i386 -arch ppc の他に -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+  option が必要. Xcode の Package の中の, Cross-Developement.mpkg を忘れない.
+  別々の architecture で生成して, lipo でくっつける方法の方が推奨らしい.
+  cf. 
+*/
+/*&C
+ Example:
+  gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk ox.c -o ox
+ or 
+  gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk ox.c -o ox-i386
+  gcc -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk ox.c -o ox-ppc
+  lipo -create ox-i386 ox-ppc -output ox
+*/
+ 
+
+//&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 を使う.
+      (たとえば
+           sudo gcc_select 3.3
+       とすればよい)
+
+<note-1> GC の版 (OpenXM/src/gc) は 6.5 (or later).
+<note-2> wget がない場合は次ぎのようにする.
+          cd OpenXM ; mkdir ../OpenXM_dist ; cd ../OpenXM_dist
+          ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/ の全てのファイルを
+          OpenXM_dist へ make の前にコピーしておく.
+<note-3> 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., sudo gcc_select 3.3 )
+
+
+<note-1> The version of OpenXM/src/gc must be 6.5 (or later).
+<note-2> 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.
+<note-3> 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. Cvs で commit するとき -m option がうまく動きません.
+//&en Q. The -m option for cvs commit does not work well.
+
+/*&ja
+  次のような shell ファイルで cvs を呼び出しているとしたら,
+   cvs -d abc.openxm.org:/usr/cvs $*
+  次のようにかえます.
+   cvs -d abc.openxm.org:/usr/cvs "$@"
+ 
+  参考文献: 砂原ほか, 「プロフェッショナルシェルプログラミング」, アスキー出版局
+
+*/
+
+/*&en
+ If you use cvs by the following shell file
+   cvs -d abc.openxm.org:/usr/cvs $*
+ change it as follows
+   cvs -d abc.openxm.org:/usr/cvs "$@"
+*/
+
+
+//&C Nov 11, 2003
+//&ja Q. RedHat 8.0 でコンパイルできません.
+//&en Q. I fail the compilation on RedHat 8.0
+
+/*&ja
+
+  ソースを checkout してすぐに,
+  " touch OpenXM/src/gc/.use_ports "
+  をしてから make install して下さい.
+  make している間に gc6.2 のソースコードをダウンロードしますので internet に
+  つないでる必要があります.
+
+*/
+/*&en
+
+  Just after checking out the sources,
+  execute the command
+  " touch OpenXM/src/gc/.use_ports "
+  and " make install ".
+  During the make the source code of gc6.2 is downloaded, so your machine
+  must be connected to the internet.
+
+*/
 
 //&C May 9, 2003
 //&ja Q. Debian GNU/Linux で asir が make できない.