Annotation of OpenXM_contrib2/asir2018/INSTALL, Revision 1.1
1.1 ! noro 1: Installation of Asir2000 (standalone version; 2006.8.15)
! 2:
! 3: Any question is welcome by e-mails to noro@math.kobe-u.ac.jp.
! 4:
! 5: 0. Compiler
! 6:
! 7: On SPARC, gcc is used. Set the search path so that
! 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:
! 16: In the install directory, the following subdirectories are put:
! 17:
! 18: bin executables of PARI and asir
! 19: lib library files of PARI and asir
! 20: include header files of PARI
! 21:
! 22: These subdirectories are created automatically if they does not exist.
! 23: If you can be a root, it is recommended to set the install directory
! 24: to '/usr/local'. In the following the directory is denoted by TARGETDIR.
! 25:
! 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:
! 32: 2. Installation of pari
! 33:
! 34: % gzip -dc pari.tgz | tar xvf -
! 35: % cd pari
! 36: % ./Configure --prefix=TARGETDIR
! 37: % make all
! 38: % su <-- if necessary
! 39: # make install
! 40: # make install-lib-sta
! 41: # exit
! 42: %
! 43:
! 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:
! 58: 3. Installation of asir2000
! 59:
! 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 -
! 73: % cd asir2000
! 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
! 77: % make
! 78: % su <- if necessary
! 79: # make install
! 80: # make install-lib
! 81: # make install-doc
! 82: # exit
! 83: %
! 84:
! 85: 3. Environment variables
! 86:
! 87: If ASIR_LIBDIR is already set, unset it.
! 88:
! 89: 4. Manuals
! 90:
! 91: The file asir-doc.tgz contains dvi files and HTML manuals.
! 92:
! 93: % gzip -dc asir-doc.tgz | tar xvf -
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>