=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-FAQ.oxweave,v retrieving revision 1.25 retrieving revision 1.33 diff -u -p -r1.25 -r1.33 --- OpenXM/doc/OpenXM-FAQ.oxweave 2005/11/17 07:02:13 1.25 +++ OpenXM/doc/OpenXM-FAQ.oxweave 2013/11/08 02:20:25 1.33 @@ -1,4 +1,131 @@ -% $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.24 2005/06/22 12:40:41 takayama Exp $ +% $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.32 2013/09/19 23:34:15 takayama Exp $ + +//&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 するにはどうしますか?