Edit pngconf.h. Line 254 is probably the start of an ifdef statement. Comment out the entire ifdef (about 4 lines). Make sure you use 'C' comments, /* <ifdef stuff> */ and re-compile. I'd uncomment the lines when you're done. :)
> been here, done that. > now I'm getting this: > gcc -DNDEBUG -fPIC -DCOMPILE_FOR_PYTHON -DUSE_SDL -DSAFE_MODE > -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include -I/usr/local/include > -I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2 > -I/usr/include/python2.2 -c ./c_src/image.c -o > build/temp.linux-i686-2.2/image.o > In file included from /usr/include/png.h:332, > from c_src/image.c:30: > /usr/include/pngconf.h:255: parse error before '.' token > error: command 'gcc' failed with exit status 1 > > I'm using libpng 1.2.5 ... > -- > Jack Madison <[EMAIL PROTECTED]> -- Pour vous desabonner envoyez un mail a [EMAIL PROTECTED]