[BACK]Return to OpenXM-FAQ-jp.txt CVS log [TXT][DIR] Up to [local] / OpenXM / doc

File: [local] / OpenXM / doc / Attic / OpenXM-FAQ-jp.txt (download)

Revision 1.6, Thu Apr 13 04:29:50 2000 UTC (24 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.5: +7 -9 lines

A comment on how to get libgd.so for Debian/GNU Linux.

%  $OpenXM: OpenXM/doc/OpenXM-FAQ-jp.txt,v 1.6 2000/04/13 04:29:50 takayama Exp $

//&C  4/12, 2000.
//&jp Q. openxm*.rpm を利用しているのですが, asir と入力すると,
//&C   /var/tmp/openxm-root/OpenXM/bin/asir  is not found
//&jp とエラーがでて起動できません.
/*&C A.
     cd /usr/local/OpenXM/rc
     make clean; make install
*/


//&C  4/12, 2000.
/*&jp  
 Q. Omoikane Debian GNU/Linux 1.0 (http://www.omoikane.co.jp)
    上で openxm*.rpm の ox_gnuplot module を利用すると次のエラーがでます.
*/
/*&C
    error in loading shared libraries: 
    libgd.so.1: cannot open shared object file: No such file or directory
*/

/*&jp
     libgd をインストールして下さい.
     たとえば http://www.debian.org より
        libgd1g_1.3-1.1.deb 
     を download して,
     dpkg -i libgd1g_1.3-1.1.deb 
     でインストールします.

*/

Q.  1999, 11/10: 
    " (file) run  " を ox_sm1 に送って executeStringByLocalParser しても
    ファイルをロードしてくれません.  

A.  "[(parse) (file) pushfile] extension " で読み込んでください.
    ox_asir も load("file") を executeStringByLocalParser しても
    だめです.  "file", 1, "load" をスタックへ積んでから execute します.
    ox_math も "<< file"  executeStringByLocalParser しても
    だめです.

Q. 1999, 11/10: 
    OX サーバを起動しようとしても起動しません.
    asir を起動したあと, ox_launch したら, segmentation fault した.

A. OpenXM は home directory の直下にあり, また OpenXM/rc/bashrc で環境
   変数を正しく設定しましたか?

Q. 1999, 11/10: 
   sm1 は * をつかえないのですか?  

A. *もつかえます.  x*y も x y も同じいみです.


Q. 1999, 11/12:
   sm1 は 有理数を係数とする多項式を扱えないのですか?

A. いまのところ扱えません.
   OpenXM/lib/asir/xm の 関数 sm1_rat_to_p() は有理数係数の多項式を
   sm1 が扱いやすいような 整数係数の多項式に変換してくれます.

Q. 1999, 11/12:
   Solaris 2.5.1 で pari のコンパイルがうまくできません.

A.
| Solaris 2.5.1 ですが, いきなり pari の make でこけますね.
| 
| /usr/local/bin/as  -o kernel.o kernel1.s
| kernel1.s: Assembler messages:
| kernel1.s:1: Error: Rest of line ignored. First ignored character is `/'.
| make[2]: *** [kernel.o] Error 1
| make[2]: Leaving directory `/home/taka/OpenXM/src/pari-2.0.17.beta/Osolaris-spar
| cv9'
| make[1]: *** [install] Error 2

これは私も以前はまりました. Osolaris-sparcv?/Makefile で

AS=/usr/local/bin/as

となっているせいです. これは

AS=/usr/ccs/bin/as

でなければ make に失敗します. Solaris の場合には /usr/ccs/bin が 
/usr/local/binより先にサーチされるように path を設定する必要があります.

このように設定しておくと configure の時自動的にAS=/usr/ccs/bin/as
としてくれる.

//&jp  Q. pari で, LLL algorithm をつかうのにはどうしますか?
//&eg  Q. How to use functions for LLL algorithm in pari?
/*&C

A. gp                         (Starting pari)
   x = [1,0 ; 0,1]            (Define a matrix. Do not use [[1,0],[0,1]].)
   qflll(x)

*/

//&jp  Q. Asir より pari をよびだして, LLL algorithm をつかうのにはどうしますか?
//&eg  Q. How to use functions for LLL algorithm in asir by calling pari.
/*&C

A. asir
   X = newmat(2,2,[[1,0],[0,1]]);
   pari(lll,X);

*/