On Tue, 28 Jun 2011 20:05:12 -0400 Jamie Begin <[email protected]> wrote:
> I've spent hours and hours on this and am about at wit's end. Any advice > would be greatly appreciated: Sounds a familiar scenario.. ;o) > I'm attempting to build the Python library for swftools 0.9.1 on CentOS 5.5 > x64 and using Python 2.6.5 compiled from source. Well I don't have centos or 2.6.5, however.. > This is the error I am > getting in config.log when it attempts to compile "conftest": > > <snip> > /usr/local/lib/libpython2.6.a(thread.o): In function > `PyThread_allocate_lock': > /usr/src/Python-2.6.5/Python/thread_pthread.h:296: undefined reference to ... why is it looking in such a strange directory, namely /usr/src/Pyth... ? > #include <Python.h> Where exactly *is* your python.h? /usr/include? Or somewhere stranger? > If I instead try to execute "python setup.py build", I get the following > error: > Creating config.h... > Error: Couldn't find jpeg library on your system > PIL, libjpeg, and the libjpeg development package are all installed. Quite posibbly, but not where you're installation is looking for them! Chech the relevant sections here, http://wiki.swftools.org/index.php/Installation HTH a little. Regards, Chris. -- <[email protected]>
