#12173: Update FLINT to 2.3
---------------------------------------------------------------------+------
       Reporter:  mhansen                                            |         
Owner:  tbd     
           Type:  enhancement                                        |        
Status:  new     
       Priority:  major                                              |     
Milestone:  sage-5.3
      Component:  packages                                           |    
Resolution:          
       Keywords:  flint                                              |   Work 
issues:          
Report Upstream:  N/A                                                |     
Reviewers:          
        Authors:  Mike Hansen, Fredrik Johansson, Jean-Pierre Flori  |     
Merged in:          
   Dependencies:  #12433                                             |      
Stopgaps:          
---------------------------------------------------------------------+------

Comment (by jpflori):

 Replying to [comment:112 fredrik.johansson]:
 > Hmm, I seem to be unable to fix this in the obvious way. If I add
 >
 > {{{
 > from sage.rings.polynomial.polynomial_integer_dense_flint cimport
 Polynomial_integer_dense_flint
 > }}}
 >
 > to polynomial_zmod_flint.pyx in order to be able to access the value as
 an fmpz_poly_t, I get
 >
 > {{{
 > In file included from
 /scratch/fjohanss/sage-5.1.rc0/local/include/NTL/ZZ.h:19:0,
 >                  from /scratch/fjohanss/sage-5.1.rc0/local/include/flint
 /NTL-interface.h:36,
 >                  from sage/rings/polynomial/polynomial_zmod_flint.c:250:
 > /scratch/fjohanss/sage-5.1.rc0/local/include/NTL/tools.h:11:19: fatal
 error: cstdlib: No such file or directory
 > }}}
 >
 > Any idea how to fix this?
 I once had such a problem.
 IIRC a hackish but working fix is to "cdef extern blahblah" directly the
 structure in the file where you want to use it, so that you avoid to
 include all of the corresponding file with cimport and the corresponding
 dependencies and conflicts hell, in particular here where C and C++ get
 mixed because of NTL.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12173#comment:118>
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.

Reply via email to