Ticket #8806 (closed enhancement: fixed)
update the README.txt in sage-4.4.1 to reflect improved platform and compiler support
| Reported by: | was | Owned by: | mvngu |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-4.4.1 |
| Component: | documentation | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Minh Van Nguyen |
| Authors: | William Stein | Merged in: | sage-4.4.1.final |
| Dependencies: | Stopgaps: |
Description
With that in mind, you should probably change README.txt. It is
woefully out of date, and not tracked by HG as far as I can tell.
E.g.,
NOT OFFICIALLY SUPPORTED, BUT NEARLY WORKS
------------------------------------------
PROCESSOR OPERATING SYSTEM
SPARC Solaris 10 -- nearly works
x86 Apple Mac OS X 10.6.x (64-bit) -- see trac #7095.
x86_64 Solaris 10 -- does not work
x86_64 Apple Mac OS X 10.5.x (64-bit) -- needs 64-bit gFortran
instead of g95
It should also say something about removing /sw from your PATH on Mac.
Karl-Dieter
Attachments
Change History
comment:1 Changed 3 years ago by was
- Status changed from new to needs_review
- Milestone changed from sage-4.4.2 to sage-4.4.1
comment:2 Changed 3 years ago by mvngu
- Status changed from needs_review to closed
- Reviewers set to Minh Van Nguyen
- Resolution set to fixed
- Authors set to William Stein
Here's the diff between the README.txt in Sage 4.4 and the one in Sage 4.4.1:
-
README-4.4.
old new 5 5 6 6 ./sage 7 7 8 from the command line and you are good to go. If you downloaded the sources,9 please readbelow on how to build Sage and work around common issues.8 from the command line. If you downloaded the sources, please read 9 below on how to build Sage and work around common issues. 10 10 11 11 12 12 --------------------------------------------------------------------------- … … 17 17 Magma, Maple, Mathematica, and Matlab" 18 18 19 19 Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 20 William Stein and The Sage Development Team20 William Stein and the Sage Development Team 21 21 22 22 Distributed under the terms of the GNU General Public License (GPL) 23 23 … … 27 27 28 28 http://groups.google.com/group/sage-support 29 29 30 AUTHORS: Over 150 people have contributed code to Sage. Please see30 AUTHORS: Over 200 people have contributed code to Sage. Please see 31 31 one of the websites above for a list. In many cases, documentation 32 32 for modules and functions list the authors. 33 33 … … 40 40 The following steps briefly outline the process of building Sage from 41 41 source. See below for more detailed instructions. 42 42 43 1. Make sure you have the dependencies and 2 GB of free disk space.43 1. Make sure you have the dependencies and 2.5 GB of free disk space. 44 44 45 45 Linux (install these using your package manager): 46 46 … … 89 89 Building of Sage from source is regularly tested on (minimal installs 90 90 of) the following platforms: 91 91 92 PROCESSOR OPERATING SYSTEM 93 x86 32-bit Linux -- Debian, Ubuntu, CentOS (=Red Hat), 94 Fedora, openSUSE, Mandriva 95 x86_64 64-bit Linux -- Debian, Ubuntu, CentOS (=Red Hat), 96 Fedora, openSUSE, Mandriva 97 IA-64 Itanium 2 64-bit Linux -- Red Hat, SUSE 98 x86 Apple Mac OS X 10.5.x 99 PPC Apple Mac OS X 10.5.x 92 PROCESSOR OPERATING SYSTEM 93 x86 32-bit Linux -- Debian, Ubuntu, CentOS (=Red Hat), 94 Fedora, openSUSE, Mandriva, Arch 95 x86_64 64-bit Linux -- Debian, Ubuntu, CentOS (=Red Hat), 96 Fedora, openSUSE, Mandriva, Arch 97 IA-64 Itanium 2 64-bit Linux -- Red Hat, SUSE 98 x86 Apple Mac OS X 10.5.x, 10.6.x 99 PPC Apple Mac OS X 10.5.x, 10.6.x 100 Sparc Solaris 10 100 101 101 Use Sage on Microsoft Windows via V irtualBox. We do not always test on102 OS X 10.4, but Sage should work there fine.102 Use Sage on Microsoft Windows via VMware. Active work to port Sage to 103 Cygwin (Windows) is in progress. 103 104 105 NOTE: Sage-4.4 worked on OS X 10.4, but Sage-4.4.1 doesn't. 104 106 105 107 NOT OFFICIALLY SUPPORTED, BUT NEARLY WORKS 106 108 ------------------------------------------ 107 109 108 PROCESSOR OPERATING SYSTEM 109 SPARC Solaris 10 -- nearly works 110 x86 Apple Mac OS X 10.6.x (64-bit) -- see trac #7095. 111 x86_64 Solaris 10 -- does not work 112 x86_64 Apple Mac OS X 10.5.x (64-bit) -- needs 64-bit gFortran 113 instead of g95 110 PROCESSOR OPERATING SYSTEM 111 x86_64 Solaris 10 -- does not work yet 114 112 115 113 116 114 NOT SUPPORTED 117 115 ------------- 118 116 119 * AIX 120 * Arch Linux 121 * FreeBSD 122 * Gentoo Linux 123 * HP-UX 124 * Microsoft Windows (via Cygwin) 125 * Microsoft Windows (via Visual Studio C++) 126 * OpenSolaris (aka Solaris 11). A port will be completed in 2010. 117 * AIX 118 * FreeBSD 119 * Gentoo Linux -- though Sage will probably work fine 120 * HP-UX 121 * Microsoft Windows (via Cygwin) -- active port in progress 122 * Microsoft Windows (via Visual Studio C++) 123 * OpenSolaris 127 124 128 125 There is some effort to port Sage to FreeBSD and HP-UX. We like all of 129 126 the above operating systems, but just haven't had the time to make … … 138 135 FORTRAN 139 136 ------- 140 137 141 If you are using Fortran on a platform for which Sage does not include 142 g95 binaries, you must use a system-wide gFortran. For example, Solaris 143 10 does not ship with any Fortran binaries. You need to explicitly 144 tell the Sage build process about the Fortran compiler and library 145 location. Do this by typing 138 To build Sage on any platform except OS X, you must use a system-wide 139 gfortran compiler. Sometimes you need to explicitly tell the Sage 140 build process about the Fortran compiler and library location. Do this 141 by typing 146 142 147 143 export SAGE_FORTRAN=/exact/path/to/gfortran 148 144 export SAGE_FORTRAN_LIB=/path/to/fortran/libs/libgfortran.so … … 163 159 -------------- 164 160 165 161 Sage has significant components written in the following languages: 166 C/C++, Python, Lisp, and Fortran. Lisp and Python are built as part of167 Sage and Fortran (g95) is included (x86 Linux and OS X only), so you 168 do not need them in order to build Sage.162 C/C++, Python, Cython, Lisp, and Fortran. Lisp (ECL) and Python are 163 built as part of Sage and a GNU Fortran (gfortran) binary is included 164 (OS X only), so you do not need them in order to build Sage. 169 165 170 166 171 167 MORE DETAILED INSTRUCTIONS TO BUILD FROM SOURCE 172 168 ----------------------------------------------- 173 169 174 1. Make sure you have about 2 GB of free disk space.170 1. Make sure you have about 2.5 GB of free disk space. 175 171 176 172 2. Linux: Install GCC, g++, m4, ranlib, and make. The build should 177 173 work fine on openSUSE, Fedora, Ubuntu, etc. If it doesn't, we want … … 256 252 SUPPORTED COMPILERS 257 253 ------------------- 258 254 259 * Sage builds with GCC >= 3.x, GCC >= 4.0.1, and GCC >= 4.1.x. 260 * Sage will not build with GCC 2.9.x. 261 * WARNING: Don't build with GCC 4.0.0, which is very buggy. 262 * Sage has never been built without using GCC compiler. 263 264 265 RUNNING SAGE 266 ------------ 267 268 1. Try running Sage: 269 270 ./sage 271 272 2. Try running an example Sage script: 273 274 ./sage example.sage 255 * Sage builds with GCC >= 3.x, GCC >= 4.0.1, and GCC >= 4.1.x. 256 * Sage will not build with GCC 2.9.x. 257 * WARNING: Don't build with GCC 4.0.0, which is very buggy. 258 * Sage has never been built without using the GCC compiler. 275 259 276 260 277 261 RELOCATION … … 308 292 installed by typing "sage -bdist x.y.z". The result is placed in 309 293 the SAGE_ROOT/dist directory. 310 294 311 3. Fat Binaries: This *does not* work at all yet (as of Nov 14, 2009). 312 To make a binary that will run on the widest range of target 313 machines, set the SAGE_FAT_BINARY environment variable to "yes" 314 before building Sage: 295 3. Fat Binaries: To make a binary that will run on the widest range of 296 target machines, set the SAGE_FAT_BINARY environment variable to 297 "yes" before building Sage: 315 298 316 299 export SAGE_FAT_BINARY="yes" 317 300 make … … 322 305 ---------------------------- 323 306 324 307 All software included with Sage is copyright by the respective authors 325 and released under an open source license that is GPL compatible. See 326 the file COPYING.txt for more details. (NOTE: jsMath is licensed 327 under the Apache license. Apache claim their license is GPL 328 compatible, but Stallman disagrees.) 308 and released under an open source license that is "GPL version 3 or 309 later"q compatible. See the file COPYING.txt for more details. 329 310 330 311 Each spkg in SAGE_ROOT/spkg/standard/ is a bzip'd tarball. You can 331 312 extract it with
The changes are OK. But I don't understand why there's a "q" appended to the word "later". That is, this line:
+later"q compatible. See the file COPYING.txt for more details.
If it's a typo, it is a trivial typo that can be fixed in Sage 4.4.2. Anyway, the updated README.txt fixes many issues at #7484.
Note: See
TracTickets for help on using
tickets.

