swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Cannot build python module with recent snapshots


From: Christoph Schulte-Mönting
Subject: [Swftools-common] Cannot build python module with recent snapshots
Date: Tue, 18 Nov 2008 14:10:02 +0100

Hi,

I tried to build the python modules SWF + gfx but failed when using one of the recent snapshots. E.g. with swftools-2008-11-12-0905.tar.gz I get this result:

$ python setup.py build
Creating config.h...
running build
running build_ext
building 'SWF' extension
creating build
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/lib
creating build/temp.linux-i686-2.5/lib/python
creating build/temp.linux-i686-2.5/lib/modules
creating build/temp.linux-i686-2.5/lib/h.263
creating build/temp.linux-i686-2.5/lib/action
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/freetype2 -Ilib/lame/ -Ilib/pdf/xpdf -Ilib/pdf -I/usr/include/python2.5 -c lib/python/SWF.c -o build/temp.linux-i686-2.5/lib/python/SWF.o -fPIC -Wparentheses -Wimplicit -Wreturn-type -O3 -fomit-frame-pointer -Winline -Wno-unused -Wno-strict-prototypes -DHAVE_CONFIG_H -DSWFTOOLS_DATADIR="/usr/share/swftools/"
In Datei, eingefügt von lib/python/.././bitio.h:23,
                 von lib/python/../rfxswf.h:37,
                 von lib/python/SWF.c:25:
lib/python/.././types.h:42:2: Fehler: #error "don't know how to define 16 bit integer"
lib/python/.././types.h:62:2: Fehler: #error "Unknown pointer size"
error: command 'gcc' failed with exit status 1

OTOH I can build the normal command line tools using configure and make without problems.


I tried an older snapshot I still had lying around (swftools-2008-05-14-2122.tar.gz) - with that the python module builds successfully on the same machine so I do not think I have a local configuration problem here.

Perhaps you remember some configuration change that needs to be reflected in the python build script?

Best regards,
Christoph


reply via email to

[Prev in Thread] Current Thread [Next in Thread]