[Pythonmac-SIG] Issue with distutils on OS X ( 10.3)
Bob Ippolito
bob at redivi.com
Mon Aug 16 22:55:41 CEST 2004
On Aug 16, 2004, at 4:47 PM, Nathen Hinson wrote:
> On Aug 15, 2004, at 5:54 PM, Bob Ippolito wrote:
>
>> On Aug 13, 2004, at 5:23 PM, Nathen Hinson wrote:
>>
>>> I am receiving an error with distutils while trying to build an
>>> extension module ( pyclips ). I get the following Traceback:
>>>
--
>>> TypeError: cannot concatenate 'str' and 'NoneType' objects
>>>
>>> I have taken a look at the sysconfig.py script where
>>> customize_compiler lives and also taken a look at get_config_vars
>>> which is trying to populate a tuple with environmental variables
>>> which OS X does not have by default. Running get_config_vars on this
>>> machine give me the following output:
>>> {'exec_prefix':
>>> '/System/Library/Frameworks/Python.framework/Versions/2.3',
>>> 'prefix':
>>> '/System/Library/Frameworks/Python.framework/Versions/2.3'}
>>>
>>> The get_config_vars() in customize_compiler is looking for variables
>>> that are not in the dictionary I get when using this function on OS
>>> X.
>>>
>>> Does anyone on this list have any ideas or places I might look for
>>> answers ?
>>
>> Do you have Xcode installed? I've never seen this error message
>> before.
>>
> I do have Xcode installed, however I did install it on top of the
> 10.2.x developer tools, I did not remove the old developer tools
> before installing Xcode. I still have the old project builder
> application hanging around. My gcc version is 3.3 as it should be and
> the cc is linked back to it appropriately. Do you think that still
> having the old developer tools around might make a difference ?
Does this happen with other Python projects? Perhaps pyclips is at
fault. I've never even heard of it.
-bob
More information about the Pythonmac-SIG
mailing list