[BACK]Return to INSTALL CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000

Annotation of OpenXM_contrib2/asir2000/INSTALL, Revision 1.9

1.9     ! noro        1:        Installation of Asir2000 (standalone version; 2006.8.15)
1.1       noro        2:
1.4       noro        3: Any question is welcome by e-mails to noro@math.kobe-u.ac.jp.
1.1       noro        4:
                      5: 0. Compiler
                      6:
1.4       noro        7: On SPARC, gcc is used. Set the search path so that
1.1       noro        8: '/usr/ccs/bin' is searched before '/usr/local/bin'.
                      9:
                     10: On PC/x86 gcc is used.
                     11:
                     12: On Alpha the native compiler /usr/ccs/bin/cc is used.
                     13:
                     14: 1. Determining the install directory
                     15:
1.4       noro       16: In the install directory, the following subdirectories are put:
1.1       noro       17:
1.9     ! noro       18: bin       executables of PARI and asir
        !            19: lib       library files of PARI and asir
1.1       noro       20: include   header files of PARI
                     21:
                     22: These subdirectories are created automatically if they does not exist.
1.4       noro       23: If you can be a root, it is recommended to set the install directory
1.5       noro       24: to '/usr/local'.  In the following the directory is denoted by TARGETDIR.
1.1       noro       25:
1.9     ! noro       26: The PARI library is necessary for bigfloat computation and evaluation of
        !            27: elementary functions. Currently asir links the old PARI library,
        !            28: libpari.a.2.0 because of the license restriction. The latest version of
        !            29: PARI is 2.2.x and it is recommended to install PARI and asir in a private
        !            30: directory.
        !            31:
1.4       noro       32: 2. Installation of pari
1.1       noro       33:
1.7       noro       34: % gzip -dc pari.tgz | tar xvf -
                     35: % cd pari
1.1       noro       36: % ./Configure --prefix=TARGETDIR
                     37: % make all
                     38: % su                         <-- if necessary
                     39: # make install
                     40: # make install-lib-sta
                     41: # exit
                     42: %
                     43:
1.8       noro       44: While executing 'make install', the procedure may stop due to
                     45: some error. Then try the following:
                     46:
                     47: % cd Oxxx           <--- 'xxx' is the name of the current OS.
                     48: % make lib-sta
                     49: % su
                     50: # make install-lib-sta
                     51: # make install-include
                     52: # exit
                     53: %
                     54:
                     55: Although GP is not built, the library necessary for building asir2000
                     56: will be generated.
                     57:
1.1       noro       58: 3. Installation of asir2000
                     59:
1.9     ! noro       60: The following switch is available:
        !            61:
        !            62: --prefix=dir
        !            63:   Set the install directory to 'dir'. It should be the same as TARGETDIR
        !            64:   specified in the installation of PARI.
        !            65:
        !            66: --with-pari
        !            67:   This should be specified if PARI is to be linked.
        !            68:
        !            69: --enable-plot
        !            70:   This should be specified if plotting functions is necessary.
        !            71:
        !            72: % gzip -dc asir-head.tgz | tar xvf -
1.1       noro       73: % cd asir2000
1.9     ! noro       74: % configure --prefix=TARGETDIR                         <- without plot and PARI
        !            75: % configure --prefix=TARGETDIR --enable-plot         <- with plot, without PARI
        !            76: % configure --prefix=TARGETDIR --with-pari --enable-plot  <- with plot and PARI
1.1       noro       77: % make
1.9     ! noro       78: // Become the root if necessary
        !            79: % su
1.1       noro       80: # make install
1.2       noro       81: # make install-lib
                     82: # make install-doc
1.1       noro       83: # exit
                     84: %
                     85:
                     86: 3. Environment variables
                     87:
1.4       noro       88: If ASIR_LIBDIR is already set, unset it.
1.1       noro       89:
1.9     ! noro       90: 4. Manuals
1.1       noro       91:
1.9     ! noro       92: The file asir-doc.tgz contains dvi files and HTML manuals.
1.1       noro       93:
1.4       noro       94: % gzip -dc asir-doc.tgz | tar xvf -

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>