#16852: Upgrade eclib to version 20140805
-------------------------------------+-------------------------------------
Reporter: aapitzsch | Owner:
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-6.4
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers: François Bissey
Authors: John Cremona | Work issues:
Report Upstream: N/A | Commit:
Branch: | ce98624f0c58036f11a0fbe9cc779731a334980d
u/cremona/ticket/16852 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by cremona):
Replying to [comment:8 fbissey]:
> Replying to [comment:7 cremona]:
> > Thanks. Julien P says that the configure script needs adjustment to
work properly with the new NTL but that only applies if you do _not_ give
the flag --with-ntl explicitly; we do, so this should not cause trouble
with the NTL upgrade.
>
> Not my experience. I updated the sage-on-gentoo ebuild and it is
configured with
> {{{
> --disable-allprogs --with(out)-flint --with(out)-boost
> }}}
> and it finds ntl fine. Is it only a trouble to find it in a sage install
that sets CPPFLAGS and LDFLAGS?
Was that using the new NTL, i.e. 6.2.0 or 6.2.1 (yesterday's bugfix)? I
understand that the problem is that if you do not give any --with-ntl then
configure uses the AC_SEARCH_LIB command from configure.ac to look for the
specific symbol _ntl_gmul but this symbol does not exist in the new NTL.
And all (or almost all) symbols which do exist are mangled versions of C++
function names, which are unsuitable for this purpose (basically because
different compilers mangle things in deifferent ways). On my system the
configure works fine using --with-ntl or --with-ntl=yes or --with-
ntl=#usr/local, since none of these run the AC_SEARCH_LIB command, and
then the compiler and linker do find the include files and libraries
without further assistance, but if I do not mention --with-ntl on the
configure line then it runs the test and it fails.
This discussion probably does not belong here since in any case Sage uses
an explicit --with-ntl="$SAGE_LOCAL" which avoids the problematical
AC_SEARCH_LIB anyway.
--
Ticket URL: <http://trac.sagemath.org/ticket/16852#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.