On Jul 29, 2008, at 11:30 AM, Trenskow wrote:

>
> I solved this by creating a nasty little hack, that did the trick.  
> The reason
> it fails, is that the internal variable set to determine the gcc  
> location is
> somehow not set, and therefore it tries to execute the first  
> parameter as if
> it was an executable file. To me it is a problem with a handful of the
> python packages.
>
> All I did was I created a file in /opt/local/bin, named it
> -fno-strict-aliasing, and added the following:
>

That sounds like the Tcl env bug:

<http://trac.macports.org/ticket/13930>

Anytime you see switches to a command that's missing, it's probably  
that.  I see this thread began before the bug was uncovered, so that  
would explain the various areas explored to fix it.

Bryan


> #!/bin/bash
>
> gcc -fno-strict-aliasing $@
>
> saved and "chmod +x" it. Thereby there is actually a file with the  
> name of
> the first parameter that can be executed, and thereby running gcc  
> with the
> correct parameters.
>
> (This of course assumes that you have /opt/local/bin in you path.
>
> Hope it works
>
> Trenskow
>
>
>
> 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.
>>
>>
>
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to