#10187: Update ecl and maxima
-------------------------------------------------------------------------------+
Reporter: vbraun
| Owner: tbd
Type: defect
| Status: needs_review
Priority: major
| Milestone: sage-4.6.1
Component: packages
| Keywords:
Author: Volker Braun, David Kirkby
| Upstream: Workaround found; Bug reported upstream.
Reviewer: Karl-Dieter Crisman, David Kirkby, Volker Braun, Leif Leonhardy
| Merged:
Work_issues:
|
-------------------------------------------------------------------------------+
Comment(by leif):
Replying to [comment:116 drkirkby]:
> I take your point Leif, you can't check the extra options I added to the
configure script. I think they were helpful and safe. Given that, and to
stop this ticket dragging on any longer, they are best removed. It's one
less thing to worry about.
>
> If I remove those options to the configured script, '''and''' implement
your changes to CPPFLAGS and LDFLAGS, it actually break the code, as the
Boehm header files are no longer found. (I cut and pasted your changes.)
As soon as I undo your changes, so the header files are found.
Yes, with
{{{
#!sh
CPPFLAGS="$CPPFLAGS -I\"${SAGE_LOCAL}/include\""
LDFLAGS="$LDFLAGS -L\"${SAGE_LOCAL}/lib\""
}}}
and
{{{
#!sh
./configure --prefix="$SAGE_LOCAL" --with-gmp-prefix="$SAGE_LOCAL" #
--enable-boehm=system
}}}
`configure` behaves weird (and finally the Lisp build fails for me):
{{{
...
checking for ld flags when building shared libraries... -shared
-L"/home/leif/Sage/sage-4.6.1.alpha2/local/lib"
...
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
...
checking for GC_malloc in -lgc... yes
checking whether we can use the existing Boehm-Weiser library ... yes
checking for GC_malloc in -lgc... (cached) yes
checking if we need to copy GC private headers ... checking if we use
Boehm-Demers-Weiser precise garbage collector... no
...
checking for ffi_call in -lffi... no
/home/leif/Sage/sage-4.6.1.alpha2/spkg/build/ecl-10.4.1/src/src/configure:
line
9924: test: =: unary operator expected
checking whether we can dynamically build calls to C functions... yes
...
checking gc.h usability... yes
checking gc.h presence... no
configure: WARNING: gc.h: accepted by the compiler, rejected by the
preprocessor
!
configure: WARNING: gc.h: proceeding with the compiler's result
checking for gc.h... yes
configure: creating ./config.status
...
Configuration complete. To build ECL, issue make in this directory.
...
;;; About to load cmp/load.lsp
Too many arguments supplied to a macro or a destructuring-bind form.
No restarts available.
Broken at SI::TPL.
File:
#P"/home/leif/Sage/sage-4.6.1.alpha2/spkg/build/ecl-10.4.1/src/src/lsp/to
p.lsp" (Position #20393)
C>>
}}}
I'd like to see such documented in `SPKG.txt` (''Special Update/Build
Instructions'') and / or `spkg-install` (e.g. `# *don't* quote SAGE_LOCAL
here, since...`), to avoid others touching this spkg running into the same
problem(s).
Clearly there are bugs in `configure`, which might get fixed in future
releases though.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10187#comment:117>
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.