Configuration error when building libs

Ctalk Project ctalk at ctalklang.org
Mon Apr 19 12:37:11 CEST 2010


Greetings -

I encountered this error when configuring mpfr 2.4.2 against gmp  
5.0.1.  It doesn't interfere with the build, but it seems confusing.   
Here is the relevant portion of mpfr's config.log:

configure:20217: checking for gmp internal files
configure:20227: gcc -std=gnu99 -c -Wall -Wmissing-prototypes - 
Wpointer-arith -\
m32 -O2 -pedantic -fomit-frame-pointer -mtune=pentium3 - 
march=pentium3 -ffloat-\
store  conftest.c >&5
conftest.c:50:22: gmp-impl.h: No such file or directory
conftest.c:51:22: longlong.h: No such file or directory
configure:20227: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MPFR"
| #define PACKAGE_TARNAME "mpfr"
| #define PACKAGE_VERSION "2.4.2"
| #define PACKAGE_STRING "MPFR 2.4.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PROTOTYPES 1
| #define __PROTOTYPES 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STRING_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_LOCALE_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STDARG 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_VA_COPY 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STRTOL 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LONG_LONG 1
| #define HAVE_INTMAX_T 1
| #define MPFR_HAVE_FESETROUND 1
| #define HAVE_DENORMS 1
| #define HAVE_ROUND 1
| #define HAVE_TRUNC 1
| #define HAVE_FLOOR 1
| #define HAVE_CEIL 1
| #define HAVE_NEARBYINT 1
| #define HAVE_LONG_DOUBLE 1
| #define HAVE_LDOUBLE_IEEE_EXT_LITTLE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_ATTRIBUTE_MODE 1
| /* end confdefs.h.  */
| /* end confdefs.h.  */
|
| #include "gmp.h"
| #include "gmp-impl.h"
| #include "longlong.h"
|


It appears that gmp does not install gmp-impl.h and longlong.h in  
<prefix>/include with the default configuation options.  Perhaps this  
example should also not be a default check unless linking against gmp  
sources explicitly.

The mpfr library still builds, as does libmpc and gcc, provided the  
compiler's build can locate the correct versions of everything else.   
No need to send a corrected version.

Thanks again,

Robert

Ctalk Home Page:  http://www.ctalklang.org





More information about the gmp-bugs mailing list