I got a cython error. On on a Mac book pro running OSX 10.6 with sage 4.6.2 64 bit:
cythoning patch/mipGlpk.pyx to patch/mipGlpk.cpp Error converting Pyrex file to C: ------------------------------------------------------------ ... # Builds the GLPK version of the problem build_glp_prob(lp, iocp, self,False,True) glp_write_lp(lp,NULL,filename) cdef int build_glp_prob(c_glp_prob * lp, c_glp_iocp * iocp, LP, int log, bool names) except -1: ^ ------------------------------------------------------------ /Applications/Sage-4.6.2-OSX-64bit-10.6.app/Contents/Resources/sage/ spkg/build/glpk-4.42.p0/patch/mipGlpk.pyx:153:73: 'bool' is not a type identifier building 'sage.numerical.mipGlpk' extension creating build creating build/temp.macosx-10.6-i386-2.6 creating build/temp.macosx-10.6-i386-2.6/patch gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -m64 -Wall -Wstrict- prototypes -I../../../local/include/ -I../../../devel/sage/c_lib/ include/ -I/tmp/sage-mac-app/local/include/python2.6 -c patch/ mipGlpk.cpp -o build/temp.macosx-10.6-i386-2.6/patch/mipGlpk.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ patch/mipGlpk.cpp:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. error: command 'gcc' failed with exit status 1 real 1m39.834s user 0m53.890s sys 0m14.719s sage: An error occurred while installing glpk-4.42.p0 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /tmp/sage-mac-app/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /tmp/sage-mac-app/spkg/build/glpk-4.42.p0 and type 'make check' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/tmp/sage-mac-app/spkg/build/glpk-4.42.p0' && '/tmp/sage-mac-app/ sage' -sh) When you are done debugging, you can type "exit" to leave the subshell. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org