[Pythonmac-SIG] configure failing with Python 2.4

Kevin Dangoor kid at kendermedia.com
Sat Dec 25 03:08:10 CET 2004


After trying to build a module today (and failing), I went searching 
around for the answer to this problem. It turns out that there are 
installation problems with older versions of Xcode. I had installed 
Xcode 1.1 from my Panther CDs. Downloading and installing Xcode 1.5 
fixed the problem (and I've got Python 2.4 building in another window as 
I write this).

Kevin

Bob Ippolito wrote:

> Reinstall Xcode and/or make sure you aren't using Fink or something 
> which may have installed an alternate compiler (make sure "which cc" 
> and "which gcc" point to /usr/bin).
>
> On Dec 23, 2004, at 10:23 AM, Kevin Dangoor wrote:
>
>> Err, while this might be enough info for someone to go on, I just 
>> realized that there's not much there...
>>
>> I'm running Mac OS 10.3.6. I have XCode/Developer Tools installed, 
>> though that didn't seem to make any difference. I even tried moving 
>> my .bashrc and .profile files out of the way to be sure that those 
>> weren't causing any grief.
>>
>> Kevin
>>
>> Kevin Dangoor wrote:
>>
>>> I'm thinking that I must be doing something simple wrong... 
>>> hopefully that's the case.
>>>
>>> I downloaded the Python 2.4 source and tried to run a basic 
>>> ./configure to see what I get. What I got was this error:
>>>
>>> checking for C++ compiler default output file name... configure: 
>>> error: C++ compiler cannot create executables
>>>
>>> which appears to be caused by
>>>
>>> configure:1772: c++    conftest.cc  >&5
>>> ld: can't locate file for: -lcrt1.o
>>>
>>> While I'm sure I can track that down, I figured that I must be doing 
>>> something silly. Can anyone tell me what I'm missing?
>>



More information about the Pythonmac-SIG mailing list