Considering the location of cf_gmp.h you probably need #cinclude $SAGE_ROOT/local/include/factory
On Tuesday, December 23, 2014 10:53:03 AM UTC+1, john_perry_usm wrote: > > Hello > > I tried to attach a Cython file that worked in previous versions of Sage > (incl Sage beta 6.4.1) to Sage beta 6.5.1, but it fails: > sage: %attach dynamic_algorithm_with_skeleton.pyx > Compiling ./dynamic_algorithm_with_skeleton.pyx... > Error compiling cython file: > Error compiling ./dynamic_algorithm_with_skeleton.pyx: > running build > running build_ext > building > '_Users_user_common_Research_SAGE_programs_skeleton_dynamic_algorithm_with_skeleton_pyx_0' > > extension > creating build > creating build/temp.macosx-10.9-x86_64-2.7 > gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -I/ > Applications/sage-6.5.beta1/local/include/singular -I/Applications/sage- > 6.5.beta1/local/include/csage -I/Applications/sage-6.5.beta1/local/include > -I/Applications/sage-6.5.beta1/local/include/python2.7 -I/Applications/ > sage-6.5.beta1/local/lib/python/site-packages/numpy/core/include -I/ > Applications/sage-6.5.beta1/src/sage/ext -I/Applications/sage-6.5.beta1/src > -I/Applications/sage-6.5.beta1/src/sage/gsl -I. -I/Applications/sage-6.5. > beta1/local/include/python2.7 -c > _Users_user_common_Research_SAGE_programs_skeleton_dynamic_algorithm_with_skeleton_pyx_0 > .cpp -o build/temp.macosx-10.9-x86_64-2.7/ > _Users_user_common_Research_SAGE_programs_skeleton_dynamic_algorithm_with_skeleton_pyx_0 > .o -w -O2 > > > In file included from /Applications/sage-6.5.beta1/local/include/singular/ > structs.h:15:0, > from /Applications/sage-6.5.beta1/local/include/ > libsingular.h:6, > from > _Users_user_common_Research_SAGE_programs_skeleton_dynamic_algorithm_with_skeleton_pyx_0 > .cpp:244: > /Applications/sage-6.5.beta1/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 > > The Cython file includes the lines (thanks for the help with this a year > or two ago!) > # cinclude $SAGE_ROOT/local/include/singular > # clib m readline singular givaro gmpxx gmp > > I don't *think* I need gmp anymore, so I removed gmp and gmpxx... only to > encounter the same error. > > Apparently this looks like an error with Singular that Sage has > encountered before (here > <https://groups.google.com/d/topic/sage-support/ddf-v16fpi8/discussion>, > here > <https://groups.google.com/d/topic/sage-support/YHSYGvxR1Eg/discussion>, > and here > <https://groups.google.com/d/topic/sage-support/ocnSDgngJLI/discussion>) > but the earlier problems were with building Sage from source. At least one > problem was fixed in ticket #14737 <http://trac.sagemath.org/ticket/14737>. > Has this error returned, or am I doing something wrong? > -- 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.