Hello -- I'm having a heck of a time trying to get the Python bindings compiled under CentOS 5.2 (x86) with Python 2.6. I've managed to fix all the problems so far except this one:
[r...@server swftools-2010-02-06-1900]# python setup.py build Creating config.h... running build running build_ext building 'gfx' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -Ilib/lame/ -Ilib/pdf/xpdf -Ilib/pdf -I/usr/src/Imaging-1.1.7/libImaging -I/usr/local/include/python2.6 -c lib/gfxpoly.c -o build/temp.linux-x86_64-2.6/lib/gfxpoly.o -fPIC -Wparentheses -Wimplicit -Wreturn-type -O3 -fomit-frame-pointer -Winline -Wno-unused -Wno-strict-prototypes -DHAVE_CONFIG_H -DSWFTOOLS_DATADIR="/usr/share/swftools/" lib/gfxpoly.c:28:24: error: art/libart.h: No such file or directory lib/gfxpoly.c:29:35: error: art/art_svp_intersect.h: No such file or directory lib/gfxpoly.c:30:29: error: art/art_svp_ops.h: No such file or directory ....... Looking at "lib/gfxpoly.c", it seems to reference three includes files in a nonexistent "/art" subdirectory. Suggestions, please?
