version 1.10, 2001/12/24 02:30:46 |
version 1.38, 2020/03/14 01:21:56 |
|
|
% $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.9 2001/08/10 09:28:05 takayama Exp $ |
% $OpenXM: OpenXM/doc/OpenXM-FAQ.oxweave,v 1.37 2019/01/28 05:05:02 takayama Exp $ |
|
|
//&C August 10, 2001 |
//&C March 14, 2020 |
//&ja Q. cygwin 環境で : から始まる sh ファイルが動かないことがあります.(開発者向け) |
//&ja Q. Icon c ox server window Mac чс障. |
//&en Q. Shell scripts which start with ":" does not sometimes work on cygwin (for developers). |
//&en Q. OX server windows of icon form cannot be opened on Mac. |
|
|
|
//&ja A. XQuartz X11 server 筝桁с. |
|
//&en A. It seems to be a bug of XQuartz X11 server. |
|
//&C export OX_XTERM_GEOMETRY=80x20+0+0 |
|
//&ja 医紊違 ox server window icon 脂≪綏障. |
|
//&en OX server window will not be iconized with this environmental variable. |
|
//&C cf. OpenXM/src/util/ox_pathfinder.c |
|
//&C |
|
|
|
//&C Jan 28, 2019 |
|
//&ja Q. recompile with -fPIC 若с潟潟ゃ罩≪障障 (Debian/stretch) |
|
//&en Q. Compiling stops with the error "recompile with -fPIC on Debian/stretch |
|
|
|
//&ja A. --enable-shared 激с潟障. 篁激鴻с warning 冴障絎潟с. |
|
//&en A. Fixed with --enable-shared option. It generates the warning unrecognized option on other systems. |
|
|
|
//&C Sep 26, 2016. |
|
//&ja Q. Mac OS 10.11 ElCapitan cfep/asir 障. |
|
//&en Q. cfep/asir does not run on Mac OS 10.11 ElCapitan. |
|
|
|
/*&ja A. ElCapitan 篁ラ LD_LIBRARY_PATH ∴c, ElCapitan static link 潟若筝. |
|
*/ |
|
/*&en A. Mac OS ElCapitan ignores LD_LIBRARY_PATH. Please download the binary for ElCapitan static link version. |
|
*/ |
|
|
|
//&C Sep 26, 2016. |
|
//&ja Q. ctrl("fake_ox_reset",1); (asir) 篏с? |
|
//&en Q. What is ctrl("fake_ox_reset",1); (asir)? |
|
|
|
/*&ja A. ox server с ox_reset 潟絎茖c, 篁c ox_shutdown 茵号 OX RFC 100 菴遵障. mathcap ox_reset 篁泣若絲障, ox_reset 障, fake_ox_reset 1 翫, ox_reset 潟潟 ox_shutdown 潟潟篁c障. cf. oxrfc103.rr |
|
*/ |
|
/*&en A. A protocol to send ox_shutdown instead of ox_reset is added to OX RFC 100, because the implementation |
|
of ox_reset is not easy. |
|
Sending ox_reset is blocked by mathcap for servers which do not support ox_reset. If fake_ox_reset is 1, ox_reset command sends ox_shutdown instead to such servers. cf. oxrfc103.rr |
|
*/ |
|
|
|
//&C Feb 14, 2016. |
|
//&ja Q. asir sysinfo() segfault 障. |
|
//&en Q. The sysinfo() command Risa/Asir makes the segmentation fault. |
|
|
|
/*&ja A. LC_ALL, LC_CTYPE, ... locale 紊違筝罩cゃ醇с障. |
|
LC_CTYPE hoge 荐絎 segfault 障. |
|
*/ |
|
/*&en A. Locale variables LC_ALL, LC_CTYPE, ... may contains an invalid |
|
value. For example, if you set foo to LC_CTYPE, sysinfo() makes the segmentation |
|
fault. |
|
*/ |
|
|
|
//&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 c, |
|
/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 |
/*&ja |
Login shell が csh 系の場合この現象がおきるようです. |
shell 鴻帥泣ゃ(stack size)紜筝. |
OpenXM/src/kan96xx/Kan/cat0, OpenXM/src/kan96xx/Kan/ar-decomp |
憜泣ゃ冴 ulimit -a хャс障. |
の : を #!/bin/sh に置き換えてください. |
|
*/ |
*/ |
|
/*&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 |
/*&en |
It seems that this trouble happens when the login shell is csh. |
Please install the Debian package openxm-skel from http://fe.math.kobe-u.ac.jp/KnoppixMath |
Please replace :'s in |
If you do not get a new menu insert->session->OpenXM in the TeXmacs, copy files by the command |
OpenXM/src/kan96xx/Kan/cat0, OpenXM/src/kan96xx/Kan/ar-decomp |
|
by #!/bin/sh |
|
*/ |
*/ |
|
//&C cp -r /etc/skel/.TeXmacs ~ |
|
|
//&C December 24, 2001 |
|
//&ja Q. OpenXM/misc/packages/Windows/asirgui2.bat を起動しようとすると, "環境変数領域がたりませんとエラーがでます. |
//&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 сcゃ号鴻ィ絅. |
|
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 с若潟若 |
|
障. |
|
ャ≪膈罩c, tex, ptex, nkf 膈ゃ潟鴻若 |
|
綽荀с. 絎茵綵√緇筝荀. |
|
|
|
Mac OS X 10.4 (tiger) 若. |
|
[A] |
|
XcodeTools 2.1 ゃ潟鴻若, gcc version 4.0 罔羣сゃ潟鴻若 |
|
. 憜gcc-4.0 с馹. |
|
c gcc-4.0 篁c 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 c潟潟ゃ障. |
|
//&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 с. |
|
//&en Q. Asir cannot be built on Debian GNU/Linux. |
|
|
|
/*&ja |
|
|
|
A. libxaw7-dev ゃ潟鴻若筝. <帥 OpenXM_contrib2/fep |
|
make libncurses5-dev ゃ潟鴻若綽荀障. |
|
|
|
*/ |
|
/*&en |
|
|
|
A. Install 'libxaw7-dev'. Note that you have to install |
|
'libncurses5-dev' to build 'fep' in OpenXM_contrib2. |
|
|
|
*/ |
|
|
|
//&C April 23, 2003 |
|
//&ja Q. OpenXM 泣若腴>. (c潟筝憗羔.) |
|
//&en Q. OpenXM servers cannot be invoked. (An window appears but vanishes immediately.) |
|
|
|
/*&ja |
|
|
|
A. XFree86 4.3.0 xterm 初絲上筝絎с. 篁ヤ |
|
荅帥筝. |
|
|
|
1. .Xdefaults, .Xresources 罨<茵菴遵. |
|
|
|
XTerm*locale:false |
|
|
|
2. LANG, LC_CTYPE, LC_ALL 医紊違羔. |
|
|
|
|
|
*/ |
|
/*&en |
|
|
|
A. This is caused by an incomplete implementation of i18n of xterm |
|
in XFree86 4.3.0. Try one of the following: |
|
|
|
1. Add the following line to your .Xdefaults, .Xresources etc. |
|
|
|
XTerm*locale:false |
|
|
|
2. Remove environment variables such as LANG, LC_CTYPE, LC_ALL etc. |
|
|
|
*/ |
|
|
|
//&C March 7, 2003 (for developers) |
|
//&ja Q. asir2000 configure 違 OS 絲上. |
|
//&en Q. The "configure" for asir2000 does not support a new operating system. |
|
|
|
/*&ja |
|
|
|
A. OpenXM/doc/HOWTO/asir2000-autoconf-note-ja 緇∴Η筝. |
|
|
|
*/ |
|
/*&en |
|
|
|
A. See OpenXM/doc/HOWTO/asir2000-autoconf-note-ja (in Japanese). |
|
|
|
*/ |
|
|
|
//&C October 23, 2002 (for developer) |
|
//&ja Q. commit <祉若吾水. |
|
//&en Q. I want to add only a commit message to the CVS repository. |
|
|
|
/*&ja |
|
|
|
A. |
|
罩c違吾<ゃ篆絖 |
|
|
|
cvs commit -f -F <log file> <target file> |
|
|
|
違絎鴻紊眼違贋違с障 |
|
revision 蚊ら蚊帥障絎潟с |
|
鐚違 (null commit) 障鐚 (by 障) |
|
|
|
|
|
*/ |
|
/*&en |
|
|
|
A. |
|
Write a log in the file <log file> and |
|
cvs commit -f -F <log file> <target file> |
|
The revision number will be increased by 1. |
|
|
|
*/ |
|
|
|
|
|
|
|
//&C March 16, 2002 (for developer) |
|
//&ja Q. asir cygwin make . |
|
//&en Q. I want to make "asir" on cygwin |
|
|
|
|
|
/*&ja |
|
asir cygwin 筝с make , XFree86 for cygwin 綽荀с. |
|
, cygwin 若若吾潟若с障. |
|
*/ |
|
/*&en |
|
We need XFree86 for cygwin to build asir on cygwin. |
|
You can download XFree86 from the homepage of the cygwin project. |
|
*/ |
|
/*&C |
|
|
|
export PATH=/usr/X11R6/bin:$PATH |
|
cd OpenXM/src/asir2000 |
|
rm .*done |
|
make |
|
*/ |
|
|
|
//&C March 7, 2002 (for developer) |
|
//&ja Q. HEAD 帥違ゃ? |
|
//&en Q. How to attach a tag to the head branch |
|
|
|
//&C cvs rtag -r HEAD RELEASE_1_2_1 OpenXM OpenXM_contrib OpenXM_contrib2 |
|
|
|
//&C December 27, 2001 (Windows) |
|
//&ja Q. asirgui engine.exe 篏臀 registry 脂蚊障. 羔? |
|
//&en Q. The path for engine.exe is written in the registry. How to remove the data from the registry? |
|
|
|
/*&ja |
|
MSDOS 潟潟潟 regedit 腴>, |
|
HKEY_LOCAL_MACHINE->SOFTWARE->FUJITSU |
|
ASIR 羔. |
|
*/ |
|
|
|
/*&en |
|
start "regedit" from MSDOS command prompt and |
|
remove HKEY_LOCAL_MACHINE->SOFTWARE->FUJITSU->ASIR |
|
*/ |
|
|
|
//&C December 24, 2001 (Windows) |
|
//&ja Q. OpenXM/misc/packages/Windows/asirgui2.bat 莎桁, "医紊育障若с障. |
//&en Q. OpenXM/misc/packages/Windows/asirgui2.bat stops with an error "Not enough area for environmental variables". |
//&en Q. OpenXM/misc/packages/Windows/asirgui2.bat stops with an error "Not enough area for environmental variables". |
|
|
/*&ja |
/*&ja |
環境変数領域を増やします. |
Windows 95/98/ME с馹障. |
command /e:1024 |
医紊育紜障. |
で command.com を立ち上げるのは一番簡単な方法. |
command /e:5000 |
|
command.com 腴>筝膂≦号. |
|
msconfig (win98/ME) 障 sysedit (win95) , |
|
医紊 shell |
|
c:\windows\command.com /p /e:5000 |
|
. |
*/ |
*/ |
|
|
/*&en |
/*&en |
|
This trouble happens on Windows 95/98/ME. |
Increase the area for environmental variables. |
Increase the area for environmental variables. |
Staring the command prompt with |
(1) Staring the command prompt with |
command /e:1024 |
command /e:5000 |
is the simplest way. |
is the simplest way. |
|
(2) By msconfig (win98/ME) or sysedit (win95), |
|
set the value of the environmental variable |
|
shell |
|
to the value |
|
c:\windows\command.com /p /e:5000 |
*/ |
*/ |
|
|
//&C May 6, 2001 |
//&C August 10, 2001 (Windows, developer) |
//&ja Q. tab をスペースで置き換えたい. (開発者向け) |
//&ja Q. cygwin 医 : 紮障 sh <ゃ障.(肴) |
|
//&en Q. Shell scripts which start with ":" does not sometimes work on cygwin (for developers). |
|
|
|
/*&ja |
|
Login shell csh 膤祉翫憠院с. |
|
OpenXM/src/kan96xx/Kan/cat0, OpenXM/src/kan96xx/Kan/ar-decomp |
|
: #!/bin/sh 臀. |
|
*/ |
|
|
|
/*&en |
|
It seems that this trouble happens when the login shell is csh. |
|
Please replace :'s in |
|
OpenXM/src/kan96xx/Kan/cat0, OpenXM/src/kan96xx/Kan/ar-decomp |
|
by #!/bin/sh |
|
*/ |
|
|
|
//&C May 6, 2001 (developer) |
|
//&ja Q. tab 鴻若鴻х舟. (肴) |
//&en Q. I want to replace tabs by spaces. (for developers) |
//&en Q. I want to replace tabs by spaces. (for developers) |
|
|
/*&C A. (For emacs). |
/*&C A. (For emacs). |
|
|
Esc x untabify |
Esc x untabify |
*/ |
*/ |
|
|
//&C May 6, 2001 |
//&C May 6, 2001 (developer) |
/*&ja Q. gcc が定義するシンボル名を知りたい. (開発者向け) |
/*&ja Q. gcc 絎臂激潟ャ. (肴) |
*/ |
*/ |
/*&en Q. I want to know symbol names that gcc defines. (for developers) |
/*&en Q. I want to know symbol names that gcc defines. (for developers) |
*/ |
*/ |
|
|
/*&ja A. ダミーのファイル foo.c を作成して, |
/*&ja A. 若<ゃ foo.c 篏, |
gcc -v -c foo.c |
gcc -v -c foo.c |
*/ |
*/ |
/*&en A. Generate a dummy file foo.c and type in |
/*&en A. Generate a dummy file foo.c and type in |
gcc -v -c foo.c |
gcc -v -c foo.c |
*/ |
*/ |
|
|
//&C Jan 18, 2001 |
//&C Jan 18, 2001 (user, developer) |
/*&ja Q. Debian potato で OpenXM/src/ox_math (Mathematica の OpenXM サポート) のソースがコンパイル, 実行 |
/*&ja Q. Debian potato OpenXM/src/ox_math (Mathematica OpenXM 泣若) 純若鴻潟潟ゃ, 絎茵 |
できません. |
с障. |
*/ |
*/ |
/*&en Q. I cannot compile and execute OpenXM/src/ox_math (OpenXM support of |
/*&en Q. I cannot compile and execute OpenXM/src/ox_math (OpenXM support of |
Mathematica) on Debian potato. |
Mathematica) on Debian potato. |
Line 67 Mathematica) on Debian potato. |
|
Line 553 Mathematica) on Debian potato. |
|
|
|
/*&ja |
/*&ja |
A (by Ohara). |
A (by Ohara). |
1. Mathlink は glibc2.1 では正しく動作しません. |
1. Mathlink glibc2.1 с罩c篏障. |
http://support.wolfram.com/MathLink/Linux/glibc21.html |
http://www.wolfram.com/solutions/mathlink/devkits.html |
をみて, libML.a を取り換えます. |
Linux x86 C/C++ MathLink SDK ユ, libML.a 障. |
|
MathLink SDK 篋腮蕁 libML.a 障ф絵. |
2. apt-get install libc5 |
2. apt-get install libc5 |
で libc5 をインストールする. |
libc5 ゃ潟鴻若. |
*/ |
*/ |
|
|
/*&en |
/*&en |
A (by Ohara). |
A (by Ohara). |
1. Mathlink does now work properly under glibc2.1. |
1. Mathlink does now work properly under glibc2.1. |
See http://support.wolfram.com/MathLink/Linux/glibc21.html |
See http://www.wolfram.com/solutions/mathlink/devkits.html |
and replace libML.a |
and replace libML.a |
2. Install libc5 by |
2. Install libc5 by |
apt-get install libc5 |
apt-get install libc5 |
*/ |
*/ |
|
|
//&C Dec 17, 2000 |
//&C Dec 17, 2000 (user) |
//&ja Q. Debian potato で OpenXM server 用の xterm がひらかず, OpenXM server が起動できません. |
//&ja Q. Debian potato OpenXM server xterm 蚊, OpenXM server 莎桁с障. |
//&en Q. I cannot start xterm for some OpenXM servers on Debian potato. |
//&en Q. I cannot start xterm for some OpenXM servers on Debian potato. |
|
|
/*&ja |
/*&ja |
A (by Ohara). |
A (by Ohara). |
(原因) Debian 2.2 で xterm -e a.out でプロセスを起動した場合、 |
() Debian 2.2 xterm -e a.out с祉鴻莎桁翫 |
a.out には環境変数 LD_LIBRARY_PATH が伝達されません!! |
a.out 医紊 LD_LIBRARY_PATH 篌障!! |
|
|
(結果) oxc は $OpenXM_HOME/lib/libgmp.so とリンクしているので、リンカ |
(腟) oxc $OpenXM_HOME/lib/libgmp.so 潟с潟 |
がダイナミックリンクを解決できずに、起動すらできなかったわけです。 |
ゃ潟茹f浦с莎桁сcс |
|
|
(解決) /lib に libgmp.so にシンボリックリンクをつくる。 |
(茹f浦) /lib libgmp.so 激潟潟ゃ |
例: root になって |
箴: root c |
cd /lib |
cd /lib |
ln -s $OpenXM_HOME/lib/libgmp.so . |
ln -s $OpenXM_HOME/lib/libgmp.so . |
ln -s $OpenXM_HOME/lib/libpari.so . |
ln -s $OpenXM_HOME/lib/libpari.so . |
などを実行. |
絎茵. |
|
|
*/ |
*/ |
/*&en |
/*&en |
Line 119 A solution: Generate a symbolic link from libgmp.so t |
|
Line 606 A solution: Generate a symbolic link from libgmp.so t |
|
|
|
*/ |
*/ |
|
|
//&C Nov 30, 2000 |
//&C Nov 30, 2000 (user) |
//&ja Q. Redhat Linux を利用しています. libgd がないので RPM パッケージのインストールが失敗します. |
//&ja Q. Redhat Linux 障. libgd RPM 宴若吾ゃ潟鴻若紊掩障. |
//&en Q. I'm using Redhat Linux. Installation of the RPM package of openxm fails because libgd does not exists. |
//&en Q. I'm using Redhat Linux. Installation of the RPM package of openxm fails because libgd does not exists. |
|
|
/*&ja |
/*&ja |
(A) http://www.redhat.com/downloads より, libgd をサーチします. |
(A) http://www.redhat.com/downloads , libgd 泣若障. |
(B) libgd 1.3 を download して, rpm でインストールします. |
(B) libgd 1.3 download , rpm сゃ潟鴻若障. |
|
|
www.redhat.com では, 最新版の Redhat 用の libgd しかみつからないかも |
www.redhat.com с, 亥 Redhat libgd 帥ゃ |
しれません. その場合は http://rpmfind.net で探して下さい. |
障. 翫 http://rpmfind.net ф「筝. |
たとえば Redhat 6.2 用の libgd は |
Redhat 6.2 libgd |
http://rpmfind.net/linux/RPM/redhat/6.2/i386////gd-1.3-6.i386.html |
http://rpmfind.net/linux/RPM/redhat/6.2/i386////gd-1.3-6.i386.html |
にあります. |
障. |
ネットスケープの場合ならここにアクセスし, |
鴻宴若翫≪祉鴻, |
gd-1.3-6 RPM for i386 |
gd-1.3-6 RPM for i386 |
を shift+click して gd-1.3-6.i386.rpm をダウンロードします. |
shift+click gd-1.3-6.i386.rpm 潟若障. |
*/ |
*/ |
/*&en |
/*&en |
(A) Search libgd at http://www.redhat.com/downloads |
(A) Search libgd at http://www.redhat.com/downloads |
Line 150 A solution: Generate a symbolic link from libgmp.so t |
|
Line 637 A solution: Generate a symbolic link from libgmp.so t |
|
Then, you can download gd-1.3-6.i386.rpm |
Then, you can download gd-1.3-6.i386.rpm |
*/ |
*/ |
|
|
//&C Sep 28, 2000 |
//&C Sep 28, 2000 (user) |
//&ja Q. asir より ssh を用いて remote の ox サーバを起動できません. |
//&ja Q. asir ssh remote ox 泣若莎桁с障. |
//&en Q. I cannot start remote ox servers with ssh. |
//&en Q. I cannot start remote ox servers with ssh. |
|
|
/*&ja |
/*&ja |
A. |
A. |
(A) ssh がただしく動作しているかまずしらべます. |
(A) ssh 篏障鴻障. |
ssh -f -X -A remote-machine-name xterm |
ssh -f -X -A remote-machine-name xterm |
で xterm が起動しますか? |
xterm 莎桁障鐚 |
ssh の version によっては -X -A などの option をうけつけません. |
ssh version c -X -A option ゃ障. |
シェルスクリプト /usr/local/bin/asir の ASIR_RSH を変更して下さい. |
激с鴻 /usr/local/bin/asir ASIR_RSH 紊眼筝. |
command not found の時は, .cshrc, .bashrc に xterm を起動できるように |
command not found , .cshrc, .bashrc xterm 莎桁с |
パスを加えます. |
鴻障. |
例: |
箴: |
set path=(/usr/X11R6/bin $path) (.cshrc) |
set path=(/usr/X11R6/bin $path) (.cshrc) |
export PATH=/usr/X11R6/bin:$PATH (.bashrc) |
export PATH=/usr/X11R6/bin:$PATH (.bashrc) |
|
|
(B) 1.1.3 では, remote machine の login shell が bash, sh の時は |
(B) 1.1.3 с, remote machine login shell bash, sh |
remote server を起動できません. この bug は, 次の version で変更されます. |
remote server 莎桁с障. bug , 罨< version у眼障. |
|
|
(C) asir より, |
(C) asir , |
ox_launch(remote-host-name,"/usr/local/OpenXM/lib/asir","ox_asir"); |
ox_launch(remote-host-name,"/usr/local/OpenXM/lib/asir","ox_asir"); |
で ox_asir server を起動できるか試して下さい. |
ox_asir server 莎桁с荅筝. |
起動できないときは, |
莎桁с, |
ASIR_RSH に -v option を加えて |
ASIR_RSH -v option |
(例: ASIR_RSH='ssh -v -f -X -A ' ) |
(箴: ASIR_RSH='ssh -v -f -X -A ' ) |
ssh を debug mode で起動し, 原因を探します. |
ssh debug mode ц儀, 「障. |
|
|
*/ |
*/ |
|
|
|
|
|
|
//&C |
//&C |
|
|
//&C April 12, 2000. |
//&C April 12, 2000. (user) |
//&ja Q. openxm*.rpm を利用しているのですが, asir と入力すると, |
//&ja Q. openxm*.rpm с, asir ュ, |
//&en Q. I installed OpenXM package by RPM (openxm*.rpm). Asir command returns |
//&en Q. I installed OpenXM package by RPM (openxm*.rpm). Asir command returns |
//&C /var/tmp/openxm-root/OpenXM/bin/asir is not found |
//&C /var/tmp/openxm-root/OpenXM/bin/asir is not found |
//&ja とエラーがでて起動できません. |
//&ja 若с莎桁с障. |
//&en and I cannot start asir. |
//&en and I cannot start asir. |
|
|
/*&C A. |
/*&C A. |
|
|
|
|
/*&ja |
/*&ja |
Q. 1999, 11/10: |
Q. 1999, 11/10: |
" (file) run " を ox_sm1 に送って executeStringByLocalParser しても |
" (file) run " ox_sm1 c executeStringByLocalParser |
ファイルをロードしてくれません. |
<ゃ若障. |
|
|
A. "[(parse) (file) pushfile] extension " で読み込んでください. |
A. "[(parse) (file) pushfile] extension " ц粋昭с. |
ox_asir も load("file") を executeStringByLocalParser しても |
ox_asir load("file") executeStringByLocalParser |
だめです. "file", 1, "load" をスタックへ積んでから execute します. |
с. "file", 1, "load" 鴻帥悟с execute 障. |
ox_math も "<< file" executeStringByLocalParser しても |
ox_math "<< file" executeStringByLocalParser |
だめです. |
с. |
|
|
Q. 1999, 11/10: |
Q. 1999, 11/10: |
OX サーバを起動しようとしても起動しません. |
OX 泣若莎桁莎桁障. |
asir を起動したあと, ox_launch したら, segmentation fault した. |
asir 莎桁, ox_launch , segmentation fault . |
|
|
A. OpenXM は home directory の直下にあり, また OpenXM/rc/bashrc で環境 |
A. OpenXM home directory 岩, 障 OpenXM/rc/bashrc х医 |
変数を正しく設定しましたか? |
紊違罩c頥絎障鐚 |
|
|
Q. 1999, 11/10: |
Q. 1999, 11/10: |
sm1 は * をつかえないのですか? |
sm1 * ゃс鐚 |
|
|
A. *もつかえます. x*y も x y も同じいみです. |
A. *ゃ障. x*y x y 帥с. |
|
|
|
|
Q. 1999, 11/12: |
Q. 1999, 11/12: |
sm1 は 有理数を係数とする多項式を扱えないのですか? |
sm1 違篆違紊綣宴с鐚 |
|
|
A. いまのところ扱えません. |
A. 障宴障. |
OpenXM/lib/asir/xm の 関数 sm1_rat_to_p() は有理数係数の多項式を |
OpenXM/lib/asir/xm ∽ sm1_rat_to_p() 遺違紊綣 |
sm1 が扱いやすいような 整数係数の多項式に変換してくれます. |
sm1 宴 贋遺違紊綣紊障. |
|
|
Q. 1999, 11/12: |
Q. 1999, 11/12: |
Solaris 2.5.1 で pari のコンパイルがうまくできません. |
Solaris 2.5.1 pari 潟潟ゃ障с障. |
|
|
A. |
A. |
| Solaris 2.5.1 ですが, いきなり pari の make でこけますね. |
| Solaris 2.5.1 с, pari make с障. |
| |
| |
| /usr/local/bin/as -o kernel.o kernel1.s |
| /usr/local/bin/as -o kernel.o kernel1.s |
| kernel1.s: Assembler messages: |
| kernel1.s: Assembler messages: |
|
|
| cv9' |
| cv9' |
| make[1]: *** [install] Error 2 |
| make[1]: *** [install] Error 2 |
|
|
これは私も以前はまりました. Osolaris-sparcv?/Makefile で |
腱篁ュ障障. Osolaris-sparcv?/Makefile |
|
|
AS=/usr/local/bin/as |
AS=/usr/local/bin/as |
|
|
となっているせいです. これは |
cс. |
|
|
AS=/usr/ccs/bin/as |
AS=/usr/ccs/bin/as |
|
|
でなければ make に失敗します. Solaris の場合には /usr/ccs/bin が |
с make 紊掩障. Solaris 翫 /usr/ccs/bin |
/usr/local/binより先にサーチされるように path を設定する必要があります. |
/usr/local/bin泣若 path 荐絎綽荀障. |
|
|
このように設定しておくと configure の時自動的にAS=/usr/ccs/bin/as |
荐絎 configure AS=/usr/ccs/bin/as |
としてくれる. |
. |
|
|
*/ |
*/ |
|
|
//&ja Q. pari で, LLL algorithm をつかうのにはどうしますか? |
//&ja Q. pari , LLL algorithm ゃ障? |
//&en Q. How to use functions for LLL algorithm in pari? |
//&en Q. How to use functions for LLL algorithm in pari? |
/*&C |
/*&C |
|
|
Line 305 A. gp (Starting pari) |
|
Line 792 A. gp (Starting pari) |
|
|
|
//&C |
//&C |
|
|
//&ja Q. Asir より pari をよびだして, LLL algorithm をつかうのにはどうしますか? |
//&ja Q. Asir pari 潟, LLL algorithm ゃ障? |
//&en Q. How to use functions for LLL algorithm in asir by calling pari? |
//&en Q. How to use functions for LLL algorithm in asir by calling pari? |
/*&C |
/*&C |
|
|