version 1.2, 2000/08/28 06:25:04 |
version 1.8, 2003/03/27 02:14:24 |
|
|
Installation of Asir2000 (standalone version; 2000.9.1) |
Installation of Asir2000 (standalone version; 2003.3.11) |
|
|
Any questions are welcome by e-mails to noro@math.kobe-u.aj.jp. |
Any question is welcome by e-mails to noro@math.kobe-u.ac.jp. |
|
|
0. Compiler |
0. Compiler |
|
|
On SPARCK, gcc is used. Set the search path so that |
On SPARC, gcc is used. Set the search path so that |
'/usr/ccs/bin' is searched before '/usr/local/bin'. |
'/usr/ccs/bin' is searched before '/usr/local/bin'. |
|
|
On PC/x86 gcc is used. |
On PC/x86 gcc is used. |
Line 13 On Alpha the native compiler /usr/ccs/bin/cc is used. |
|
Line 13 On Alpha the native compiler /usr/ccs/bin/cc is used. |
|
|
|
1. Determining the install directory |
1. Determining the install directory |
|
|
In the install directory, the following are put |
In the install directory, the following subdirectories are put: |
|
|
bin executables of PARI and Asir |
bin executables of PARI and Asir |
lib library files of PARTI and Asir |
lib library files of PARI and Asir |
include header files of PARI |
include header files of PARI |
|
|
These subdirectories are created automatically if they does not exist. |
These subdirectories are created automatically if they does not exist. |
If you can be a root, it is recommended to install the files in ' |
If you can be a root, it is recommended to set the install directory |
/usr/local/lib'. Otherwise select a directory. In the following the |
to '/usr/local'. In the following the directory is denoted by TARGETDIR. |
directory is denoted by TARGETDIR. |
|
|
|
2. Installation of pari-2.0.17.beta |
2. Installation of pari |
|
|
% gzip -dc pari-2.0.17.beta.tgz | tar xvf - |
% gzip -dc pari.tgz | tar xvf - |
% cd pari-2.0.17.beta |
% cd pari |
% ./Configure --prefix=TARGETDIR |
% ./Configure --prefix=TARGETDIR |
% make all |
% make all |
% su <-- if necessary |
% su <-- if necessary |
Line 36 directory is denoted by TARGETDIR. |
|
Line 35 directory is denoted by TARGETDIR. |
|
# exit |
# exit |
% |
% |
|
|
|
While executing 'make install', the procedure may stop due to |
|
some error. Then try the following: |
|
|
|
% cd Oxxx <--- 'xxx' is the name of the current OS. |
|
% make lib-sta |
|
% su |
|
# make install-lib-sta |
|
# make install-include |
|
# exit |
|
% |
|
|
|
Although GP is not built, the library necessary for building asir2000 |
|
will be generated. |
|
|
3. Installation of asir2000 |
3. Installation of asir2000 |
|
|
% gzip -dc asir2000.tgz | tar xvf - |
% gzip -dc asir.tgz | tar xvf - |
% cd asir2000 |
% cd asir2000 |
% configure TARGETDIR |
% configure --prefix=TARGETDIR --with-pari --enable-plot |
% xmkmf -a |
|
% make |
% make |
% su <-- if necessary |
% su <-- if necessary |
# make install |
# make install |
Line 52 directory is denoted by TARGETDIR. |
|
Line 64 directory is denoted by TARGETDIR. |
|
|
|
3. Environment variables |
3. Environment variables |
|
|
If TARGETDIR is '/usr/local/lib', then no settings of environment variabls |
If ASIR_LIBDIR is already set, unset it. |
are required. If ASIR_LIBDIR is already set, unset it. |
|
If TARGETDIR is not '/usr/local/lib', then set the environment variable |
|
ASIR_LIBDIR to TARGETDIR/asir. |
|
|
|
4. Making manuals |
4. Making manuals |
|
|
'ptex', 'texi2html', 'makeinfo' (ver. 1.68 or later) are required. |
'ptex', 'texi2html', 'makeinfo' (ver. 1.68 or later) are required. |
|
|
% gzip -dc asir2000-man.tgz | tar xvf - |
% gzip -dc asir-doc.tgz | tar xvf - |
% cd asirdoc |
% cd asir-doc |
% make |
% make |
|
|
|
|