#9799: Running "make" in SAGE_ROOT returns the wrong exit code, leading to all
kinds of confusion
-------------------------------+--------------------------------------------
Reporter: was | Owner: GeorgSWeber
Type: defect | Status: closed
Priority: critical | Milestone: sage-4.6.1
Component: build | Resolution: fixed
Keywords: makefile | Author: Leif Leonhardy, John Palmieri
Upstream: N/A | Reviewer: Jeroen Demeyer
Merged: sage-4.6.1.alpha0 | Work_issues:
-------------------------------+--------------------------------------------
Comment(by leif):
One more argument: ;-)
{{{
#!sh
Successfully installed gnutls-2.2.1.p5
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
python: /home/leif/Sage/sage-4.6/local/lib/libz.so.1: no version
information available (required by python)
Making script relocatable
Finished installing gnutls-2.2.1.p5.spkg
make[1]: Leaving directory `/home/leif/Sage/sage-4.6/spkg'
real 3m36.199s
user 10m5.250s
sys 2m8.140s
Error building Sage.
./sage -docbuild all html 2>&1 | tee -a dochtml.log
python: /home/leif/Sage/sage-4.6/local/lib/libz.so.1: no version
information available (required by python)
python: can't open file
'/home/leif/Sage/sage-4.6/devel/sage/doc/common/builder.py': [Errno 2] No
such file or directory
. local/bin/sage-env && sage-starts && ./sage -tp 8 -sagenb -long
devel/sage/doc/common devel/sage/doc/en devel/sage/doc/fr devel/sage/sage
2>&1 | tee -a ptestlong.log
python: /home/leif/Sage/sage-4.6/local/lib/libz.so.1: no version
information available (required by python)
Testing that Sage starts...
python: /home/leif/Sage/sage-4.6/local/lib/libz.so.1: no version
information available (required by python)
python: /home/leif/Sage/sage-4.6/local/lib/libz.so.1: no version
information available (required by python)
python: /home/leif/Sage/sage-4.6/local/lib/libz.so.1: no version
information available (required by python)
Traceback (most recent call last):
File "/home/leif/Sage/sage-4.6/local/bin/sage-eval", line 4, in <module>
from sage.all import *
ImportError: No module named sage.all
Sage failed to startup.
make: *** [ptestlong] Error 1
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9799#comment:34>
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.