#12759: Maxima fails to build with multiple words in LDFLAGS
---------------------------------------------------+------------------------
Reporter: leif | Owner: leif
Type: defect | Status:
needs_review
Priority: critical | Milestone: sage-5.0
Component: packages | Resolution:
Keywords: spkg linker unrecognized option | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Leif Leonhardy | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------------+------------------------
Changes (by {'newvalue': u'Leif Leonhardy', 'oldvalue': ''}):
* cc: SimonKing, jason (added)
* status: new => needs_review
* author: => Leif Leonhardy
Old description:
> I already have an spkg working around this, as well as using `ecl -norc
> ...` as recommended by an ECL developer.
New description:
I already have an spkg working around this, as well as using `ecl -norc
...` as recommended by an ECL developer.
To reproduce the problem, just try something like
{{{
#!sh
$ env LDFLAGS="-DFOO -DBAR" ./sage -f spkg/standard/maxima-5.26.0.p0.spkg
}}}
----
'''New spkg:'''
[http://boxen.math.washington.edu/home/leif/Sage/spkgs/maxima-5.26.0.p1.spkg]
'''md5sum:''' `e0dd8b63928fbef1ffa52420f1313c48 maxima-5.26.0.p1.spkg`
=== maxima-5.26.0.p1 (Leif Leonhardy, March 25th 2012) ===
* #12759: Unset `LDFLAGS` if it contains multiple words.
(ECL's still get used in that case, but don't break the build.)
* Use `ecl -norc ...` throughout `spkg-install`, as recommended by
Juanjo.
We set the environment variable `ECL` to this, which *might* get used
by
Makefiles as well -- to be checked.
(I.e., we might have to pass e.g. `ECL="$ECL"` when invoking
`make` to override Makefile settings, in case that's desired.)
* Use `cp -pf ...` to preserve permissions and to avoid errors if files
already exist (read-only).
* Add some error checks, messages and comments; quote more variables.
--
Comment:
I've also added a comment regarding the contained PDF files to `SPKG.txt`
(cf. attached diff).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12759#comment:1>
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.