[Pythonmac-SIG] gcc error

Jack Jansen Jack.Jansen at cwi.nl
Mon May 17 04:17:41 EDT 2004


On 16-mei-04, at 7:13, Seamus O'Shea wrote:

> When running 10.3.3 and MacPython2.3,  I get the following error when  
> attempting to install numeric 23.1:
> ..........
> building '_numpy' extension
> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
> -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall  
> -Wstrict-prototypes -IInclude -IPackages/FFT/Include  
> -IPackages/RNG/Include  
> -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
> python2.3 -c Src/ufuncobject.c -o  
> build/temp.darwin-7.3.0-Power_Macintosh-2.3/Src/ufuncobject.o
> gcc: unrecognized option `-no-cpp-precomp'
> gcc: installation problem, cannot exec `cc1': No such file or directory
> error: command 'gcc' failed with exit status 1
>
> I believe I have the most recent gcc installed.  What gives?

Could it be that you have a *too* new gcc, i.e. did you install your  
own version of gcc (as opposed to the apple-installed gcc)?
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  
Goldman




More information about the Pythonmac-SIG mailing list