On Sat, 28 Feb 2004 18:55:25 -0500
Jack Madison <[EMAIL PROTECTED]> wrote:
> Ok, what have I done now? After all the little .h file fixes I
> figured I'd start clean. Now when I try to compile the CVS version I
> get:
>
> [EMAIL PROTECTED] soya $ python ./setup.py build
> running build
> running build_py
> running build_ext
> building 'soyapyrex' extension
> /home/jack/apps/soya-cvs/soya/base.pyx:20:17: Syntax error in C class
> definition
That's really strange...
Line 20 is a foreward class def :
cdef class _Image(_CObj)
Are you sure you are using pyrex 0.9 (older version does not support
class inheritance) ?
Before the freetype fix, it was compiling ? If yes, i guess pyrex was
not recompiling the .pyx file since the .c file were already up-to-date.
Conclusion : when compiling, use :
python ./setup.py build --force
to force compilation of all files (even already compiled ones).
Jiba
--
Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]