Changeset 43ab88 in git
- Timestamp:
- Jul 19, 2010, 10:09:14 AM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 378031f151cd465e83af6341324637b6d74403c1
- Parents:
- 044f7b9e8eee684268ecd739905e81b5cc83cb37
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-07-19 10:09:14+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:23+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README
r044f7b r43ab88 1 How to compile SINGULAR from sources 2 ************************************ 1 Rules for inlude files: 2 - include files from the current subdir via #include "abc.h" 3 - include header from other subdirs vai #include <def.h> 4 ( do NOT use a specific path - this may change!) 5 - include privtae header files via path: #include "../other_dir/ppp.h" 6 - should be avoided! 3 7 4 SINGULAR is a Computer Algebra system for polynomial computations with 5 special emphasize on the needs of commutative algebra, algebraic 6 geometry, singularity theory and polynomial system solving. For a more 7 detailed overview of SINGULAR, see 8 `http://www.singular.uni-kl.de/Overview/' 8 Classes of files 9 - public header: 10 - should be installed at a central place ($includedir) 11 - should itself only include other public headers 12 - private header: 13 - will not be installed at other places 14 - will (usually) only be included from that subdir 9 15 10 So far, there are only versions for Linux, HPUX, SunOS, IRIX, AIX,11 FreeBSD 4.x/5.x, MacOS X, and Windows 95/98/NT/2K/XP.12 13 Version 2-0-2 was the last version for MacOS 9.14 15 The Windows version also runs on Windows Vista, provided16 that "rebase all" was done after installing Cygwin.17 18 Note for Singular-3-0-x:19 Currently, there are only only "complete" archives: Singular-3-0-x-x.tar.gz20 which contain all needed files.21 22 Compiling SINGULAR for a Unix platform23 ======================================24 25 Make sure that you have approximately 120 MByte of free disk space and26 follow these steps.27 (the "optional" for bison applies to version 3-0-3-1 and later)28 29 1. Make sure that you have the following software (the list may be30 incomplete):31 1. general unix utilities: grep, test, sed, cp, mv, gzip,32 uudecode, ...33 34 2. autoconf35 36 3. gnu-make37 38 4. gcc, g++ (version 2.95.3 preferred, but gcc version 2.7.239 to 2.95.4, egcs 1.0.3 and 1.1.2 should work, gcc 2.96 does40 not work)41 gcc 3.0 does not work, gcc 3.1.x, gcc 3.2.x, gcc 3.3.x/3.4.x should42 gcc 4.x: beginnig with Singular-3-0-0-4, for some architectures43 beginning with Singular-3-0-2: for all architectures44 45 5. optional: if you want to change Singular/grammar.y:46 bison (version >= 1.2.2)47 (bison (GNU Bison) 1.75 seems not to work)48 (version 1.75 is supported in Singular 2-0-4a and newer)49 50 Remark:51 bison 1.875 on solaris produces code which gcc does not accept52 53 6. optional: if you want to change Singular/scanner.l54 or modules/modgen/scanner.l:55 flex (version >=2.4, <=2.5.4)56 57 7. perl (version >=5)58 59 8. library gmp (version >=3.1.1)60 (version 4.x.x is supported in Singular 2-0-4 and newer)61 62 9. library libncurses or libtermcap or libcurses63 64 10. (optional) library libreadline65 (required on linux glibc systems)66 67 11. (optional, required to build the documentation:)68 latex2html, tex, texi2html, texinfo69 (your latex2html should produce gif files, not png files)70 71 2. (optional, required for MP:)72 make sure that you can log in to your computer via rsh/remsh or73 ssh without a password (check .rhosts/.shosts);74 (in versions before 3-0-0: the75 configure script stops while checking this: if you cannot fix it,76 simply kill the rsh/ssh-processes - the configure will then77 disable this particulare feature)78 The following should work:79 rsh localhost uname80 ssh localhost uname81 rsh `hostname` uname82 ssh `hostname` uname83 84 3. You need to download all of the .tar.gz-files85 (since 3-0-0 we have only one large source .tar.gz-file)86 87 4. create a new working directory88 89 5. unpack all packages into that working directory90 91 6. (optional, for porting to a unknown machine:) fix ./singuname.sh92 not to report something unknown, but to recognize the machine93 94 7. run ./configure95 (try ./configure -help, ./omalloc/configure -help, ./MP/configure96 -help, ./factory/configure -help, ./Singular/configure -help for a97 list of all options of configure)98 99 BEWARE: some of the option are for testing only,100 they will usually not work in general:101 --with-Plural,--with-plural (you need a Singuilar version > 2.1.2 for this)102 (standard since version 3-0-0)103 --with-sgroup (you need the sgroup programs for this)104 --with-smallgmp (not maintained), removed in 3-0-0105 --with-namespaces (you need a Singuilar version > 2.1.x for this)106 (standard since version 3-0-0)107 108 109 8. make install (resp. gmake install - the make program must be110 GNU-Make) the make process will (hopefully) build:111 1. omalloc: the memry management routines (required)112 113 2. MP: Multi-Protocoll (optional)114 115 3. NTL (optional, but strongly recommended)116 117 4. factory and libfac118 (optional, but strongly recommended:119 some functionality will be lost if they are missing)120 121 5. kernel, Singular (Kernel, required)122 123 6. only for share-dist: doc124 (only possible, if all optional packages are included)125 126 7. only for share-dist: emacs (only possible, if doc was build)127 128 8. IntegerProgramming129 130 9. if you want to make any change in the directory Singular, run make131 depend there132 133 10. to install the resulting files at any other place in the system,134 run135 make bindist sharedist136 (sharedist can only be build if doc was build sucessfully) and137 install the resulting .tar.gz files as explained for the binary138 distribution139 The sharedist-result does not depend on your machine:140 so you can also download our version of it141 142 11. if you compiled Singular for a non-standard architecture and you143 are willing to share your porting effort, upload the changed144 sources and the resulting binaries to145 `ftp://www.mathematik.uni-kl.de/pub/Incoming' and send us an email146 about it (Singular@mathematik.uni-kl.de)147 148 12. bug-fixes or other improvements to the source code are welcome149 150 Notes for specific platforms151 ============================152 153 - Windows (Cygwin):154 ./configure -with-malloc=system155 Windows Vista:156 run157 rebaseall158 before trying anything else159 160 - MacOS X:161 you need a file values.h where MP can find it (we copied one from162 Linux)163 ./configure -with-malloc=system164 165 - FreeBSD 4.x/5.x:166 you need a file values.h where MP can find it (we copied one from167 Linux)168 ./configure -with-malloc=system169 170 - Solaris with CC/cc171 - you need to set CONFIG_SHELL to /bin/bash172 (/bin/sh misses some substitutions in the generated Makefiles)173 - set CC = "cc -xarch=v9"174 CXX = "CC -xarch=v9"175 CFLAGS = -O176 CXXFLAGS = -O2177 - configure with178 ./configure --without-dynamic-kernel --without-MP179 180 181 Compiling SINGULAR for a Non-Unix platform182 ==========================================183 184 This is a non-trivial task. Please contact us directly.185 (`mailto:Singular@mathematik.uni-kl.de')186 187 GOOD LUCK and ENJOY! Your SINGULAR team.188 189 190 Compiling SINGULAR with cmake191 =============================192 193 compiling SINGULAR with cmake is currently experimental and194 under development.195 Use it at your own risk! Parents are liable for their children!
Note: See TracChangeset
for help on using the changeset viewer.