swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] compiling on OS X 10.4 python extension


From: Norman Khine
Subject: [Swftools-common] compiling on OS X 10.4 python extension
Date: Sun, 22 Mar 2009 14:45:15 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Hello,
I am trying to build the python extension for gfx, but am not having any luck.
Here is my procedure and errors that I get on the way.

$ cd ~/downloads
$ wget http://www.swftools.org/swftools-2009-03-15-1014.tar.gz
$ tar zxvf swftools-2009-03-15-1014.tar.gz
$ cd swftools-2009-03-15-1014
$ ./configure
...


checking for Python.h... Set both PYTHON_LIB and PYTHON_INCLUDES, or none at all
2.6
checking whether we can compile the python test program... yes
checking for Python-Imaging... yes
checking for missing libraries...  ungif gif_lib.h
***************************************************
* The following headers/libraries are missing:  ungif gif_lib.h
* Disabling gif2swf tool...
***************************************************

config.status: creating lib/art/Makefile
config.status: creating lib/readers/Makefile
config.status: creating config.h

$ make

...

making all in lib...
cd lib;make all
make[1]: Nothing to be done for `all'.
making all in lib/python...
cd lib/python;make all
gcc -DHAVE_CONFIG_H -g -bundle SWF.o taglist.o tag.o image.o tags.o tagmap.o action.o primitives.o pyutils.o ../librfxswf.a ../libbase.a -o SWF.so -framework Python -L/usr/local/lib -ljpeg -lz -lm -L/usr/local/lib -lfreetype -lz
/usr/bin/ld: Undefined symbols:
_ImagingNew
_PyImagingNew
collect2: ld returned 1 exit status
make[1]: *** [SWF.so] Error 1
make: *** [all] Error 2


Any help much appreciated.

Norman






reply via email to

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