Hello Volker (& others with interest)

I get the same error in Sage 6.7, but this time adding the recommended 
include directive to the Cython file doesn't work. Error message below, but 
I note that a workaround (however temporary) is to modify the offending 
file, si_gmp.h, so that

#  include <cf_gmp.h>

reads instead as
 
#  include <../factory/cf_gmp.h>

In this case it compiles & links just fine.

john perry

Here's that error as I encounter it now:

RuntimeError: Error compiling ./dynamic_algorithm.pyx:
running build
running build_ext
building 
'_Users_cantanima_common_Research_SAGE_programs_gb_detection_dynamic_algorithm_pyx_1'
 
extension
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-I/Applications/sage-6.7-untouched/local/include/singular 
-I/Applications/sage-6.7-untouched/local/include/csage 
-I/Applications/sage-6.7-untouched/local/include 
-I/Applications/sage-6.7-untouched/local/include/python2.7 
-I/Applications/sage-6.7-untouched/local/lib/python/site-packages/numpy/core/include
 
-I/Applications/sage-6.7-untouched/src/sage/ext 
-I/Applications/sage-6.7-untouched/src 
-I/Applications/sage-6.7-untouched/src/sage/gsl -I. 
-I/Applications/sage-6.7-untouched/local/include/python2.7 -c 
_Users_cantanima_common_Research_SAGE_programs_gb_detection_dynamic_algorithm_pyx_1.cpp
 
-o 
build/temp.macosx-10.9-x86_64-2.7/_Users_cantanima_common_Research_SAGE_programs_gb_detection_dynamic_algorithm_pyx_1.o
 
-w -O2

In file included from 
/Applications/sage-6.7-untouched/local/include/singular/structs.h:15:0,
                 from 
/Applications/sage-6.7-untouched/local/include/libsingular.h:6,
                 from 
_Users_cantanima_common_Research_SAGE_programs_gb_detection_dynamic_algorithm_pyx_1.cpp:257:
/Applications/sage-6.7-untouched/local/include/singular/si_gmp.h:5:22: 
fatal error: cf_gmp.h: No such file or directory
 #  include <cf_gmp.h>
                      ^
compilation terminated.
error: command 'gcc' failed with exit status 1

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to