#5510: [with patch, needs work] update M4RI interface
----------------------------+-----------------------------------------------
 Reporter:  malb            |       Owner:  malb                
     Type:  enhancement     |      Status:  new                 
 Priority:  major           |   Milestone:  sage-4.0.2          
Component:  linear algebra  |    Keywords:  m4ri, linear algebra
 Reviewer:  Jason Grout     |      Author:  Martin Albrecht     
   Merged:                  |  
----------------------------+-----------------------------------------------

Comment(by ncalexan):

 The dependencies are definitely not correct.  Even after 'touch
 sage/matrix/*' I can't compile it.

 {{{
 sage/rings/polynomial/polynomial_gf2x.cpp: In function ‘PyObject*
 
__pyx_pf_4sage_5rings_10polynomial_15polynomial_gf2x_15Polynomial_GF2X_modular_compos
 sition(PyObject*, PyObject*, PyObject*)’:
 sage/rings/polynomial/polynomial_gf2x.cpp:10871: error: ‘struct
 __pyx_obj_4sage_6matrix_17matrix_mod2_dense_Matrix_mod2_dense’ has no
 member named ‘_en
 ntries’
 sage/rings/polynomial/polynomial_gf2x.cpp:10941: error: ‘struct
 __pyx_obj_4sage_6matrix_17matrix_mod2_dense_Matrix_mod2_dense’ has no
 member named ‘_en
 ntries’
 sage/rings/polynomial/polynomial_gf2x.cpp:11042: error: ‘struct
 __pyx_obj_4sage_6matrix_17matrix_mod2_dense_Matrix_mod2_dense’ has no
 member named ‘_en
 ntries’
 sage/rings/polynomial/polynomial_gf2x.cpp:11227: error: ‘struct
 __pyx_obj_4sage_6matrix_17matrix_mod2_dense_Matrix_mod2_dense’ has no
 member named ‘_en
 ntries’
 sage/rings/polynomial/polynomial_gf2x.cpp:11250: error: ‘struct
 __pyx_obj_4sage_6matrix_17matrix_mod2_dense_Matrix_mod2_dense’ has no
 member named ‘_en
 ntries’
 sage/rings/polynomial/polynomial_gf2x.cpp:11475: error: ‘struct
 __pyx_obj_4sage_6matrix_17matrix_mod2_dense_Matrix_mod2_dense’ has no
 member named ‘_en
 ntries’
 gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
 -fPIC -I/scratch/ncalexan/sage-4.0.2.alpha1/local/lib/python2.5/site-
 packages/numpy/core/include
 -I/scratch/ncalexan/sage-4.0.2.alpha1/local//include
 -I/scratch/ncalexan/sage-4.0.2.alpha1/local//include/csage
 -I/scratch/ncalexan/sage-4.0.2.alpha1/devel//sage/sage/ext
 -I/scratch/ncalexan/sage-4.0.2.alpha1/local/include/python2.5 -c
 sage/stats/hmm/chmm.c -o build/temp.linux-x86_64-2.5/sage/stats/hmm/chmm.o
 -w
 gcc -pthread -shared build/temp.linux-x86_64-2.5/sage/matrix/matrix2.o
 -L/scratch/ncalexan/sage-4.0.2.alpha1/local//lib -lcsage -lstdc++ -lntl -o
 build/lib.linux-x86_64-2.5/sage/matrix/matrix2.so
 gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
 -fPIC -I/scratch/ncalexan/sage-4.0.2.alpha1/local/lib/python2.5/site-
 packages/numpy/core/include
 -I/scratch/ncalexan/sage-4.0.2.alpha1/local//include
 -I/scratch/ncalexan/sage-4.0.2.alpha1/local//include/csage
 -I/scratch/ncalexan/sage-4.0.2.alpha1/devel//sage/sage/ext
 -I/scratch/ncalexan/sage-4.0.2.alpha1/local/include/python2.5 -c
 sage/stats/hmm/hmm.c -o build/temp.linux-x86_64-2.5/sage/stats/hmm/hmm.o
 -w
 gcc -pthread -shared
 build/temp.linux-x86_64-2.5/sage/matrix/matrix_integer_dense.o
 -L/scratch/ncalexan/sage-4.0.2.alpha1/local//lib -lcsage -liml -lgmp -lm
 -lcblas -latlas -lstdc++ -lntl -o
 build/lib.linux-x86_64-2.5/sage/matrix/matrix_integer_dense.so
 error: command 'gcc' failed with exit status 1
 sage: There was an error installing modified sage library code.
 }}}

 After 'touch sage/polynomial/*' and a few retries, this still fails.  (I
 didn't try sage -ba.)  So I'm going to say needs work, to fix the
 dependencies.

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