version 1.3, 2000/12/20 10:35:34 |
version 1.9, 2006/08/15 02:08:00 |
|
|
Installation of Asir2000 (standalone version; 2000.9.1) |
Installation of Asir2000 (standalone version; 2006.8.15) |
|
|
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 |
The PARI library is necessary for bigfloat computation and evaluation of |
|
elementary functions. Currently asir links the old PARI library, |
|
libpari.a.2.0 because of the license restriction. The latest version of |
|
PARI is 2.2.x and it is recommended to install PARI and asir in a private |
|
directory. |
|
|
% gzip -dc pari-2.0.17.beta.tgz | tar xvf - |
2. Installation of pari |
% cd pari-2.0.17.beta |
|
|
% gzip -dc pari.tgz | tar xvf - |
|
% 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 41 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 - |
The following switch is available: |
|
|
|
--prefix=dir |
|
Set the install directory to 'dir'. It should be the same as TARGETDIR |
|
specified in the installation of PARI. |
|
|
|
--with-pari |
|
This should be specified if PARI is to be linked. |
|
|
|
--enable-plot |
|
This should be specified if plotting functions is necessary. |
|
|
|
% gzip -dc asir-head.tgz | tar xvf - |
% cd asir2000 |
% cd asir2000 |
% configure -oxhome TARGETDIR -pari -plot |
% configure --prefix=TARGETDIR <- without plot and PARI |
% xmkmf -a |
% configure --prefix=TARGETDIR --enable-plot <- with plot, without PARI |
|
% configure --prefix=TARGETDIR --with-pari --enable-plot <- with plot and PARI |
% make |
% make |
% su <-- if necessary |
// Become the root if necessary |
|
% su |
# make install |
# make install |
# make install-lib |
# make install-lib |
# make install-doc |
# make install-doc |
Line 52 directory is denoted by TARGETDIR. |
|
Line 85 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. Manuals |
|
|
'ptex', 'texi2html', 'makeinfo' (ver. 1.68 or later) are required. |
The file asir-doc.tgz contains dvi files and HTML manuals. |
|
|
% gzip -dc asir2000-man.tgz | tar xvf - |
% gzip -dc asir-doc.tgz | tar xvf - |
% cd asirdoc |
|
% make |
|
|
|
|
|
|
|