#7352: Update prereq to version 0.5
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.2.1
Component: build | Keywords:
Work_issues: | Author: David Kirkby
Reviewer: | Merged:
------------------------+---------------------------------------------------
Following my recent updates of the code for checking the prerequisites for
Sage are present (#7021), here is a further refinement. Changes are:
'''Changes to configure.ac'''
* Insists that the ''configure'' script is created using autoconf 2.63 or
later.
* Checks for ''latex'' and issues a gentle warning if it's not found, but
makes it clear that ''latex'' is not essential.
* Exits if gcc is not used as the C compiler, but g++ is used as the C++
compiler. (In ''prereq-0.4'' an error message was generated if if gcc was
used as the C compiler, but not g++ was not used as the C++ compiler. This
addresses the other mixture, which I'd overlooked before).
* Issues a warning that Solaris is unsupported on version <10.
* If sun4c or sun4m hardware is used, it reports it is not possible to
update to Solaris 10, and so problems might exist.
* If other Sun hardware is used, it advises people to update unless
they have reasons for needing an old release of Solaris.
* Issues a warning that Darwin is too old on 5.x, 5.x.y, 6.x, 6.x.y, 7.x
and 7.x.y. It states the oldest version of OS X on which Sage has been
built is 10.4 (Tiger). The information about the relationship between
Darwin and OS X is taken from
http://en.wikipedia.org/wiki/Darwin_(operating_system)
* Exits if ''bash'' can not be found.
* Suggests ''bash'' might be found in /opt/OpenSource/bin/ if the
operating system is HP-UX.
* Suggests ''bash'' might be found in /opt/pware/bin if the operating
system is AIX.
'''Changes to prereq-0.5-install'''
* Checks for GNU tar and GNU make on Solaris, making suggestions where
they might be found (/usr/sfw/bin) or obtained via source, Blastwave or
Sunfreeware.
* Only uses the ''-p'' option to ''uname'' on Solaris. Previously the
option was used on all platforms to check for Solaris on SPARC or x86.
Since this option is not portable (not part of POSIX), it generated an
error on HP-UX.
* Removed all the checks for programs like ''gcc'', ''ld'' since these
were not portable, and always indicated the program was present on
Solaris, even if it was not.
The code may be found here.
http://sage.math.washington.edu/home/kirkby/Solaris-fixes/prereq-0.5-2nd-
try/
Note both files need to be downloaded to $SAGE_ROOT/spkg/base, and the
permissions on the script need to be 755. When it is downloaded via the
web, the execute permissions will be lost.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7352>
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
-~----------~----~----~----~------~----~------~--~---