#7781: Update prereq to version 0.6
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: build | Keywords: gcc AIX HP-UX IRIX Tru64 Solaris
Work_issues: | Author: David Kirkby
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
This is a further update of the code which checks the prerequisites for
Sage are OK. Previous updates were #7021 and #7352.
== Changes in files ==
'''Changes to configure.ac (This gets included in prereq-0.6.tar)'''
* Exit for a gcc 3.4 series compiler, unless the variable
'SAGE_USE_OLD_GCC' is set to something non-empty. This was desirable, as
the only compiler shipped with Solaris is 3.4.3, which is too old. As in
prereq 0.4 and 0.5, the Sage build exits with gcc < 3.4.0 (as it's too
old) and with gcc 4.0.0 (as it's too buggy).
'''Changes to prereq-0.6-install'''
* Exit on Solaris if the version of 'make' is not the GNU one. It was my
intension this was done for both 'tar' and 'make' in prereq 0.5, but I'd
overlooked to put the number '1' on one of the exit statements, so the
build did not exit for Sun's 'make'.
* Exit on Solaris 2.6, 7, 8 and 9 unless SAGE_PORT is set to something
non-empty. This seems logical, as nobody is testing Sage on the older
Solaris releases. It's probably worth testing Sage on Solaris 8 and 9, but
not 2.6 or 7, as they are too old to worry about.
* Test for the GNU versions of 'make' and 'tar' on AIX, HP-UX, IRIX and
Tru64 - this was already done on Solaris. As I'm not so sure where the GNU
tools will be found on AIX, HP-UX, IRIX or Tru64, so the error message is
not as informative as on Solaris, where I know the systems much better.
* Provides links to pages on the Sage Wiki for Solaris
(http://wiki.sagemath.org/solaris) and HP-UX (http://wiki.sagemath.org/HP-
UX), which are printed on those platforms if there are any issues detected
(Generally that means if 'SAGE_PORT' is needed for the build to continue).
There are no Wiki pages for AIX, Tru64 or IRIX, and I somewhat doubt I
will create any for Tru64 or IRIX, but I might for AIX.
* Change the comment about using VMWare to !VirtualBox, as that is the
preferred system for Sage now.
* Mention a port to HP-UX does not look particularly difficult, as it
might encourage some developers. It actually looks to be relatively easy,
judging by the number of packages that build OK on HP-UX.
Updated versions of prereq-0.6-install and prereq-0.6.tar are provided in
the directory below. prereq-0.6-install must be put into Sage with execute
permissions.
http://boxen.math.washington.edu/home/kirkby/portability/prereq-0.6/
== How to test these changes ==
* Copy the files prereq-0.6.tar & prereq-0.6-install to
$SAGE_ROOT/spkg/base/
* Ensure prereq-0.6-install has execute permissions.
* Remove spkg/installed/prerequ-0.5
* Type 'make'
Anyone wishing to test on HP-UX is welcome to have an account on my own
machine.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7781>
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.