Ticket #11070 (closed defect: fixed)
Update prereq so that SAGE_PORT does not need setting on Solaris x86
|Reported by:||drkirkby||Owned by:||drkirkby|
|Report Upstream:||N/A||Reviewers:||John Palmieri|
|Authors:||David Kirkby||Merged in:||sage-4.7.alpha4|
Description (last modified by drkirkby) (diff)
The environment variable SAGE_PORT
has to be set on systems such as AIX and HP-UX where Sage is not supported. Currently this is also so on Solaris x86, despite the fact Sage build fine and is fully supported on both OpenSolaris x86 and Solaris 10 x86:
As such, the file
needs to be changed to remove this specific test for Solaris on x86. There is also a minor typo with an "x" missing on a line where a test for Solaris 2.6 is performed.
The new script will be installed as:
and the old one removed.
Output on a Solaris x86 system
Here's the output shown with sage-4.7.alpha1 on a Solaris x86 system with the environment variable SAGE_PORT not set.
Starting prerequisite check. Machine: SunOS hawk 5.11 snv_134 i86pc i386 i86pc Building or using Sage on non-Sparc Solaris is tricky and not supported at the moment. It is possible, but you should be well aware that some things do not work. Support for Solaris on non-SPARC hardware is actively being worked on. More information can be found about Sage on Solaris on the Wiki at http://wiki.sagemath.org/solaris To get past this message, export the variable SAGE_PORT to something non-empty. make: *** [installed/prereq-0.7] Error 1 make: Leaving directory `/export/home/drkirkby/sage-4.7.alpha1/spkg' real 0m0.024s user 0m0.011s sys 0m0.017s Error building Sage. make: *** [build] Error 1
Here's the output of sage-4.7.alpha2, which has the changes applied. This time the prereq script gets run, without Sage exiting.
Starting prerequisite check. Machine: SunOS hawk 5.11 snv_134 i86pc i386 i86pc prereq-0.8/ prereq-0.8/install-sh prereq-0.8/aclocal.m4 prereq-0.8/Makefile.am <snip> checking for sqrt in -lm... yes checking for sqrtl in -lm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands
Notes for reviewer
You only need to check the changes between the two scripts - ignore the tar file that the script opens. That is the subject of another ticket #9978.
When testing, you will need to copy the file prereq-0.8.tar attached to #9978 to $SAGE_ROOT/spkg/base/.
Both the script and the tar file must have the same version number (0.8).
Notes for the release manager
- The tar file prereq-0.8.tar, attached to #9978 should be installed as $SAGE_ROOT/spkg/base/prereq-0.8.tar. It is listed in .hgignore,so there's no need to change the repository for this.
- The tar file $SAGE_ROOT/spkg/base/prereq-0.7.tar should be removed.
- Apply trac_11070-base-repo.patch to the repository in spkg/base.
- Cc jhpalmieri added
- Status changed from new to needs_review
- Status changed from needs_review to positive_review
- Reviewers set to John Palmieri