%skip ... lude/python2.5 -c sage/modules/complex_double_vector.c -o build/temp.macosx-10.3-i386-2.5/sage/modules/complex_double_vector.o -w sage/modules/complex_double_vector.c:366: error: field '__pyx_base' has incomplete type sage/modules/complex_double_vector.c:373: error: field '__pyx_base' has incomplete type error: command 'gcc' failed with exit status 1 sage: There was an error installing modified sage library code.
cimport sage.structure.element
to complex_double_vector.pxd
and the problem disappeared. In general, look at the generated C file to see what type is incomplete (i.e.,
not properly declared), then add an explicit cimport to your pxd file (or top of your pyx file if you
don't have a pxd file).
sage -ba
to brutally
rebuild everything, which will take about 3-5 minutes.
See About this document... for information on suggesting changes.