Configure error
Closed this issue · 1 comments
vicentebolea commented
First I tried to generate the configure script by using modern version of all the autotools and GCC.
Then, I tried to generate it by using those tools versions of that time but when I run the configure file I still get the same errors which is always the broken variable CPPFLAGS
Here is the configure error:
checking for GMP library... checking for gmp.h...
configure: error: Could not find gmp.h header
Here is the config.log section which describe the error:
configure:22748: gcc34 -c -g -O2 -I/home/vicente/build/chord/../sfslite -I/home/vicente/build/chord/../sfslite/$(srcdir); export srcdir; \
/home/vicente/sfslite/async -I/home/vicente/build/chord/../sfslite/$(srcdir); export srcdir; \
/home/vicente/sfslite/arpc -I/home/vicente/build/chord/../sfslite/$(srcdir); export srcdir; \
/home/vicente/sfslite/crypt -I/home/vicente/build/chord/../sfslite/$(srcdir); export srcdir; \
/home/vicente/sfslite/sfsmisc -I/home/vicente/build/chord/../sfslite/$(srcdir); export srcdir; \
/home/vicente/sfslite/libsfs -I/home/vicente/build/chord/../sfslite/svc -I/usr/include conftest.c >&5
gcc34: export: No such file or directory
gcc34: srcdir;: No such file or directory
gcc34: \: No such file or directory
gcc34: export: No such file or directory
gcc34: srcdir;: No such file or directory
gcc34: \: No such file or directory
gcc34: export: No such file or directory
gcc34: srcdir;: No such file or directory
gcc34: \: No such file or directory
gcc34: export: No such file or directory
gcc34: srcdir;: No such file or directory
gcc34: \: No such file or directory
gcc34: export: No such file or directory
gcc34: srcdir;: No such file or directory
gcc34: \: No such file or directory
configure:22754: $? = 1
configure: failed program was:
Here is the CPPFLAGS value in the config.log file:
CPPFLAGS=' -I/home/vicente/build/chord/../sfslite -I/home/vicente/build/chord/../sfslite/$(srcdir); export srcdir; \
Version of tools:
- GCC 3.4, 4.4, 4.7.2
- Autoconf/aclocal/autoheader 2.59, 2.69
- Automake 1.9.6, 1.15
- OS: Centos 5.9, Ubuntu 12.04 all of them 64bits
sit commented
Did you install an appropriate version of libgmp?
(To be honest, I don't remember what version that would be, but something circa 2008 would be a good guess.)