configure seems to think I'm not using gnu c++ compiler and fails compile tests. Couldn't see any apparant reason.
I've tested 11'dec, 13'dec and 16'dec. Running Fedora Core 3 with all current updates. # ./configure --with-pgsql --prefix=/usr/dbmail/ -snip- checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check # /lib/cpp --version cpp (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) -HK
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --with-pgsql --prefix=/usr/dbmail/ ## --------- ## ## Platform. ## ## --------- ## hostname = dbmail-test uname -m = i686 uname -r = 2.6.9-1.667 uname -s = Linux uname -v = #1 Tue Nov 2 14:41:25 EST 2004 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1537: result: This is dbmail's GNU configure script. It's going to run a bunch of strange tests to hopefully make your compile work without much twiddling. configure:1557: checking for a BSD-compatible install configure:1612: result: /usr/bin/install -c configure:1623: checking whether build environment is sane configure:1666: result: yes configure:1681: checking whether make sets $(MAKE) configure:1701: result: yes configure:1733: checking for working aclocal configure:1740: result: found configure:1748: checking for working autoconf configure:1755: result: found configure:1763: checking for working automake configure:1770: result: found configure:1778: checking for working autoheader configure:1785: result: found configure:1793: checking for working makeinfo configure:1804: result: missing configure:1809: checking whether to enable maintainer-specific portions of Makefiles configure:1818: result: no configure:1979: checking for pg_config configure:1997: found /usr/bin/pg_config configure:2009: result: /usr/bin/pg_config configure:2022: checking PostgreSQL headers configure:2026: result: -I/usr/include configure:2028: checking PostgreSQL libraries configure:2034: result: -L/usr/lib -lpq configure:2040: result: checking for authentication configuration configure:2107: result: using SQL authentication configure:2157: checking for gcc configure:2173: found /usr/bin/gcc configure:2183: result: gcc configure:2427: checking for C compiler version configure:2430: gcc --version </dev/null >&5 gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2433: $? = 0 configure:2435: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) configure:2438: $? = 0 configure:2440: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2443: $? = 1 configure:2466: checking for C compiler default output file name configure:2469: gcc conftest.c >&5 configure:2472: $? = 0 configure:2518: result: a.out configure:2523: checking whether the C compiler works configure:2529: ./a.out configure:2532: $? = 0 configure:2549: result: yes configure:2556: checking whether we are cross compiling configure:2558: result: no configure:2561: checking for suffix of executables configure:2563: gcc -o conftest conftest.c >&5 configure:2566: $? = 0 configure:2591: result: configure:2597: checking for suffix of object files configure:2618: gcc -c conftest.c >&5 configure:2621: $? = 0 configure:2643: result: o configure:2647: checking whether we are using the GNU C compiler configure:2671: gcc -c conftest.c >&5 configure:2677: $? = 0 configure:2680: test -z || test ! -s conftest.err configure:2683: $? = 0 configure:2686: test -s conftest.o configure:2689: $? = 0 configure:2702: result: yes configure:2708: checking whether gcc accepts -g configure:2729: gcc -c -g conftest.c >&5 configure:2735: $? = 0 configure:2738: test -z || test ! -s conftest.err configure:2741: $? = 0 configure:2744: test -s conftest.o configure:2747: $? = 0 configure:2758: result: yes configure:2775: checking for gcc option to accept ANSI C configure:2845: gcc -c -g -O2 conftest.c >&5 configure:2851: $? = 0 configure:2854: test -z || test ! -s conftest.err configure:2857: $? = 0 configure:2860: test -s conftest.o configure:2863: $? = 0 configure:2881: result: none needed configure:2899: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:2905: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:3125: result: checking for sorting configuration configure:3192: result: not using any sorting configure:3332: checking for gcc configure:3358: result: gcc configure:3602: checking for C compiler version configure:3605: gcc --version </dev/null >&5 gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3608: $? = 0 configure:3610: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) configure:3613: $? = 0 configure:3615: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:3618: $? = 1 configure:3621: checking whether we are using the GNU C compiler configure:3676: result: yes configure:3682: checking whether gcc accepts -g configure:3732: result: yes configure:3749: checking for gcc option to accept ANSI C configure:3855: result: none needed configure:3873: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:3879: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:4009: checking maximum warning verbosity option configure:4029: result: -W -Wall -Wpointer-arith -Wstrict-prototypes for C configure:4034: checking for an ANSI C-conforming const configure:4101: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 conftest.c:15: warning: function declaration isn't a prototype conftest.c: In function `main': conftest.c:39: warning: unused variable `s' conftest.c:59: warning: unused variable `foo' conftest.c:20: warning: unused variable `x' conftest.c:26: warning: unused variable `zero' conftest.c:56: warning: 'b' might be used uninitialized in this function conftest.c:38: warning: 't' might be used uninitialized in this function configure:4107: $? = 0 configure:4110: test -z || test ! -s conftest.err configure:4113: $? = 0 configure:4116: test -s conftest.o configure:4119: $? = 0 configure:4130: result: yes configure:4140: checking for inline configure:4161: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 conftest.c:14: warning: function declaration isn't a prototype conftest.c:15: warning: function declaration isn't a prototype configure:4167: $? = 0 configure:4170: test -z || test ! -s conftest.err configure:4173: $? = 0 configure:4176: test -s conftest.o configure:4179: $? = 0 configure:4191: result: inline configure:4246: checking whether byte ordering is bigendian configure:4273: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 conftest.c:17: warning: function declaration isn't a prototype configure:4279: $? = 0 configure:4282: test -z || test ! -s conftest.err configure:4285: $? = 0 configure:4288: test -s conftest.o configure:4291: $? = 0 configure:4315: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 conftest.c:17: warning: function declaration isn't a prototype conftest.c: In function `main': conftest.c:19: error: `not' undeclared (first use in this function) conftest.c:19: error: (Each undeclared identifier is reported only once conftest.c:19: error: for each function it appears in.) conftest.c:19: error: syntax error before "big" configure:4321: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | /* end confdefs.h. */ | #include <sys/types.h> | #include <sys/param.h> | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:4454: result: no configure:4478: checking how to run the C preprocessor configure:4513: gcc -E conftest.c configure:4519: $? = 0 configure:4551: gcc -E conftest.c conftest.c:12:28: ac_nonexistent.h: No such file or directory configure:4557: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4596: result: gcc -E configure:4620: gcc -E conftest.c configure:4626: $? = 0 configure:4658: gcc -E conftest.c conftest.c:12:28: ac_nonexistent.h: No such file or directory configure:4664: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:4708: checking for egrep configure:4718: result: grep -E configure:4723: checking for ANSI C header files configure:4748: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 conftest.c:19: warning: function declaration isn't a prototype configure:4754: $? = 0 configure:4757: test -z || test ! -s conftest.err configure:4760: $? = 0 configure:4763: test -s conftest.o configure:4766: $? = 0 configure:4855: gcc -o conftest -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 conftest.c:24: warning: function declaration isn't a prototype conftest.c: In function `main': conftest.c:29: warning: implicit declaration of function `exit' configure:4858: $? = 0 configure:4860: ./conftest configure:4863: $? = 0 configure:4878: result: yes configure:4902: checking for sys/types.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for sys/stat.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for stdlib.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for string.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for memory.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for strings.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for inttypes.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for stdint.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4902: checking for unistd.h configure:4918: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4924: $? = 0 configure:4927: test -z || test ! -s conftest.err configure:4930: $? = 0 configure:4933: test -s conftest.o configure:4936: $? = 0 configure:4947: result: yes configure:4973: checking endian.h usability configure:4985: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:4991: $? = 0 configure:4994: test -z || test ! -s conftest.err configure:4997: $? = 0 configure:5000: test -s conftest.o configure:5003: $? = 0 configure:5013: result: yes configure:5017: checking endian.h presence configure:5027: gcc -E conftest.c configure:5033: $? = 0 configure:5053: result: yes configure:5088: checking for endian.h configure:5095: result: yes configure:5122: checking crypt.h usability configure:5134: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:5140: $? = 0 configure:5143: test -z || test ! -s conftest.err configure:5146: $? = 0 configure:5149: test -s conftest.o configure:5152: $? = 0 configure:5162: result: yes configure:5166: checking crypt.h presence configure:5176: gcc -E conftest.c configure:5182: $? = 0 configure:5202: result: yes configure:5237: checking for crypt.h configure:5244: result: yes configure:5350: checking build system type configure:5368: result: i686-pc-linux-gnu configure:5376: checking host system type configure:5390: result: i686-pc-linux-gnu configure:5398: checking for a sed that does not truncate output configure:5452: result: /bin/sed configure:5466: checking for ld used by gcc configure:5533: result: /usr/bin/ld configure:5542: checking if the linker (/usr/bin/ld) is GNU ld configure:5557: result: yes configure:5562: checking for /usr/bin/ld option to reload object files configure:5569: result: -r configure:5578: checking for BSD-compatible nm configure:5620: result: /usr/bin/nm -B configure:5624: checking whether ln -s works configure:5628: result: yes configure:5635: checking how to recognise dependent libraries configure:5809: result: pass_all configure:6030: checking dlfcn.h usability configure:6042: gcc -c -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes conftest.c >&5 configure:6048: $? = 0 configure:6051: test -z || test ! -s conftest.err configure:6054: $? = 0 configure:6057: test -s conftest.o configure:6060: $? = 0 configure:6070: result: yes configure:6074: checking dlfcn.h presence configure:6084: gcc -E conftest.c configure:6090: $? = 0 configure:6110: result: yes configure:6145: checking for dlfcn.h configure:6152: result: yes configure:6217: checking for g++ configure:6246: result: no configure:6217: checking for c++ configure:6246: result: no configure:6217: checking for gpp configure:6246: result: no configure:6217: checking for aCC configure:6246: result: no configure:6217: checking for CC configure:6246: result: no configure:6217: checking for cxx configure:6246: result: no configure:6217: checking for cc++ configure:6246: result: no configure:6217: checking for cl configure:6246: result: no configure:6217: checking for FCC configure:6246: result: no configure:6217: checking for KCC configure:6246: result: no configure:6217: checking for RCC configure:6246: result: no configure:6217: checking for xlC_r configure:6246: result: no configure:6217: checking for xlC configure:6246: result: no configure:6259: checking for C++ compiler version configure:6262: g++ --version </dev/null >&5 ./configure: line 6263: g++: command not found configure:6265: $? = 127 configure:6267: g++ -v </dev/null >&5 ./configure: line 6268: g++: command not found configure:6270: $? = 127 configure:6272: g++ -V </dev/null >&5 ./configure: line 6273: g++: command not found configure:6275: $? = 127 configure:6278: checking whether we are using the GNU C++ compiler configure:6302: g++ -c conftest.cc >&5 ./configure: line 6303: g++: command not found configure:6308: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:6333: result: no configure:6339: checking whether g++ accepts -g configure:6360: g++ -c -g conftest.cc >&5 ./configure: line 6361: g++: command not found configure:6366: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:6389: result: no configure:6431: g++ -c conftest.cc >&5 ./configure: line 6432: g++: command not found configure:6437: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:6431: g++ -c conftest.cc >&5 ./configure: line 6432: g++: command not found configure:6437: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void std::exit (int) throw (); using std::exit; | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:6431: g++ -c conftest.cc >&5 ./configure: line 6432: g++: command not found configure:6437: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void std::exit (int); using std::exit; | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:6431: g++ -c conftest.cc >&5 ./configure: line 6432: g++: command not found configure:6437: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void exit (int) throw (); | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:6431: g++ -c conftest.cc >&5 ./configure: line 6432: g++: command not found configure:6437: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | extern "C" void exit (int); | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:6431: g++ -c conftest.cc >&5 ./configure: line 6432: g++: command not found configure:6437: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | void exit (int); | #include <stdlib.h> | int | main () | { | exit (42); | ; | return 0; | } configure:6521: checking how to run the C++ preprocessor configure:6552: g++ -E conftest.cc ./configure: line 6553: g++: command not found configure:6558: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:6552: g++ -E conftest.cc ./configure: line 6553: g++: command not found configure:6558: $? = 127 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:6552: /lib/cpp conftest.cc cpp: installation problem, cannot exec `cc1plus': No such file or directory configure:6558: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:6552: /lib/cpp conftest.cc cpp: installation problem, cannot exec `cc1plus': No such file or directory configure:6558: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:6635: result: /lib/cpp configure:6659: /lib/cpp conftest.cc cpp: installation problem, cannot exec `cc1plus': No such file or directory configure:6665: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:6659: /lib/cpp conftest.cc cpp: installation problem, cannot exec `cc1plus': No such file or directory configure:6665: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "dbmail" | #define VERSION "2.0" | #define _GNU_SOURCE '' | #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_ENDIAN_H 1 | #define HAVE_CRYPT_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | void exit (int); | #endif | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:6734: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_cxx_compiler_gnu=no ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_header_crypt_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_endian_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_path_pgsqlconfig=/usr/bin/pg_config ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP=/lib/cpp ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=no ac_cv_prog_egrep='grep -E' ac_cv_prog_make_make_set=yes lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_path_LD=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_SED=/bin/sed lt_cv_prog_gnu_ld=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='aclocal' AR='' AUTHALIB='auth/.libs/libauthdbmail.a' AUTHLTLIB='auth/libauthdbmail.la' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='automake' CC='gcc' CFLAGS='-g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='/lib/cpp' CXXFLAGS='' DEFS='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' F77='' FFLAGS='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDAPINC='' LDAPLIB='' LDAP_FALSE='' LDAP_TRUE='#' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='/usr/src/dbmail_snapshot/buildtools/missing makeinfo' MYSQLINC='' MYSQL_FALSE='' MYSQL_TRUE='#' OBJEXT='o' PACKAGE='dbmail' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PGSQLINC='-I/usr/include' PGSQL_FALSE='#' PGSQL_TRUE='' RANLIB='' SET_MAKE='' SHELL='/bin/sh' SIEVEINC='' SIEVELIB='' SIEVE_FALSE='' SIEVE_TRUE='#' SORTALIB='sort/.libs/libsortdbmail.a' SORTLTLIB='sort/libsortdbmail.la' SQLALIB='pgsql/.libs/libpgsqldbmail.a' SQLLIB='-L/usr/lib -lpq' SQLLTLIB='pgsql/libpgsqldbmail.la' STRIP='' VERSION='2.0' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77='' ac_ct_RANLIB='' ac_ct_STRIP='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' includedir='${prefix}/include' infodir='${prefix}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='${prefix}/man' mysqlconfig='' oldincludedir='/usr/include' pgsqlconfig='/usr/bin/pg_config' prefix='/usr/dbmail/' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define HAVE_CRYPT_H 1 #define HAVE_DLFCN_H 1 #define HAVE_ENDIAN_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDINT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define PACKAGE "dbmail" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define STDC_HEADERS 1 #define VERSION "2.0" #define _GNU_SOURCE '' #endif #ifdef __cplusplus void exit (int); configure: exit 1