Re: failed hellanzb

2008-07-29 Thread Trenskow

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:

#!/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
 
 

-- 
View this message in context: 
http://www.nabble.com/failed-hellanzb-tp15513854p18717401.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed hellanzb

2008-07-29 Thread Bryan Blackburn
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


Re: failed hellanzb

2008-03-23 Thread PacoBell

After some cursory research about this problem, I discovered one posted
solution about first installing python25. It seems to work, although I have
no idea why python24 would be having such difficulty. HTH. 
-- 
View this message in context: 
http://www.nabble.com/failed-hellanzb-tp15513854p16232470.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed hellanzb

2008-02-15 Thread Mack Johnson
It's a fresh install of 10.5.2, and Macports 1.6.0.  I'm on a Dual  
1.4.2 PowerMac G4.

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?


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed hellanzb

2008-02-15 Thread Ryan Schmidt

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?

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed hellanzb

2008-02-15 Thread Ryan Schmidt
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?


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed hellanzb

2008-02-15 Thread Ryan Schmidt
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.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users