Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PIL for python 3.2
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message

Joined: 22 Aug 2006
Posts: 391

PostPosted: Sat Mar 24, 2012 3:50 am    Post subject: PIL for python 3.2 Reply with quote

Hi all,

I found unofficial source for PIL on python 3.2 at . When I try to build it, it seems that it can't find libraries like tkInter, zlib, or freetype2. When I step through using pdb, it turns out that the library extension it is looking for is, not .so. For example, in

find_library_file(self, "tcl" + version):
feature.tcl = "tcl"+TCL_VERSION

self is: <__main__.pil_build_ext object at 0xf44510>

find_library_file is:

def find_library_file(self, library):
return self.compiler.find_library_file(self.compiler.library_dirs, library)

self.compiler is <distutils.unixccompiler.UnixCCompiler object at 0xfc5410>
library is: 'tcl8.5'

when I check the shared_lib_extension it returns '' - not '.so'

I can't figure out how the extensions are determined. When I start a python session and import distutils and check the UnixCCompiler shared library extensions, it returns .so

I can't find any environment variables the specify cpython-32 nor can I find any reference to cpyhton-32 when I grep the code. Does anyone know why the extensions would be different when running the script vs just a regular session? Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum