Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prereq to version 0.5 #7352

Closed
sagetrac-drkirkby mannequin opened this issue Oct 29, 2009 · 8 comments
Closed

Update prereq to version 0.5 #7352

sagetrac-drkirkby mannequin opened this issue Oct 29, 2009 · 8 comments

Comments

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Oct 29, 2009

Following my recent updates of the code for checking the prerequisites for Sage are present (#7021), here is a further refinement. If implemented the following tickets can be closed.

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 gcc was used as the C compiler, but 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 versions 9 or older.
    • If sun4c or sun4m hardware is used, the configure script 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 versions 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.
    • Checks for ar, strip, m4, ranlib and ld.

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-3rd-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.

Component: build

Author: David Kirkby

Reviewer: Mike Hansen

Merged: sage-4.3.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/7352

@sagetrac-drkirkby sagetrac-drkirkby mannequin added this to the sage-4.3 milestone Oct 29, 2009
@sagetrac-drkirkby

This comment has been minimized.

@sagetrac-drkirkby

This comment has been minimized.

@sagetrac-drkirkby

This comment has been minimized.

@sagetrac-drkirkby

This comment has been minimized.

@sagetrac-drkirkby

This comment has been minimized.

@mwhansen
Copy link
Contributor

comment:8

Looks good to me.

@mwhansen
Copy link
Contributor

Reviewer: Mike Hansen

@mwhansen
Copy link
Contributor

Merged: sage-4.3.alpha0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant