failed hellanzb

Ryan Schmidt ryandesign at macports.org
Fri Feb 15 19:40:45 PST 2008


On Feb 15, 2008, at 21:28, Mack Johnson wrote:

> On Feb 15, 2008, at 7:17 PM, Ryan Schmidt wrote:
>
>> On Feb 15, 2008, at 21:02, Mack Johnson wrote:
>>
>>> On Feb 15, 2008, at 6:46 PM, Ryan Schmidt wrote:
>>>
>>>> On Feb 15, 2008, at 19:52, Mack Johnson wrote:
>>>>
>>>>> Could someone help me with this error?
>>>>>
>>>>> building '_zope_interface_coptimizations' extension
>>>>> creating build/temp.macosx-10.3-ppc-2.4
>>>>> creating build/temp.macosx-10.3-ppc-2.4/src
>>>>> creating build/temp.macosx-10.3-ppc-2.4/src/zope
>>>>> creating build/temp.macosx-10.3-ppc-2.4/src/zope/interface
>>>>> -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno- 
>>>>> fused-madd -
>>>>> fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-
>>>>> prototypes -I/opt/local/Library/Frameworks/Python.framework/ 
>>>>> Versions/
>>>>> 2.4/include/python2.4 -c src/zope/interface/
>>>>> _zope_interface_coptimizations.c -o build/temp.macosx-10.3- 
>>>>> ppc-2.4/src/
>>>>> zope/interface/_zope_interface_coptimizations.o
>>>>> unable to execute -fno-strict-aliasing: No such file or directory
>>>>> error: command '-fno-strict-aliasing' failed with exit status 1
>>>>>
>>>>> Error: The following dependencies failed to build: py-twisted py-
>>>>> zopeinterface shorten unrar
>>>>> Error: Status 1 encountered during processing.
>>>>
>>>> I'm not sure why py-zopeinterface is failing to build for you.  
>>>> It works for me. I have 10.4.11 on Intel with Xcode 2.4.1. The  
>>>> corresponding output on my system is:
>>>>
>>>> building '_zope_interface_coptimizations' extension
>>>> creating build/temp.macosx-10.3-i386-2.4
>>>> creating build/temp.macosx-10.3-i386-2.4/src
>>>> creating build/temp.macosx-10.3-i386-2.4/src/zope
>>>> creating build/temp.macosx-10.3-i386-2.4/src/zope/interface
>>>> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
>>>> precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall - 
>>>> Wstrict-prototypes -I/opt/local/Library/Frameworks/ 
>>>> Python.framework/Versions/2.4/include/python2.4 -c src/zope/ 
>>>> interface/_zope_interface_coptimizations.c -o build/ 
>>>> temp.macosx-10.3-i386-2.4/src/zope/interface/ 
>>>> _zope_interface_coptimizations.o
>>>> /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined  
>>>> dynamic_lookup build/temp.macosx-10.3-i386-2.4/src/zope/ 
>>>> interface/_zope_interface_coptimizations.o -o build/ 
>>>> lib.macosx-10.3-i386-2.4/zope/interface/ 
>>>> _zope_interface_coptimizations.so
>>>>
>>>> I assume you have a PowerPC Mac, based on your output?
>>>>
>>>> For some reason, on your Mac, it hasn't included the path to the  
>>>> compiler, "/usr/bin/gcc-4.0", in the command line. I don't know  
>>>> why. What version of Xcode do you have?
>>>>
>>>> What version of Mac OS X do you have?
>>>
>>> It's a fresh install of 10.5.2, and Macports 1.6.0.  I'm on a  
>>> Dual 1.4.2 PowerMac G4.
>>
>> And you have installed Xcode 3.0? Is /usr/bin/gcc-4.0 present on  
>> your system?
>
> I found "usr" in my Developer directory, shouldn't it be /usr/ and  
> not /Developer/usr/.

In Xcode 2.5, 3.0 and presumably later, there should be both /usr  
and /Developer/usr.

Again: Do you have /usr/bin/gcc-4.0? If you don't, that's a problem.  
If you do, then I don't know what to do, unfortunately. Maybe someone  
else with Leopard and/or a PowerPC Mac could test this.



More information about the macports-users mailing list