#9368: sage_fortran ignores SAGE64 except on Solaris/OpenSolaris
-----------------------------+----------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-4.5
Component: build | Resolution: fixed
Keywords: | Author: David Kirkby
Upstream: N/A | Reviewer: Robert Miller
Merged: sage-4.5.alpha1 | Work_issues:
-----------------------------+----------------------------------------------
Comment(by was):
OK, I've found the problem. The build script is written in Python. Thus
the fortran spkg *depends* on Python. However, for me, when I built the
fortran spkg, it got built before Python, hence some random system-wide
wrong python was used, and this broke the build. This was a problem that
could have happened on many different systems in weird ways, so it's very
good that Robert Miller and I persisted and tracked this down, instead of
brushing it off.
The fix: change the deps file, and make sure to include a comment in the
deps file explaining this dependency.
One could also add a check that $SAGE_LOCAL/bin/python exists in this
spkg-install script.
Another good idea, would be to change the sage build system, so that when
if spkg-install is a Python script, but Python hasn't been built yet, then
an error is immediately raised. This would keep this problem from ever
happening again. I've opened a ticket: #9507.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9368#comment:14>
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.