#9644: Add error messages and update documentation for spaces in $SAGE_ROOT
-------------------------------------------------------------------------------------------------+
Reporter: mpatel
| Owner: jason
Type: defect
| Status: needs_work
Priority: major
| Milestone: sage-4.6
Component: misc
| Keywords:
Author: John Palmieri, Leif Leonhardy
| Upstream: N/A
Reviewer: John Palmieri, David Kirkby
| Merged:
Work_issues: Update README.txt, Wiki page(s), Installation Guide; put info on
download page(s) |
-------------------------------------------------------------------------------------------------+
Changes (by jhpalmieri):
* status: positive_review => needs_work
Comment:
The invocation of sage-env from the top-level makefile is causing errors.
On sage.math:
{{{
. local/bin/sage-env && sage-starts && ./sage -tp 0 -sagenb -long
devel/sage/doc/common devel/sage/doc/en devel/sage/doc/fr devel/sage/sage
2>&1 | tee -a ptestlong.log
local/bin/sage-env: 70: Syntax error: Bad function name
make: *** [ptestlong] Error 2
}}}
On my mac:
{{{
. local/bin/sage-env && sage-starts && ./sage -tp 0 -sagenb -long
devel/sage/doc/common devel/sage/doc/en devel/sage/doc/fr devel/sage/sage
2>&1 | tee -a ptestlong.log
local/bin/sage-env: line 77: `contains-spaces': not a valid identifier
make: *** [ptestlong] Error 2
}}}
On t2.math:
{{{
. local/bin/sage-env && sage-starts && ./sage -tp 0 -sagenb -long
devel/sage/doc/common devel/sage/doc/en devel/sage/doc/fr devel/sage/sage
2>&1 | tee -a ptestlong.log
/bin/sh: contains-spaces: is not an identifier
make: *** [ptestlong] Error 1
}}}
In all cases, changing "contains-spaces" to "contains_spaces" seems to fix
the problem. I'm attaching a small patch to do this. (On Solaris
systems, I also see a new warning, presumably because we're not
redirecting output to /dev/null: after typing "make ptestlong", I see
{{{
Build finished. The built documents can be found in
/scratch/palmieri/sage-4.5.3.rc0/devel/sage/doc/output/html/fr/a_tour_of_sage
. local/bin/sage-env && sage-starts && ./sage -tp 0 -sagenb -long
devel/sage/doc/common devel/sage/doc/en devel/sage/doc/fr devel/sage/sage
2>&1 | tee -a ptestlong.log
/bin/sh: source: not found
Testing that Sage starts...
Yes, Sage starts.
Testing that Sage starts...
Yes, Sage starts.
Global iterations: 1
File iterations: 1
}}}
Note the line {{{/bin/sh: source: not found}}}. Is this important? If
so, we should deal with it on another ticket...)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9644#comment:29>
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.