logo       

Re: gcc error: msg#00100

python.apple

Subject: Re: gcc error


Thanks for the response. In reply:

I don't think so. I installed the recent developer tools, but I can get the error using the older compiler

numarray-0.9 > sudo /usr/sbin/gcc_select 2
Default compiler has been set to:
Apple Computer, Inc. version gcc-938, based on gcc version 2.95.2 19991024 (release)
numarray-0.9 > python setup.py build
Using EXTRA_COMPILE_ARGS = ['-Ddarwin']
running build
running build_py
copying Lib/numinclude.py -> build/lib.darwin-7.3.0-Power_Macintosh-2.3/numarray
running build_ext
building 'numarray._conv' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude/numarray -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c Src/_convmodule.c -o build/temp.darwin-7.3.0-Power_Macintosh-2.3/Src/_convmodule.o -Ddarwin
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 find it difficult to figure out where it is setting the various options, etc. Can you suggest a useful source to read for a coherent overview of what's supposed to happen?

Thanks

On May 17, 2004, at 2:17 AM, Jack Jansen wrote:

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@xxxxxx>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma Goldman


Dr. Séamus F. O'Shea
Professor of Chemistry
Vice President (Academic) & Provost
University of Lethbridge
(403) 329-2202
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/pythonmac-sig
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise