[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swftools-common
Subject:    [Swftools-common] Unable to compile Python bindings.
From:       Jamie Begin <jjbegin () gmail ! com>
Date:       2010-03-18 18:25:12
Message-ID: 214af21a1003181125i5875de46lceb557136ab7788e () mail ! gmail ! com
[Download RAW message or body]

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:

[root@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?

[Attachment #3 (text/html)]

Hello --<br><br>I&#39;m having a heck of a time trying to get the Python bindings \
compiled under CentOS 5.2 (x86) with Python 2.6.  I&#39;ve managed to fix all the \
problems so far except this one:<br><br>[root@server swftools-2010-02-06-1900]# \
python setup.py build<br> Creating config.h...<br>running build<br>running \
build_ext<br>building &#39;gfx&#39; extension<br>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=&quot;/usr/share/swftools/&quot;<br> \
lib/gfxpoly.c:28:24: error: art/libart.h: No such file or \
directory<br>lib/gfxpoly.c:29:35: error: art/art_svp_intersect.h: No such file or \
directory<br>lib/gfxpoly.c:30:29: error: art/art_svp_ops.h: No such file or \
                directory<br>
.......<br><br>Looking at &quot;lib/gfxpoly.c&quot;, it seems to reference three \
includes files in a nonexistent &quot;/art&quot; subdirectory.<br><br>Suggestions, \
please?<br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic