hi, i tried all this: for
$ include_dirs=/opt/local/include/freetype2 my-python setup.py build http://paste.lisp.org/display/95112 if i don't include the include_dirs=/opt/local/include/freetype2 i get this: Creating config.h... running build running build_ext building 'SWF' extension gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/khinester/include -I/opt/local/include -Ilib/lame/ -Ilib/pdf/xpdf -Ilib/pdf -I/Users/khinester/include/python2.6 -c lib/modules/swffont.c -o build/temp.macosx-10.4-i386-2.6/lib/modules/swffont.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/modules/swffont.c:50:31: error: freetype/freetype.h: No such file or directory i also tried: PYTHON=/Users/khinester/bin/python2.6 export PYTHON but when i run ./configure i still get the system python, which does work and swftools builds and installs correctly, but i want to build the python extensions for this version of python and not the system's. thanks for any help. norman On Tue, Feb 16, 2010 at 10:22 PM, Ricardo Pedroso <[email protected]> wrote: > On Tue, Feb 16, 2010 at 8:05 PM, Norman Khine <[email protected]> wrote: >> hello, >> i tried: >> >> $ ./configure --prefix=$HOME PYTHON=$HOME/bin/python >> >> but this does not work. >> >> Is there a more direct way to choose which python to use? >> > > You can try the setup.py in the root directory of swftools source : > $HOME/bin/python setup.py build > $HOME/bin/python setup.py install > > or try export PATH with (assuming bash here): > $ export PATH=$HOME/bin:$PATH > > and probably configure will use your HOME python, I'm not sure > >> -- >> %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or >> chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) >> > > Nice signature, I like it :) > > Ricardo > -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
