#13561: Supply nice error message when starting $SAGE_ROOT/sage without
compiling
Sage first
-------------------------------+--------------------------------------------
Reporter: kini | Owner: leif
Type: defect | Status: new
Priority: major | Milestone: sage-5.5
Component: scripts | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Keshav Kini | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by kini):
Looks like the message used to be implemented in `$SAGE_ROOT/sage` as
this:
{{{
#!sh
if [ ! -f "$SAGE_ROOT/local/bin/sage-sage" ]; then
cat >&2 <<COMPLAINT
************************************************************************
You must compile Sage first using 'make' in the Sage root directory.
(If you have already compiled Sage, you must set the SAGE_ROOT variable
in the file '$0').
************************************************************************
COMPLAINT
exit 1
fi
}}}
What does this have to do with `$SAGE_ROOT`? Do we even still want people
to manually hardcode the `$SAGE_ROOT` variable anywhere? Isn't that
supposed to be automatically determined these days?
I updated the patch to copy to stderr and use lines of asterisks as in the
original message, but retained my new message.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13561#comment:2>
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.