#12443: the sage library doesn't respect global CC and CXX flags
------------------------------+---------------------------------------------
Reporter: rohana | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Jeroen Demeyer | Author: R. Andrew Ohana
Merged: | Dependencies:
------------------------------+---------------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
The SConstruct file doesn't work. First make a symbolic link "gplusplus"
to "g++". Then:
{{{
jdemeyer@arcanis:/usr/local/src/sage-5.0.beta1$ gplusplus --version
gplusplus (GCC) 4.6.3 20120123 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
jdemeyer@arcanis:/usr/local/src/sage-5.0.beta1$ CXX="gplusplus" ./sage -b
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Installing c_lib
AttributeError: SConsEnvironment instance has no attribute
'SharedLibrary':
File "/usr/local/src/sage-5.0.beta1/devel/sage-main/c_lib/SConstruct",
line 138:
lib = env.SharedLibrary( "csage", [ "src/" + x for x in srcFiles ],
ERROR: There was an error building c_lib.
}}}
So, I think
{{{
# the following two lines should probably be replaced with a better test
}}}
should actually be done. You should check features, not names of
executables.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12443#comment:6>
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.