Hello, here are my commands:
cd m4-1.4.13/ mkdir target cd target/ ../configure --prefix=/usr/local ... checking whether gettimeofday clobbers localtime buffer... yes checking sys/timeb.h usability... no checking sys/timeb.h presence... yes configure: WARNING: sys/timeb.h: present but cannot be compiled configure: WARNING: sys/timeb.h: check for missing prerequisite headers? configure: WARNING: sys/timeb.h: see the Autoconf documentation configure: WARNING: sys/timeb.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/timeb.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for sys/timeb.h... no checking for _ftime... no checking whether the compiler generally respects inline... yes checking whether isnan(double) can be used without linking with libm... no checking where to find the exponent in a 'double'... unknown checking whether isnan(float) can be used without linking with libm... no checking where to find the exponent in a 'float'... (cached) word 0 bit 23 checking whether isnan(long double) can be used without linking with libm... no checking where to find the exponent in a 'long double'... unknown checking for libsigsegv... (cached) no, consider installing GNU libsigsegv checking whether lseek detects pipes... no checking whether lstat dereferences a symlink specified with a trailing slash... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether mbrtowc handles incomplete characters... no checking whether mbrtowc works as well as mbtowc... no checking whether mbrtowc handles incomplete characters... (cached) no checking whether mbrtowc works as well as mbtowc... (cached) no checking for mkdtemp... yes checking for working mkstemp... no checking for obstacks... no checking whether open recognizes a trailing slash... no checking paths.h usability... no checking paths.h presence... yes configure: WARNING: paths.h: present but cannot be compiled configure: WARNING: paths.h: check for missing prerequisite headers? configure: WARNING: paths.h: see the Autoconf documentation configure: WARNING: paths.h: section "Present But Cannot Be Compiled" configure: WARNING: paths.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for paths.h... no checking for confstr... yes checking for sched_setparam... yes checking for sched_setscheduler... yes checking for setegid... yes checking for seteuid... yes checking for vfork... yes checking whether frexp can be used without linking with libm... (cached) no checking whether ldexp can be used without linking with libm... no checking whether frexpl can be used without linking with libm... (cached) no checking whether ldexpl can be used without linking with libm... no checking for rawmemchr... yes checking for working re_compile_pattern... no checking libintl.h usability... no checking libintl.h presence... yes configure: WARNING: libintl.h: present but cannot be compiled configure: WARNING: libintl.h: check for missing prerequisite headers? configure: WARNING: libintl.h: see the Autoconf documentation configure: WARNING: libintl.h: section "Present But Cannot Be Compiled" configure: WARNING: libintl.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for libintl.h... no checking whether isblank is declared... no checking for struct sched_param... no checking for struct sigaction.sa_sigaction... no checking for volatile sig_atomic_t... no checking for signbit macro... no checking for signbit compiler built-ins... no checking where to find the sign bit in a 'float'... unknown checking where to find the sign bit in a 'double'... unknown checking where to find the sign bit in a 'long double'... unknown checking whether copysignf is declared... yes checking whether copysignf can be used without linking with libm... no checking whether copysign is declared... yes checking whether copysign can be used without linking with libm... no checking whether copysignl is declared... yes checking whether copysignl can be used without linking with libm... no checking for sigprocmask... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... yes checking whether snprintf respects a size of 1... no checking for ssize_t... no checking for va_copy... yes checking whether stdint.h conforms to C99... no checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/bitypes.h usability... no checking sys/bitypes.h presence... yes configure: WARNING: sys/bitypes.h: present but cannot be compiled configure: WARNING: sys/bitypes.h: check for missing prerequisite headers? configure: WARNING: sys/bitypes.h: see the Autoconf documentation configure: WARNING: sys/bitypes.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/bitypes.h: proceeding with the compiler's result configure: WARNING: ## ----------------------------- ## configure: WARNING: ## Report this to bug-m4@gnu.org ## configure: WARNING: ## ----------------------------- ## checking for sys/bitypes.h... no checking for bit size of ptrdiff_t... unknown checking for bit size of size_t... unknown checking for bit size of sig_atomic_t... unknown checking for bit size of wchar_t... unknown checking for bit size of wint_t... unknown checking whether sig_atomic_t is signed... no checking whether wchar_t is signed... no checking whether wint_t is signed... no checking for ptrdiff_t integer literal suffix... no checking for size_t integer literal suffix... no checking for sig_atomic_t integer literal suffix... no checking for wchar_t integer literal suffix... no checking for wint_t integer literal suffix... no checking for random.h... no checking for struct random_data... no checking for strchrnul... yes checking for working strndup... no checking for working strnlen... no checking for strsignal... yes checking whether strsignal always returns a string... no checking whether _sys_siglist is declared... no checking whether strstr works in linear time... no checking for working strtod... no checking for pow... no checking for pow in -lm... yes checking for strtol... yes checking for nlink_t... no checking for __secure_getenv... yes checking for ptrdiff_t... no checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking for vasprintf... yes checking for vasprintf... (cached) yes checking for nl_langinfo... yes checking for ptrdiff_t... (cached) no checking for snprintf... (cached) yes checking for strnlen... (cached) yes checking for wcslen... (cached) yes checking for wcsnlen... (cached) yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... (cached) no checking for waitid... yes checking whether <wchar.h> is standalone... no checking whether wcrtomb return value is correct... no checking whether iswcntrl works... no checking for stdint.h... (cached) yes checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking where to find the exponent in a 'double'... (cached) unknown checking where to find the exponent in a 'float'... (cached) word 0 bit 23 checking where to find the exponent in a 'long double'... (cached) unknown checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for a traditional japanese locale... (cached) ja_JP checking for a transitional chinese locale... (cached) zh_CN.GB18030 checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for wchar_t... (cached) yes checking for wint_t... (cached) yes checking for unsetenv... yes checking for unsetenv() return type... void checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... (cached) fr_FR.UTF-8 checking for a traditional japanese locale... (cached) ja_JP checking for a transitional chinese locale... (cached) zh_CN.GB18030 checking whether wctob works... no checking whether an open file can be renamed... no checking if changeword is wanted... no checking which shell to use for syscmd... /bin/sh checking if malloc debugging is wanted... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating checks/Makefile config.status: creating examples/Makefile config.status: creating lib/config.h config.status: lib/config.h is unchanged config.status: linking ../GNUmakefile to GNUmakefile config.status: executing depfiles commands config.status: executing stamp-h commands then during make I receive following error messages that depend on those configure errors, I suppose: CC gl_avltree_oset.o In file included from ../../lib/gl_oset.h:22, from ../../lib/gl_avltree_oset.h:21, from ../../lib/gl_avltree_oset.c:21: /usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/include/stddef.h:214: error: duplicate ”unsigned” /usr/local/lib/gcc/i686-pc-linux-gnu/4.3.4/include/stddef.h:214: error: two or more data types in declaration specifiers In file included from /usr/include/stdlib.h:438, from ./stdlib.h:34, from ../../lib/gl_avltree_oset.c:23: /usr/local/include/sys/types.h:77: error: two or more data types in declaration specifiers /usr/local/include/sys/types.h:110: error: two or more data types in declaration specifiers In file included from ./stdint.h:56, from ./stdlib.h:52, from ../../lib/gl_avltree_oset.c:23: /usr/include/stdint.h:139: error: ”long long long” is too long for GCC /usr/include/stdint.h:139: error: ”long long long” is too long for GCC In file included from ../../lib/gl_avltree_oset.c:23: ./stdlib.h:57: error: redefinition of ”struct random_data” make[4]: *** [gl_avltree_oset.o] Error 1 uname -a Linux 2(xxx) 2.6.18.8-0.13-default #1 SMP Thu Nov 6 13:35:13 UTC 2008 i686 i686 i386 GNU/Linux gcc --version gcc (GCC) 4.3.4 I had no problem to build and install m4-1.4.8.tar.bz2 but after 1.4.9 I had problem like above. I will email config.log to you only Eric with my next email. best regards, Jorma K. 2009/10/16, Eric Blake <e...@byu.net>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Jorma Karvonen on 10/16/2009 12:07 PM: >> Hello, >> >> I think that since version 1.4.9 there has been so called >> Present-But-Cannot-Be-Compiled bug in m4 source code: >> >> http://www.gnu.org/software/autoconf/manual/html_node/Present-But-Cannot-Be-Compiled.html >> >> In my development environment I have autoconf 2.64 and error messages >> are complaining that autoconf 2.61 is needed. > > Thanks for the report. However, without any details, such as the command > you typed, what system you are on, and the actual error message displayed > on the console as well as config.log detailing the failure, there is > nothing I can do about it. > > - -- > Don't work too hard, make some time for fun as well! > > Eric Blake e...@byu.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (Cygwin) > Comment: Public key at home.comcast.net/~ericblake/eblake.gpg > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkrYuoIACgkQ84KuGfSFAYDmdACfYsFk99FxXYLLO1vkne83fDvE > aVcAoNasWMjTdRsGOwRB2N6Cuezld2zI > =Ouio > -----END PGP SIGNATURE----- >