1 | Singular version <x-y-z> |
---|
2 | University of Kaiserslautern |
---|
3 | Department of Mathematics Centre for Computer Algebra |
---|
4 | Authors: G.-M. Greuel, G. Pfister, H. Schoenemann |
---|
5 | (C) 1986-1999 All Rights Reserved |
---|
6 | |
---|
7 | UNIX INSTALLATION INSTRUCTIONS FOR SINGULAR |
---|
8 | ============================================ |
---|
9 | To install Singular on a Unix platform, you need the following two |
---|
10 | archives: |
---|
11 | |
---|
12 | Singular-<x-y-z>-share.tar.gz (or, Singular-<x-y-z>-share.zip) |
---|
13 | -- contains architecture independent data like documentation and libraries |
---|
14 | Singular-<x-y-z>-<uname>.tar.gz |
---|
15 | -- contains architecture dependent executables, like the Singular program |
---|
16 | |
---|
17 | where <uname> is a description of the processor and operating system |
---|
18 | for which Singular is compiled (e.g, ix86-Linux). Please contact us if |
---|
19 | you can not find an appropriate architecture-dependent archive. |
---|
20 | |
---|
21 | You can obtain these files from |
---|
22 | ftp://www.mathematik.uni-kl.de/pub/Math/Singular/ |
---|
23 | |
---|
24 | |
---|
25 | IMPORTANT |
---|
26 | ========= |
---|
27 | Please see the file COPYING contained in the distribution for license |
---|
28 | information on Singular. In particular, notice that we only grant you |
---|
29 | permission to use Singular if you have registered yourself as a |
---|
30 | Singular user by sending email to <singular@mathematik.uni-kl.de> |
---|
31 | with the subject line (or, mail body) `register'. |
---|
32 | |
---|
33 | |
---|
34 | TO INSTALL SINGULAR |
---|
35 | =================== |
---|
36 | (0) You need appr. 10MByte of free disk space to unpack the archives. |
---|
37 | |
---|
38 | (1) Simply change to the directory in which you wish to install |
---|
39 | Singular (usually wherever you install 3rd-party software): |
---|
40 | |
---|
41 | cd /usr/local/ |
---|
42 | |
---|
43 | Singular specific subdirectories will be created in such a way |
---|
44 | that multiple versions and multiple architecture dependent files |
---|
45 | of Singular can peaceably coexist under the same `/usr/local/' |
---|
46 | tree. |
---|
47 | Messages from tar like "Could not create symlink to ..." |
---|
48 | can safely be ignored - they appaer only in the case that you install |
---|
49 | the same version of Singular twice. |
---|
50 | |
---|
51 | |
---|
52 | (2) Unpack the architecture dependent files: |
---|
53 | |
---|
54 | gzip -dc Singular-<x-y-z>-<uname>.tar.gz | tar -pxf - |
---|
55 | |
---|
56 | (3) Unpack the architecture independent files: |
---|
57 | If you downloaded Singular-<x-y-z>-share.tar.gz do: |
---|
58 | |
---|
59 | gzip -dc Singular-<x-y-z>-share.tar.gz | tar -pxf - |
---|
60 | |
---|
61 | Alternatively, if you downloaded Singular-<x-y-z>-share.zip do: |
---|
62 | |
---|
63 | unzip -u Singular-<x-y-z>-share.zip |
---|
64 | |
---|
65 | (4) [Optionally:] Arrange that typing 'Singular' at the shell prompt |
---|
66 | starts up the installed Singular executable. |
---|
67 | |
---|
68 | If you have root permission, do: |
---|
69 | |
---|
70 | ln -s `pwd`/Singular/<uname>/<x-y-z>/Singular /usr/local/bin/Singular |
---|
71 | |
---|
72 | Otherwise, append the dir `pwd`/Singular/<uname>/<x-y-z> to your $PATH |
---|
73 | environment variable. For the csh (or, tcsh) shell do: |
---|
74 | |
---|
75 | set path=(`pwd`/Singular/<uname>/<x-y-z> $path) |
---|
76 | |
---|
77 | For the bash (or, ksh) shell do: |
---|
78 | |
---|
79 | export PATH=`pwd`/Singular/<uname>/<x-y-z>:$PATH |
---|
80 | |
---|
81 | You also might want to adjust your personal start-up files accordingly, |
---|
82 | so that the PATH variable is set automatically each time you login. |
---|
83 | |
---|
84 | IMPORTANT: Do NEVER move or copy the file |
---|
85 | `./Singular/<uname>/<x-y-z>/Singular' to another place, but use |
---|
86 | soft-links instead. |
---|
87 | |
---|
88 | |
---|
89 | After unpacking, you will have a directory structure like: |
---|
90 | ./Singular/<uname>/<x-y-z>/ executable(s) |
---|
91 | ./Singular/LIB/<x-y-z>/ Singular libraries |
---|
92 | ./Singular/LIB/gftables/ Singular lookup tables |
---|
93 | ./Singular/doc/<x-y-z>/ documentation (ps, dvi, info) |
---|
94 | ./Singular/html/<x-y-z>/ documentation (html) |
---|
95 | ./Singular/README general information on Singular |
---|
96 | ./Singular/COPYING licence information |
---|
97 | ./Singular/INSTALL this file |
---|
98 | |
---|
99 | For the executable to work, the directory layout must look pretty much |
---|
100 | like this; the executable looks for "sibling" directories at run-time |
---|
101 | to figure out where its Singular libraries and on-line info |
---|
102 | documentation are. These constraints on the local directory layout |
---|
103 | are necessary to avoid having to hardcode pathnames into the |
---|
104 | executables, or require that environment variables be set before |
---|
105 | running the executable. In particular, you should not move or copy |
---|
106 | the Singular executables to another place, but use soft-links |
---|
107 | instead. See also the `TROUBLES' section below, if you run into any |
---|
108 | problems. |
---|
109 | |
---|
110 | |
---|
111 | TO INSTALL THE ON-LINE DOCUMENTATION |
---|
112 | ===================================== |
---|
113 | Singular needs the `info' program for its on-line documentation. If |
---|
114 | you do not have the `info' program installed on your system, you may |
---|
115 | obtain it from |
---|
116 | ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils/ |
---|
117 | by downloading the respective info-<uname>.tar.gz file. |
---|
118 | |
---|
119 | To install, simply cd to the directory where you unpacked the other |
---|
120 | tar files and then unpack the info tar file. |
---|
121 | |
---|
122 | cd /usr/local/ # i.e., wherever you have unpacked Singular tar files |
---|
123 | gzip -dc info-<uname>.tar.gz | tar -pxf - |
---|
124 | |
---|
125 | This adds |
---|
126 | ./<uname>/bin/info info program |
---|
127 | to the above directory structure and ensures that the `info' program |
---|
128 | is found at run-time. |
---|
129 | |
---|
130 | You also might want to add a Singular menu entry to the global info |
---|
131 | file of your system, such that the Singular on-line help can be |
---|
132 | accessed from the stand-alone `info' program or from the Emacs editor: |
---|
133 | (1) Add the line |
---|
134 | |
---|
135 | * Singular:(singular.hlp). A system for polynomial computations |
---|
136 | |
---|
137 | to your system `dir' file (usually `/usr/info/dir' or `/usr/local/info/dir') |
---|
138 | |
---|
139 | (2) Copy or soft-link the file ./Singular/doc/<x-y-z>/singular.hlp |
---|
140 | to the directory of your `dir' file. |
---|
141 | |
---|
142 | |
---|
143 | TROUBLES |
---|
144 | ========= |
---|
145 | |
---|
146 | * For HPUX systems: |
---|
147 | The /etc/termcap files which are pre-installed on these systems are |
---|
148 | broken which leads to messages like |
---|
149 | |
---|
150 | Name collision between 9826 9836 |
---|
151 | |
---|
152 | when Singular is started. To fix this, you can get fixed termcap |
---|
153 | files from |
---|
154 | ftp://www.mathematik.uni-kl.de/pub/Math/Singular/utils |
---|
155 | by downloading the files termcap-<uname-description> and either |
---|
156 | replace your /etc/termcap file by the file found there, or view, and |
---|
157 | redo the respective changes by diff'ing the downloaded and the |
---|
158 | original file. |
---|
159 | |
---|
160 | * For Linux systems: |
---|
161 | Due to some incompatibilities of shared libraries, the start-up of |
---|
162 | Singular might fail with messages like |
---|
163 | |
---|
164 | Can not find shared library .... |
---|
165 | |
---|
166 | To fix this, first delete the file |
---|
167 | ./Singular/<uname>/<x-y-z>/Singular |
---|
168 | |
---|
169 | and then download and install |
---|
170 | |
---|
171 | Singular-<x-y-z>-<uname>-static.tar.gz |
---|
172 | |
---|
173 | which contains statically linked executables. |
---|
174 | |
---|
175 | * For AIX systems: |
---|
176 | The default 'info' program of the system is not GNU's hypertext |
---|
177 | system which we need to display the on-line documentation. Therefore, |
---|
178 | the distribution of the AIX executable already contains the 'info' |
---|
179 | program we need. If you remove this program, make sure that the GNU |
---|
180 | info program is executed if you call 'info' from your shell. |
---|
181 | |
---|
182 | * General: Singular can not find its libraries or info-file: |
---|
183 | (1) Start up Singular, and issue the command `system("Singular");'. |
---|
184 | If this does not return the correct and expanded location of the |
---|
185 | Singular executable, then you found a bug in Singular, which we |
---|
186 | ask you to report (see below). |
---|
187 | (2) Check whether the directories containing the libraries and |
---|
188 | info-file can be found by Singular: If $bindir denotes the |
---|
189 | directory where the Singular executable resides, then Singular |
---|
190 | looks for library files as follows: |
---|
191 | 1.) All dirs specified by the environment variable SINGULARPATH |
---|
192 | 2.) $bindir/LIB |
---|
193 | 3.) $bindir/LIB/<x-y-z> |
---|
194 | 4.) $bindir/../../Singular/LIB |
---|
195 | 5.) $bindir/../../Singular/LIB/<x-y-z> |
---|
196 | 6.) /usr/local/Singular/LIB |
---|
197 | 7.) /usr/local/Singular/LIB/<x-y-z> |
---|
198 | The info-file, i.e., the file singular.hlp is looked for at the |
---|
199 | following places: |
---|
200 | 1.) $bindir/../doc |
---|
201 | 2.) $bindir/../info |
---|
202 | 3.) $bindir/../../Singular/doc/<x-y-z> |
---|
203 | 4.) $bindir/../../Singular/doc |
---|
204 | 5.) $bindir/../../info |
---|
205 | 6.) /usr/local/Singular/doc/<x-y-z> |
---|
206 | 7.) /usr/local/Singular/doc |
---|
207 | 8.) /usr/local/info |
---|
208 | 9.) All dirs where it looks for libraries. |
---|
209 | (3) As a last resort, you can set the environment variable |
---|
210 | SINGULARPATH, so that the directories containing the Singular |
---|
211 | libraries and info-files are contained in the value of |
---|
212 | SINGULARPATH. |
---|
213 | You can inspect the used SearchPath and info-file by starting up |
---|
214 | Singular with the `-v' option, or by issuing the command |
---|
215 | `system("with")'. Use colons (i.e., `:') for directory separators |
---|
216 | within the SINGULARPATH. |
---|
217 | |
---|
218 | * General: Singular can not find the `info' program: |
---|
219 | Install the info program on your system -- see the section |
---|
220 | "TO INSTALL THE ON-LINE DOCUMENTATION" above. |
---|
221 | |
---|
222 | * For any other troubles, please send mail to |
---|
223 | singular@mathematik.uni-kl.de |
---|
224 | and include the header which is displayed by starting up Singular |
---|
225 | with the `-v' option, and a description of your machine (issue the |
---|
226 | command `uname -a' on your shell) in your report. |
---|
227 | |
---|
228 | |
---|
229 | More information about Singular: Comments, Questions, Bug Reports |
---|
230 | ================================================================= |
---|
231 | |
---|
232 | More and up-to-date information about Singular is always available |
---|
233 | from |
---|
234 | http://www.mathematik.uni-kl.de/~zca/Singular |
---|
235 | We very much welcome any comments, questions, and bug reports. Please |
---|
236 | contact us at |
---|
237 | singular@mathematik.uni-kl.de |
---|
238 | |
---|
239 | |
---|
240 | GOOD LUCK and ENJOY! Your Singular team. |
---|