I can't install gmp
Torbjorn Granlund
tg at gmplib.org
Mon Nov 16 16:23:34 CET 2009
Bianca De Souza <beebeeamoras at aol.com> writes:
I can't install gmp-4.3.1 library on a mac os x (Snow Leopard). Can someone help me out with this problem.
When I tried ./configure the following appears:
Beebees-MacBook-Air:gmp-4.3.1 Beebee$ ./configure
checking build system type... i386-apple-darwin10.2.0
checking host system type... i386-apple-darwin10.2.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler cc -O2 -pedantic -fomit-frame-pointer ... no
configure: error: could not find a working compiler, see config.log for details
I have gcc installed because of Xcode and it is seems to be working fine.
I checked for the config.log and I don't understand what is wrong. it shows the following:
[snip]
Surely, that's not the entire config.log contents?
Please either send the entire config.log (compressed!) as an
attatchment, or answer the following questions:
1. What does
gcc -m32 -O2 -pedantic -fomit-frame-pointer foo.c
print, where foo.c is a trivial program, such as "int foo(){}"?
2. If the compilation succeeds, then what does
file a.out
print?
3. Please repeat step 1 and 2, with -m32 replaced by -m64.
4. Please repeat step 1 and 2 with neither -m32 or -m64.
--
Torbjörn
More information about the gmp-bugs
mailing list