This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:592: checking for non-GNU ld configure:627: checking if the linker (/usr/bin/ld) is GNU ld configure:675: checking host system type configure:708: checking for a BSD compatible install configure:765: checking for gawk configure:797: checking for gcc configure:910: checking whether the C compiler (cc -fno-common ) works configure:926: cc -o conftest -fno-common conftest.c 1>&5 configure:952: checking whether the C compiler (cc -fno-common ) is a cross-compiler configure:957: checking whether we are using GNU C configure:966: cc -E conftest.c configure:985: checking whether cc accepts -g configure:1018: checking for strerror in -lcposix configure:1037: cc -o conftest -fno-common conftest.c -lcposix 1>&5 ld: can't locate file for: -lcposix configure: failed program was: #line 1026 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strerror(); int main() { strerror() ; return 0; } configure:1064: checking for rpmbuild configure:1064: checking for rpm configure:1110: checking for gmake configure:1143: checking whether MWOS cross-compiler support is requested configure:1162: checking for presence of /etc/printcap configure:1176: checking for lpstat configure:1222: checking how to run the C preprocessor configure:1243: cc -E conftest.c >/dev/null 2>conftest.out configure:1319: checking for shared library run path origin configure:1344: checking whether make sets ${MAKE} configure:1383: checking for ranlib configure:1411: checking for ANSI C header files configure:1424: cc -E conftest.c >/dev/null 2>conftest.out configure:1491: cc -o conftest -fno-common conftest.c 1>&5 configure:1515: checking for working const configure:1569: cc -c -fno-common conftest.c 1>&5 configure:1590: checking for inline configure:1604: cc -c -fno-common conftest.c 1>&5 configure:1630: checking for off_t configure:1663: checking for size_t configure:1698: checking for working alloca.h configure:1710: cc -o conftest -fno-common conftest.c 1>&5 configure:1731: checking for alloca configure:1764: cc -o conftest -fno-common conftest.c 1>&5 configure:1933: checking for stdlib.h configure:1943: cc -E conftest.c >/dev/null 2>conftest.out configure:1933: checking for unistd.h configure:1943: cc -E conftest.c >/dev/null 2>conftest.out configure:1933: checking for sys/stat.h configure:1943: cc -E conftest.c >/dev/null 2>conftest.out configure:1933: checking for sys/types.h configure:1943: cc -E conftest.c >/dev/null 2>conftest.out configure:1972: checking for getpagesize configure:2000: cc -o conftest -fno-common conftest.c 1>&5 configure:2025: checking for working mmap configure:2186: cc -o conftest -fno-common conftest.c 1>&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from configure:2056: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure: failed program was: #line 2033 "configure" #include "confdefs.h" /* 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 #if HAVE_SYS_TYPES_H # include #endif #if HAVE_STDLIB_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if HAVE_UNISTD_H # include #endif /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE /* 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:2210: checking whether we are using the GNU C Library 2.1 or newer configure:2217:22: features.h: No such file or directory configure:2630: checking for iconv configure:2648: cc -o conftest -fno-common conftest.c 1>&5 In file included from /usr/include/machine/types.h:32, from /usr/include/stdlib.h:248, from configure:2639: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /usr/local/include/stdint.h:162: error: previous declaration of `int8_t' /usr/include/i386/types.h:99: error: conflicting types for `uintptr_t' /usr/local/include/stdint.h:272: error: previous declaration of `uintptr_t' configure: failed program was: #line 2638 "configure" #include "confdefs.h" #include #include int main() { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } configure:2670: cc -o conftest -fno-common conftest.c -liconv 1>&5 In file included from /usr/include/machine/types.h:32, from /usr/include/stdlib.h:248, from configure:2661: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /usr/local/include/stdint.h:162: error: previous declaration of `int8_t' /usr/include/i386/types.h:99: error: conflicting types for `uintptr_t' /usr/local/include/stdint.h:272: error: previous declaration of `uintptr_t' configure: failed program was: #line 2660 "configure" #include "confdefs.h" #include #include int main() { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } configure:2709: checking for msgfmt configure:2744: checking for gmsgfmt configure:2781: checking for xgettext configure:2818: checking for msgmerge configure:2881: checking for argz.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2887:18: argz.h: No such file or directory configure: failed program was: #line 2886 "configure" #include "confdefs.h" #include configure:2881: checking for limits.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2881: checking for locale.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2881: checking for nl_types.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2881: checking for malloc.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2881: checking for stddef.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2881: checking for stdlib.h configure:2881: checking for string.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2881: checking for unistd.h configure:2881: checking for sys/param.h configure:2891: cc -E conftest.c >/dev/null 2>conftest.out configure:2922: checking for feof_unlocked configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for fgets_unlocked configure:2950: cc -o conftest -fno-common conftest.c 1>&5 ld: Undefined symbols: _fgets_unlocked configure: failed program was: #line 2927 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fgets_unlocked(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fgets_unlocked(); 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_fgets_unlocked) || defined (__stub___fgets_unlocked) choke me #else fgets_unlocked(); #endif ; return 0; } configure:2922: checking for getc_unlocked configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for getcwd configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for getegid configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for geteuid configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for getgid configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for getuid configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for mempcpy configure:2950: cc -o conftest -fno-common conftest.c 1>&5 ld: Undefined symbols: _mempcpy configure: failed program was: #line 2927 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mempcpy(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mempcpy(); 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_mempcpy) || defined (__stub___mempcpy) choke me #else mempcpy(); #endif ; return 0; } configure:2922: checking for munmap configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for putenv configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for setenv configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for setlocale configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for stpcpy configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for strcasecmp configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for strdup configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for strtoul configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for tsearch configure:2950: cc -o conftest -fno-common conftest.c 1>&5 configure:2922: checking for __argz_count configure:2950: cc -o conftest -fno-common conftest.c 1>&5 ld: Undefined symbols: ___argz_count configure: failed program was: #line 2927 "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. */ /* 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:2922: checking for __argz_stringify configure:2950: cc -o conftest -fno-common conftest.c 1>&5 ld: Undefined symbols: ___argz_stringify configure: failed program was: #line 2927 "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. */ /* 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:2922: checking for __argz_next configure:2950: cc -o conftest -fno-common conftest.c 1>&5 ld: Undefined symbols: ___argz_next configure: failed program was: #line 2927 "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. */ /* 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:3028: checking for nl_langinfo and CODESET configure:3040: cc -o conftest -fno-common conftest.c 1>&5 configure:3063: checking for LC_MESSAGES configure:3075: cc -o conftest -fno-common conftest.c 1>&5 configure:3101: checking for bison configure:3134: checking version of bison configure:3161: checking whether NLS is requested configure:3185: checking whether included gettext is requested configure:3205: checking for GNU gettext in libc configure:3220: cc -o conftest -fno-common conftest.c 1>&5 ld: Undefined symbols: __nl_domain_bindings __nl_msg_cat_cntr _libintl_bindtextdomain _libintl_gettext configure: failed program was: #line 3210 "configure" #include "confdefs.h" #include extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; int main() { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings ; return 0; } configure:3590: checking for GNU gettext in libintl configure:3614: cc -o conftest -fno-common conftest.c -lintl 1>&5 ld: Undefined symbols: __nl_domain_bindings configure: failed program was: #line 3599 "configure" #include "confdefs.h" #include extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (); int main() { bindtextdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0) ; return 0; } configure:3784: checking for ANSI C header files configure:3888: checking for sys/wait.h that is POSIX.1 compatible configure:3909: cc -c -fno-common conftest.c 1>&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from configure:3894: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure: failed program was: #line 3893 "configure" #include "confdefs.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } configure:3933: checking for malloc.h configure:3933: checking for sys/ioctl.h configure:3943: cc -E conftest.c >/dev/null 2>conftest.out configure:3933: checking for sys/time.h configure:3943: cc -E conftest.c >/dev/null 2>conftest.out configure:3933: checking for unistd.h configure:3933: checking for memory.h configure:3943: cc -E conftest.c >/dev/null 2>conftest.out configure:3933: checking for signal.h configure:3943: cc -E conftest.c >/dev/null 2>conftest.out configure:3933: checking for sys/filio.h configure:3943: cc -E conftest.c >/dev/null 2>conftest.out configure:3971: checking for working const configure:4046: checking for inline configure:4086: checking for pid_t configure:4121: checking whether cc needs -traditional configure:4146:20: termio.h: No such file or directory configure:4167: checking return type of signal handlers configure:4189: cc -c -fno-common conftest.c 1>&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from configure:4173: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure: failed program was: #line 4172 "configure" #include "confdefs.h" #include #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void (*)(int)))(int); #else void (*signal ()) (); #endif int main() { int i; ; return 0; } configure:4208: checking for wait3 that fills in rusage configure:4249: cc -o conftest -fno-common conftest.c 1>&5 In file included from /usr/include/sys/_endian.h:103, from /usr/include/i386/endian.h:92, from /usr/include/machine/endian.h:32, from /usr/include/sys/types.h:75, from configure:4217: /usr/local/include/stdint.h:162: error: conflicting types for `int8_t' /usr/include/i386/types.h:72: error: previous declaration of `int8_t' /usr/local/include/stdint.h:272: error: conflicting types for `uintptr_t' /usr/include/i386/types.h:99: error: previous declaration of `uintptr_t' configure: failed program was: #line 4216 "configure" #include "confdefs.h" #include #include #include #include /* HP-UX has wait3 but does not fill in rusage at all. */ main() { struct rusage r; int i; /* Use a field that we can force nonzero -- voluntary context switches. For systems like NeXT and OSF/1 that don't set it, also use the system CPU time. And page faults (I/O) for Linux. */ r.ru_nvcsw = 0; r.ru_stime.tv_sec = 0; r.ru_stime.tv_usec = 0; r.ru_majflt = r.ru_minflt = 0; switch (fork()) { case 0: /* Child. */ /* Unless we actually _do_ something, the kernel sometimes doesn't chalk up any system time to this process. */ if(fork()) { i = 123; wait(NULL); } else { i = 234; exit(0); } sleep(1); /* Give up the CPU. */ _exit(0); case -1: _exit(0); /* What can we do? */ default: /* Parent. */ wait3(&i, 0, &r); sleep(2); /* Avoid "text file busy" from rm on fast HP-UX machines. */ exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); } } configure:4274: checking for putenv configure:4274: checking for regcomp configure:4302: cc -o conftest -fno-common conftest.c 1>&5 configure:4274: checking for strchr configure:4302: cc -o conftest -fno-common conftest.c 1>&5 configure:4286: warning: conflicting types for built-in function `strchr' configure:4274: checking for unsetenv configure:4302: cc -o conftest -fno-common conftest.c 1>&5 configure:4274: checking for killpg configure:4302: cc -o conftest -fno-common conftest.c 1>&5 configure:4330: checking for signal semantics configure:4380: cc -o conftest -fno-common conftest.c 1>&5 configure: In function `main': configure:4363: error: `SIGCLD' undeclared (first use in this function) configure:4363: error: (Each undeclared identifier is reported only once configure:4363: error: for each function it appears in.) configure:4363: warning: passing arg 2 of `signal' from incompatible pointer type configure: failed program was: #line 4346 "configure" #include "confdefs.h" #include static int ncaught; static RETSIGTYPE handler(int sig) { ncaught++; } int main(int argc, char **argv) { int i; signal(SIGCLD, handler); for (i=0 ; i<5 ; i++) kill(getpid(), SIGCLD); switch (ncaught) { case 5: /* BSD signal semantics */ return 0; case 1: /* SysV signal semantics */ return 1; default: /* something is awry */ return 2; } } configure:4439: cc -o conftest -fno-common conftest.c 1>&5 configure: In function `main': configure:4422: error: `SIGCLD' undeclared (first use in this function) configure:4422: error: (Each undeclared identifier is reported only once configure:4422: error: for each function it appears in.) configure: failed program was: #line 4398 "configure" #include "confdefs.h" #include static int ncaught; static void handler(int sig) { ncaught++; } struct sigaction act; int main(int argc, char **argv) { int i; act.sa_handler = handler; #ifdef SA_RESTART act.sa_flags |= SA_RESTART; #endif sigaction(SIGCLD, &act, 0); for (i=0 ; i<5 ; i++) kill(getpid(), SIGCLD); switch (ncaught) { case 5: /* BSD signal semantics */ return 0; case 1: /* SysV signal semantics */ return 1; default: /* something is awry */ return 2; } } configure:4494: cc -o conftest -fno-common conftest.c 1>&5 configure: In function `main': configure:4475: warning: assignment from incompatible pointer type configure:4477: error: `SIGCLD' undeclared (first use in this function) configure:4477: error: (Each undeclared identifier is reported only once configure:4477: error: for each function it appears in.) configure: failed program was: #line 4456 "configure" #include "confdefs.h" #include static int ncaught; static RETSIGTYPE handler(int sig) { ncaught++; } struct sigvec vec; int main(int argc, char **argv) { int i; vec.sv_handler = handler; sigvec(SIGCLD, &vec, 0); for (i=0 ; i<5 ; i++) kill(getpid(), SIGCLD); switch (ncaught) { case 5: /* BSD signal semantics */ return 0; case 1: /* SysV signal semantics */ return 1; default: /* something is awry */ return 2; } } configure:4530: checking which OS-specific source to enable configure:4581: checking for non-GNU make programs configure:4610: checking for pkg-config configure:4654: checking for gtk+-2.0 >= 2.0.3 configure:4751: checking for gtk-config configure:4786: checking for GTK - version >= 1.2.0 configure:4887: cc -o conftest -fno-common -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lgtk-12 -lgdk-12 -lgmodule-12 -lglib-12 -lintl -lXi -lXext -lX11 -lm 1>&5 In file included from /usr/include/machine/types.h:32, from /usr/include/stdlib.h:248, from configure:4813: /usr/include/i386/types.h:72: error: conflicting types for `int8_t' /usr/local/include/stdint.h:162: error: previous declaration of `int8_t' /usr/include/i386/types.h:99: error: conflicting types for `uintptr_t' /usr/local/include/stdint.h:272: error: previous declaration of `uintptr_t' configure: failed program was: #line 4809 "configure" #include "confdefs.h" #include #include #include int main () { int major, minor, micro; char *tmp_version; system ("touch conf.gtktest"); /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = g_strdup("1.2.0"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { printf("%s, bad version string\n", "1.2.0"); exit(1); } if ((gtk_major_version != 1) || (gtk_minor_version != 2) || (gtk_micro_version != 10)) { printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 1, 2, 10, gtk_major_version, gtk_minor_version, gtk_micro_version); printf ("*** was found! If gtk-config was correct, then it is best\n"); printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** required on your system.\n"); printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); } #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) else if ((gtk_major_version != GTK_MAJOR_VERSION) || (gtk_minor_version != GTK_MINOR_VERSION) || (gtk_micro_version != GTK_MICRO_VERSION)) { printf("*** GTK+ header files (version %d.%d.%d) do not match\n", GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); printf("*** library (version %d.%d.%d)\n", gtk_major_version, gtk_minor_version, gtk_micro_version); } #endif /* defined (GTK_MAJOR_VERSION) ... */ else { if ((gtk_major_version > major) || ((gtk_major_version == major) && (gtk_minor_version > minor)) || ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) { return 0; } else { printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", gtk_major_version, gtk_minor_version, gtk_micro_version); printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", major, minor, micro); printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); printf("***\n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); printf("*** correct copy of gtk-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); } } return 1; } configure:4931: cc -o conftest -fno-common -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lgtk-12 -lgdk-12 -lgmodule-12 -lglib-12 -lintl -lXi -lXext -lX11 -lm 1>&5