#12173: Update FLINT to 2.3
-------------------------------+--------------------------------------------
Reporter: mhansen | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.1
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by fredrik.johansson):
This new spkg and patch should apply to a clean install of sage-5.0, and
almost completely allows building Sage against flint-2.3:
http://sage.math.washington.edu/home/fredrik/flint-2.3.spkg
http://sage.math.washington.edu/home/fredrik/flint-2.3-sage-5.0.diff
There is one small remaining issue building Sage: at one point, the
definition of ulong in zn_poly.h apparently clashes with the one in flint.
A quick workaround for development purposes is to add #ifndef ulong ...
#endif in sage/local/include/zn_poly.h. I don't know the best proper fix.
But with the workaround,
sage -f flint-2.3.spkg
sage -b
should work.
When starting Sage, there is a link time error (finding fmpz_set_ZZ), so
it seems that the NTL interface is not being built or included correctly.
Presumably, fixing that, Sage will start up successfully, though most
likely there will be some bugs to hunt down...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12173#comment:13>
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.