#7021: [with patch; needs review] Update prereq from 0.3 to 0.4
-------------------------+--------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.1.2
Component: build | Keywords:
Reviewer: | Author: David Kirkby, Minh Nguyen
Merged: |
-------------------------+--------------------------------------------------
Changes (by newvalueoldvalue):
* cc: mvngu (added)
* author: David Kirkby => David Kirkby, Minh Nguyen
Comment:
Thank you to Minh for tidying this up a bit. I've made a few changes to
it, though have kept the version number the same. The revised version can
be found at
http://sage.math.washington.edu/home/kirkby/Solaris-fixes/prereq-0.4/
The script prereq-0.4-install must have execute permission.
'''Please use the version at http://sage.math.washington.edu/home/kirkby
/Solaris-fixes/prereq-0.4/ and not the files attached here.'''
* Check's for the program 'ar' as that is needed.
* Inform a user there is no support for Cygwin, but there is active work
to support Cygwin.
* More complex testing of the compiler version, and what it does. This
should help anyone wishing to fix ratpoints, without risking allowing
anyone to mess up their build, unless they are blind!
* Exits with a message gcc is too old if the gcc version is below 3.4.0
* Exits with a message the compiler is too buggy, if the gcc version is
4.0.0
* Warns the user that gcc will not build Sage, but allows the build to
continue for gcc 3.4.x. This will allow ratpoints to be debugged, without
allowing a casual user to build with a gcc 3.4.x by mistake.
* Allows the build to continue if gcc is version 4.0.1 or later.
* Credits William with writing the version 0.3 of prereq.
* No longer checks for 'xtar' it was a leftover by mistake.
* No longer checks if the linker is the GNU linker or not. My check was
not reliable and I'll wait until I have something better before adding
that.
* Makes the message about using the latest XCode on Darwin a bit more
obvious - before it could easily have been missed.
If anyone else can think of any sanity checks that need to be made, then
these can perhaps be added. But I'd like to get this into Sage asap, as
this code really does help find lots of bugs in Sage, as it allows one to
try building Sage with the Sun compiler, which uncovers all sorts of bugs.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7021#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---