This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:553: checking for c++ configure:585: checking whether the C++ compiler (c++ -fno-common -L/usr/local/lib -lintl) works configure:601: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:627: checking whether the C++ compiler (c++ -fno-common -L/usr/local/lib -lintl) is a cross-compiler configure:632: checking whether we are using GNU C++ configure:641: c++ -E conftest.C configure:660: checking whether c++ accepts -g configure:701: checking how to run the C++ preprocessor configure:719: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:744: checking whether gmake sets ${MAKE} configure:773: checking for gcc configure:886: checking whether the C compiler (cc -fno-common -L/usr/local/lib -lintl) works configure:902: cc -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.c 1>&5 configure:928: checking whether the C compiler (cc -fno-common -L/usr/local/lib -lintl) is a cross-compiler configure:933: checking whether we are using GNU C configure:942: cc -E conftest.c configure:961: checking whether cc accepts -g configure:995: checking for ranlib configure:1023: checking for POSIXized ISC configure:1044: checking for ANSI C header files configure:1057: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1127: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1151: checking for working const configure:1205: c++ -c -fno-common -I/usr/local/include conftest.C 1>&5 configure: In function `int main()': configure:1161: error: uninitialized const `x' configure: failed program was: #line 1156 "configure" #include "confdefs.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } ; return 0; } configure:1226: checking for inline configure:1240: c++ -c -fno-common -I/usr/local/include conftest.C 1>&5 configure:1236: warning: ISO C++ forbids declaration of `foo' with no type configure:1266: checking for off_t configure:1299: checking for size_t configure:1334: checking for working alloca.h configure:1346: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure: In function `int main()': configure:1342: warning: invalid conversion from `void*' to `char*' configure:1367: checking for alloca configure:1400: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1575: checking for unistd.h configure:1585: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1614: checking for getpagesize configure:1645: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1670: checking for working mmap configure:1821: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure: In function `int main()': configure:1762: error: `getpagesize' undeclared (first use this function) configure:1762: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:1767: warning: invalid conversion from `void*' to `char*' configure:1771: error: `rand' undeclared (first use this function) configure:1772: error: `umask' undeclared (first use this function) configure:1776: error: `write' undeclared (first use this function) configure:1778: error: `close' undeclared (first use this function) configure:1788: warning: invalid conversion from `void*' to `char*' configure:1806: warning: invalid conversion from `void*' to `char*' configure:1809: error: `read' undeclared (first use this function) configure:1815: error: `unlink' undeclared (first use this function) configure: failed program was: #line 1678 "configure" #include "confdefs.h" #ifdef __cplusplus extern "C" void exit(int); #endif /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the filesystem buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propogated back to all the places they're supposed to be. Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ #include #include #include /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE # ifdef HAVE_UNISTD_H # include # endif /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif int main() { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize(); /* * First, make a file with some known garbage in it. */ data = malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd); /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1); /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); } configure:1849: checking for argz.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1855:18: argz.h: No such file or directory configure: failed program was: #line 1854 "configure" #include "confdefs.h" #include configure:1849: checking for limits.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1849: checking for locale.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1849: checking for nl_types.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1849: checking for malloc.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1849: checking for string.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1849: checking for unistd.h configure:1849: checking for sys/param.h configure:1859: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:1889: checking for getcwd configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1889: checking for munmap configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1889: checking for putenv configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1904: error: declaration of C function `char putenv()' conflicts with /usr/include/stdlib.h:221: error: previous declaration `int putenv(char*)' here configure: failed program was: #line 1894 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char putenv(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char putenv(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_putenv) || defined (__stub___putenv) choke me #else putenv(); #endif ; return 0; } configure:1889: checking for setenv configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1904: error: declaration of C function `char setenv()' conflicts with /usr/include/stdlib.h:226: error: previous declaration `int setenv(char*, char*, int)' here configure: failed program was: #line 1894 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char setenv(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char setenv(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_setenv) || defined (__stub___setenv) choke me #else setenv(); #endif ; return 0; } configure:1889: checking for setlocale configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1889: checking for strchr configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1889: checking for strcasecmp configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1889: checking for strdup configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:1889: checking for __argz_count configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 ld: Undefined symbols: ___argz_count configure: failed program was: #line 1894 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __argz_count(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __argz_count(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___argz_count) || defined (__stub_____argz_count) choke me #else __argz_count(); #endif ; return 0; } configure:1889: checking for __argz_stringify configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 ld: Undefined symbols: ___argz_stringify configure: failed program was: #line 1894 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __argz_stringify(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __argz_stringify(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify) choke me #else __argz_stringify(); #endif ; return 0; } configure:1889: checking for __argz_next configure:1920: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 ld: Undefined symbols: ___argz_next configure: failed program was: #line 1894 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __argz_next(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __argz_next(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___argz_next) || defined (__stub_____argz_next) choke me #else __argz_next(); #endif ; return 0; } configure:1949: checking for stpcpy configure:1980: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:2014: checking for LC_MESSAGES configure:2026: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:2047: checking whether NLS is requested configure:2067: checking whether included gettext is requested configure:2086: checking for libintl.h configure:2096: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:2113: checking for gettext in libc configure:2125: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:2245: checking for msgfmt configure:2279: checking for dcgettext configure:2310: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:2294: error: nonnull argument with out-of-range operand number (arg 1 , operand 2) configure: failed program was: #line 2284 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dcgettext(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dcgettext(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dcgettext) || defined (__stub___dcgettext) choke me #else dcgettext(); #endif ; return 0; } configure:2337: checking for gmsgfmt configure:2373: checking for xgettext configure:2413: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C 1>&5 configure:2874: checking for catalogs to be installed configure:3008: checking for a BSD compatible install configure:3061: checking whether gmake sets ${MAKE} configure:3089: checking for ANSI C header files configure:3197: checking for main in -lstdc++ configure:3212: c++ -o conftest -fno-common -I/usr/local/include -L/usr/local/lib -lintl conftest.C -lstdc++ 1>&5 configure:3242: checking for fcntl.h configure:3252: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3276: checking for unistd.h configure:3310: checking for sys/stat.h configure:3320: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3344: checking for sys/types.h configure:3354: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3378: checking for algorithm configure:3388: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3412: checking for map configure:3422: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3446: checking for ext/slist configure:3456: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3480: checking for string configure:3490: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3514: checking for vector configure:3524: c++ -E -I/usr/local/include conftest.C >/dev/null 2>conftest.out configure:3585: checking for gnome-config