source: git/Singular/INSTALL @ 126cfa

spielwiese
Last change on this file since 126cfa was 126cfa, checked in by Olaf Bachmann <obachman@…>, 27 years ago
Sun May 4 11:14:44 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> * Added make target mpcheck; Update INSTALL file * mpsr_PutPoly.cc (PutRationalNumber): Normalize if number->s == 0 and not if number->s == 2 * mpsr_GetPoly.cc (GetGaloisNumber): Introduced special routines, since npInit op in GetModuloNumber messed things up git-svn-id: file:///usr/local/Singular/svn/trunk@234 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 11.7 KB
Line 
1                         Singular version 1.0
2                     University of Kaiserslautern
3     Department of Mathematics (or, Centre for Computer Algebra)
4          Authors: G.-M. Greuel, G. Pfister, H. Schoenemann
5                  (C) 1986-1997 All Rights Reserved
6
7                INSTALLATION INSTRUCTIONS FOR SINGULAR
8                ======================================
9
10This file contains instructions on how to install Singular. For
11general information about Singular, see the file 'README' contained in this
12directory. For copying informations, see the file 'COPYING' contained
13in this directory. For comments, problems or bugs, please send mail to
14singular@mathematik.uni-kl.de. If you receive this file as part of a
15complete Singular distribution, see also the README, COPYING, and
16INSTALL files contained in the top directory of the full Singular
17distribution.
18
19
20Basic Installation
21==================
22
23
24The `configure' shell script in this directory attempts to guess
25correct values for various system-dependent variables used during
26compilation.  It uses those values to create the `Makefile' from the
27file 'Makefile.in' and the file 'mod2.h' (which contains
28system-dependent definitions) from the file 'mod2.h.in'. Finally, it
29creates a shell script `config.status' that you can run in the future
30to recreate the current configuration, a file `config.cache' that
31saves the results of its tests to speed up reconfiguring, and a file
32`config.log' containing compiler output (useful mainly for debugging
33`configure').
34
35The file `configure.in' is used to create `configure' by a program
36called `autoconf'.  You only need `configure.in' if you want to change
37it or regenerate `configure' using a newer version of `autoconf'.
38
39The simplest way to compile Singular is:
40
41  1. `cd' to the directory containing the Singular's source code and type
42     `./configure' to configure the package for your system.  If you're
43     using `csh' on an old version of System V, you might need to type
44     `sh ./configure' instead to prevent `csh' from trying to execute
45     `configure' itself.
46
47     Running `configure' takes awhile.  While running, it prints some
48     messages telling which features it is checking for.
49
50  2. Type `make' to compile Singular.
51
52  3. Optionally, type `make check' to run the self-tests that come with
53     the Singular (in the subdirectory tests).
54
55  4. Type `make install' to install the (executable) Singular program,
56     Singular's info files (from the subdirectory docs), and
57     Singular's program libraries written in Singular's
58     architecture-independent and interpreted programming language
59     (from the subdirectory LIB).
60
61  5. You can remove the program binaries and object files from the
62     source code directory by typing `make clean'.  To also remove the
63     files that `configure' created (so you can compile the package for
64     a different kind of computer), type `make distclean'.  There is
65     also a `make maintainer-clean' target, but that is intended mainly
66     for the package's developers.  If you use it, you may have to get
67     all sorts of other programs in order to regenerate files that came
68     with the distribution.
69
70  6. Other make targets include:
71     'dist'      : Creates a distribution of all source files of
72                   Singular.
73     'TAGS'      : Creates/updates a tags table for Singular's source
74                   files.
75     'info'      : Regenerates Singular's Info file.
76     'dvi'       : Generates the file docs/Singular.dvi -- a DVI file
77                   of Singular's user manual
78     'uninstall' : Deletes all installed files that the 'install'
79                   target created (i.e. Singular's executable program,
80                   Singular's info file, and Singular's libraries)
81     'check'     : Tests basic Singular functionality
82
83Compilers and Options
84=====================
85
86You need an ANSI-C++ and ANSI-C compiler for compiling Singular. We
87strongly recommend that you use the GNU C/C++ (gcc) compiler. If you
88have gcc installed on your system, configure will automatically find
89and use it for building Singular. Otherwise, configure will try to
90find another ANSI-C and ANSI-C++ compiler. To use explicitely use an
91alternative compiler, or to set some unusual options for compilation
92or linking that the `configure' script does not know about, you can
93give `configure' initial values for variables by setting them in the
94environment.  Using a Bourne-compatible shell, you can do that on the
95command line like this:
96     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
97     CXX=CC CXXFLAGS=+O3 LIBS=-liostream ./configure
98
99Or on systems that have the `env' program, you can do it like this:
100     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
101
102
103Installation Names
104==================
105
106By default, `make install' will install the Singular program in
107`/usr/local/bin', Singular's info files in `/usr/local/info', and
108Singular's program libraries in '/usr/local/share'.  You can
109specify an installation prefix other than `/usr/local' by giving
110`configure' the option `--prefix=PATH'. You can specify an alternative
111directory where the Singular program is installed by giving configure
112the option `--bindir=PATH'. For Singular's info files, use
113'--infodir=PATH' and for Singular's program libraries, use
114'--datadir=PATH'. Make sure that PATH is an _absolute_ (not relative)
115pathname.
116
117
118Optional Features
119=================
120
121Singular's configure script pays attention to the following
122`--with-PACKAGE' options where PACKAGE can be:
123
124  'readline' : Uses the readline library for some fancy display.
125               Requires that libreadline.a and the readline header
126               files are installed on your system. If these files were
127               not found, then Singular is build without readline.
128
129  'gmp'      : Uses the gmp (Gnu Multiple Precision) library for
130               integer arithmetic. Requires that libgmp.a and gmp.h
131               are installed on your system. If these files were not
132               found, then Singular is buid with its internal integer
133               arithmetic which is not as fast as the arithmetic
134               provided by gmp.
135
136  'dbm'      : Uses the dbm library for DBM links. Requires that
137               libdbm.a or libgdbm.a is installed on your system. If
138               this library is not found, then Singular is built
139               without DBM and DBM links are disabled.
140
141  'MP'       : Uses the MP library for MP links. Requires that
142               libgmp.a, libMP.a, libMPT.a and gmp.h, MP.h, MPT.h are
143               installed on your system. If these files are not found,
144               then Singular is built without MP, and MP links ar disabled.
145
146  'factory'  : Uses the Factory library for polynomial
147               factorizations. Requires that libsingcf.a, factory.h
148               and the factory template files are installed on your
149               system. If these files are not found, then Singular is
150               built without factory, and polynomail factorization
151               routines are disabled.
152
153  'libfac'   : Uses the libfac library for characteristic set
154               computations. Requires libsingfac.a and libfac.h to be
155               installed on your system. If these files are not found,
156               then Singular is built without libfac and
157               characteristic set routines are disabled.
158
159By default, configure runs as if all the above '--with-PACKAGE'
160options were given and searches through the given includedir and the
161system's default include directories for header files, and through the
162given libdir and through the system's default library directory for
163the library files. If one of the requirements for a PACKAGE is not
164met, Singular, configure prints a warning message and builds Singular
165without the respective PACKAGE, disabling its functionality. To
166explicitly built Singular without one of the above PACKAGEs, give
167configure (an) appropriate '--without-PACKAGE' option(s). See the
168README file about instructions on how to obtain the above PACKAGEs.
169
170
171System Requirements
172===================
173
174The following requirements have to be met by your system, so that you
175can build Singular:
176  1. The condition (sizeof(int) == 4) has to be true.
177  2. The condition (sizeof(void*) == sizeof(long)) has to be true.
178  3. The condition (-2 >> 1 == -1) has to be true.
179  4. The headers limits.h and unistd.h have to be installed.
180  5. The standard C headers and libraries have to be installed.
181
182
183Operation Controls
184==================
185
186   `configure' recognizes the following options to control how it
187operates.
188
189`--cache-file=FILE'
190     Use and save the results of the tests in FILE instead of
191     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
192     debugging `configure'.
193
194
195`--quiet'
196`--silent'
197`-q'
198     Do not print messages saying which checks are being made.
199
200`--version'
201     Print the version of Autoconf used to generate the `configure'
202     script, and exit.
203
204`--help'
205     Prints  the following summary of the options to `configure', and exits.
206
207Usage: configure [options] [host]
208Options: [defaults in brackets after descriptions]
209Configuration:
210  --cache-file=FILE       cache test results in FILE
211  --help                  print this message
212  --no-create             do not create output files
213  --quiet, --silent       do not print `checking...' messages
214  --version               print the version of autoconf that created configure
215Directory and file names:
216  --prefix=PREFIX         install architecture-independent files in PREFIX
217                          [/mnt/amd/users/urmel/singular/obachman/Singular/Singular/..]
218  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
219                          [same as prefix]
220  --bindir=DIR            user executables in DIR [EPREFIX/bin]
221  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
222  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
223  --datadir=DIR           read-only architecture-independent data in DIR
224                          [PREFIX/share]
225  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
226  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
227                          [PREFIX/com]
228  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
229  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
230  --includedir=DIR        C header files in DIR [PREFIX/include]
231  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
232  --infodir=DIR           info documentation in DIR [PREFIX/info]
233  --mandir=DIR            man documentation in DIR [PREFIX/man]
234  --srcdir=DIR            find the sources in DIR [configure dir or ..]
235  --program-prefix=PREFIX prepend PREFIX to installed program names
236  --program-suffix=SUFFIX append SUFFIX to installed program names
237  --program-transform-name=PROGRAM
238                          run sed PROGRAM on installed program names
239Host type:
240  --build=BUILD           configure for building on BUILD [BUILD=HOST]
241  --host=HOST             configure for HOST [guessed]
242  --target=TARGET         configure for TARGET [TARGET=HOST]
243Features and packages:
244  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
245  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
246  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
247  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
248  --x-includes=DIR        X include files are in DIR
249  --x-libraries=DIR       X library files are in DIR
250--enable and --with options recognized:
251  --without-readline   do not use readline for fancy display
252  --without-gmp        do not use gmp library
253  --without-MP         do not use MP (disables MP links)
254  --without-dbm        do not use dbm (disables DBM links)
255  --without-dld        do not use dld (disables dynamic linking)
256  --without-factory    do not use factory (disables poly factorization)
257  --without-libfac     do not use libfac (disables primary decompositions)
258
Note: See TracBrowser for help on using the repository browser.