source: git/Singular/INSTALL @ 6f2edc

spielwiese
Last change on this file since 6f2edc was 6d09c56, checked in by Olaf Bachmann <obachman@…>, 27 years ago
Mon Apr 28 21:00:07 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> * Added README, INSTALL, COPYING file to distribution * tesths.cc (main): slightly changed Singular banner; fixed display of version number git-svn-id: file:///usr/local/Singular/svn/trunk@204 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 are:
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
82Compilers and Options
83=====================
84
85You need an ANSI-C++ and ANSI-C compiler for compiling Singular. We
86strongly recommend that you use the GNU C/C++ (gcc) compiler. If you
87have gcc installed on your system, configure will automatically find
88and use it for building Singular. Otherwise, configure will try to
89find another ANSI-C and ANSI-C++ compiler. To use explicitely use an
90alternative compiler, or to set some unusual options for compilation
91or linking that the `configure' script does not know about, you can
92give `configure' initial values for variables by setting them in the
93environment.  Using a Bourne-compatible shell, you can do that on the
94command line like this:
95     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
96     CXX=CC CXXFLAGS=+O3 LIBS=-liostream ./configure
97
98Or on systems that have the `env' program, you can do it like this:
99     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
100
101
102Installation Names
103==================
104
105By default, `make install' will install the Singular program in
106`/usr/local/bin', Singular's info files in `/usr/local/info', and
107Singular's program libraries in '/usr/local/share'.  You can
108specify an installation prefix other than `/usr/local' by giving
109`configure' the option `--prefix=PATH'. You can specify an alternative
110directory where the Singular program is installed by giving configure
111the option `--bindir=PATH'. For Singular's info files, use
112'--infodir=PATH' and for Singular's program libraries, use
113'--datadir=PATH'. Make sure that PATH is an _absolute_ (not relative)
114pathname.
115
116
117Optional Features
118=================
119
120Singular's configure script pays attention to the following
121`--with-PACKAGE' options where PACKAGE can be:
122
123  'readline' : Uses the readline library for some fancy display.
124               Requires that libreadline.a and the readline header
125               files are installed on your system. If these files were
126               not found, then Singular is build without readline.
127
128  'gmp'      : Uses the gmp (Gnu Multiple Precision) library for
129               integer arithmetic. Requires that libgmp.a and gmp.h
130               are installed on your system. If these files were not
131               found, then Singular is buid with its internal integer
132               arithmetic which is not as fast as the arithmetic
133               provided by gmp.
134
135  'dbm'      : Uses the dbm library for DBM links. Requires that
136               libdbm.a or libgdbm.a is installed on your system. If
137               this library is not found, then Singular is built
138               without DBM and DBM links are disabled.
139
140  'MP'       : Uses the MP library for MP links. Requires that
141               libgmp.a, libMP.a, libMPT.a and gmp.h, MP.h, MPT.h are
142               installed on your system. If these files are not found,
143               then Singular is built without MP, and MP links ar disabled.
144
145  'factory'  : Uses the Factory library for polynomial
146               factorizations. Requires that libsingcf.a, factory.h
147               and the factory template files are installed on your
148               system. If these files are not found, then Singular is
149               built without factory, and polynomail factorization
150               routines are disabled.
151
152  'libfac'   : Uses the libfac library for characteristic set
153               computations. Requires libsingfac.a and libfac.h to be
154               installed on your system. If these files are not found,
155               then Singular is built without libfac and
156               characteristic set routines are disabled.
157
158By default, configure runs as if all the above '--with-PACKAGE'
159options were given and searches through the given includedir and the
160system's default include directories for header files, and through the
161given libdir and through the system's default library directory for
162the library files. If one of the requirements for a PACKAGE is not
163met, Singular, configure prints a warning message and builds Singular
164without the respective PACKAGE, disabling its functionality. To
165explicitly built Singular without one of the above PACKAGEs, give
166configure (an) appropriate '--without-PACKAGE' option(s). See the
167README file about instructions on how to obtain the above PACKAGEs.
168
169
170System Requirements
171===================
172
173The following requirements have to be met by your system, so that you
174can build Singular:
175  1. The condition (sizeof(int) == 4) has to be true.
176  2. The condition (sizeof(void*) == sizeof(long)) has to be true.
177  3. The condition (-2 >> 1 == -1) has to be true.
178  4. The headers limits.h and unistd.h have to be installed.
179  5. The standard C headers and libraries have to be installed.
180
181
182Operation Controls
183==================
184
185   `configure' recognizes the following options to control how it
186operates.
187
188`--cache-file=FILE'
189     Use and save the results of the tests in FILE instead of
190     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
191     debugging `configure'.
192
193
194`--quiet'
195`--silent'
196`-q'
197     Do not print messages saying which checks are being made.
198
199`--version'
200     Print the version of Autoconf used to generate the `configure'
201     script, and exit.
202
203`--help'
204     Prints  the following summary of the options to `configure', and exits.
205
206Usage: configure [options] [host]
207Options: [defaults in brackets after descriptions]
208Configuration:
209  --cache-file=FILE       cache test results in FILE
210  --help                  print this message
211  --no-create             do not create output files
212  --quiet, --silent       do not print `checking...' messages
213  --version               print the version of autoconf that created configure
214Directory and file names:
215  --prefix=PREFIX         install architecture-independent files in PREFIX
216                          [/mnt/amd/users/urmel/singular/obachman/Singular/Singular/..]
217  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
218                          [same as prefix]
219  --bindir=DIR            user executables in DIR [EPREFIX/bin]
220  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
221  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
222  --datadir=DIR           read-only architecture-independent data in DIR
223                          [PREFIX/share]
224  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
225  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
226                          [PREFIX/com]
227  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
228  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
229  --includedir=DIR        C header files in DIR [PREFIX/include]
230  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
231  --infodir=DIR           info documentation in DIR [PREFIX/info]
232  --mandir=DIR            man documentation in DIR [PREFIX/man]
233  --srcdir=DIR            find the sources in DIR [configure dir or ..]
234  --program-prefix=PREFIX prepend PREFIX to installed program names
235  --program-suffix=SUFFIX append SUFFIX to installed program names
236  --program-transform-name=PROGRAM
237                          run sed PROGRAM on installed program names
238Host type:
239  --build=BUILD           configure for building on BUILD [BUILD=HOST]
240  --host=HOST             configure for HOST [guessed]
241  --target=TARGET         configure for TARGET [TARGET=HOST]
242Features and packages:
243  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
244  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
245  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
246  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
247  --x-includes=DIR        X include files are in DIR
248  --x-libraries=DIR       X library files are in DIR
249--enable and --with options recognized:
250  --without-readline   do not use readline for fancy display
251  --without-gmp        do not use gmp library
252  --without-MP         do not use MP (disables MP links)
253  --without-dbm        do not use dbm (disables DBM links)
254  --without-dld        do not use dld (disables dynamic linking)
255  --without-factory    do not use factory (disables poly factorization)
256  --without-libfac     do not use libfac (disables primary decompositions)
257
Note: See TracBrowser for help on using the repository browser.