Re: [Pythonmac-SIG] Missing symbols in module compiled with distutils

2006-06-19 Thread Hartmut Goebel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Birch schrieb: > extra_link_args = frameworks > ('CoreServices','CoreFoundation'), This gives you a list of four arguments, while this >>> extra_link_args = ['-framework CoreServices', '- >>> framework

Re: [Pythonmac-SIG] Missing symbols in module compiled with distutils

2006-06-19 Thread Tom Birch
really really weird, I changed my setup.py to this: def frameworks(*args): lst = [] for arg in args: lst.extend(['-framework', arg]) return lst module1 = Extension('pysearchkit', extra_link_args = frameworks ('CoreServices','CoreFoundation'),

Re: [Pythonmac-SIG] Missing symbols in module compiled with distutils

2006-06-19 Thread Tom Birch
I just tried with the Python2.4.3 binary release for OSX from python.org and i get the same error cheers, Tom On 19/06/2006, at 20:30:22, Tom Birch wrote: > I'm just playing around with writing a Python wrapper for SearchKit, > and when I was just getting the very basics down of the first clas

[Pythonmac-SIG] Missing symbols in module compiled with distutils

2006-06-19 Thread Tom Birch
I'm just playing around with writing a Python wrapper for SearchKit, and when I was just getting the very basics down of the first class, I ran into this problem when importing my module: ImportError: Failure linking new module: /Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4