Hi,

I have just installed perl 5.8.7 and mod_perl 2.01 with no errors but I
can't install libapreq2 due to the following error after running:

# perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs

configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

And here is the file config.log but I don't understand what is the problem.
(I am running perl under Linux 2.6, and compiling using GCC 4.0.
I have compiled libapreq for more times with no problems, but I think that I
have always used gcc versions lower than 4.0. Could be a problem with GCC
that I can solve?

Thank you.

---

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Apache HTTP Server Request Library configure 2.05-dev,
which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $
./configure --enable-perl-glue --with-apache2-apxs=/usr/local/apache2/bin/ap
xs --with-perl=/usr/local/perl5.8.7/bin/perl

## --------- ##
## Platform. ##
## --------- ##

hostname = rayden.industrialit.ro
uname -m = i686
uname -r = 2.6.11-1.14_FC3
uname -s = Linux
uname -v = #1 Thu Apr 7 19:23:49 EDT 2005

/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/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/java/jdk1.5.0_02/bin
PATH: ./
PATH: /home/teddy/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1612: checking for a BSD-compatible install
configure:1667: result: /usr/bin/install -c
configure:1678: checking whether build environment is sane
configure:1721: result: yes
configure:1754: checking for gawk
configure:1770: found /bin/gawk
configure:1780: result: gawk
configure:1790: checking whether make sets $(MAKE)
configure:1810: result: yes
configure:1956: checking whether make sets $(MAKE)
configure:1976: result: yes
configure:2032: checking for gcc
configure:2048: found /usr/bin/gcc
configure:2058: result: gcc
configure:2302: checking for C compiler version
configure:2305: gcc --version </dev/null >&5
gcc (GCC) 4.0.0 20050405 (Red Hat 4.0.0-0.40)
Copyright (C) 2005 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:2308: $? = 0
configure:2310: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --enable-checking=release --with-sys
tem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-langu
ages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050405 (Red Hat 4.0.0-0.40)
configure:2313: $? = 0
configure:2315: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2318: $? = 1
configure:2341: checking for C compiler default output file name
configure:2344: gcc    conftest.c  >&5
configure:2347: $? = 0
configure:2393: result: a.out
configure:2398: checking whether the C compiler works
configure:2404: ./a.out
configure:2407: $? = 0
configure:2424: result: yes
configure:2431: checking whether we are cross compiling
configure:2433: result: no
configure:2436: checking for suffix of executables
configure:2438: gcc -o conftest    conftest.c  >&5
configure:2441: $? = 0
configure:2466: result:
configure:2472: checking for suffix of object files
configure:2493: gcc -c   conftest.c >&5
configure:2496: $? = 0
configure:2518: result: o
configure:2522: checking whether we are using the GNU C compiler
configure:2546: gcc -c   conftest.c >&5
configure:2552: $? = 0
configure:2555: test -z     || test ! -s conftest.err
configure:2558: $? = 0
configure:2561: test -s conftest.o
configure:2564: $? = 0
configure:2577: result: yes
configure:2583: checking whether gcc accepts -g
configure:2604: gcc -c -g  conftest.c >&5
configure:2610: $? = 0
configure:2613: test -z     || test ! -s conftest.err
configure:2616: $? = 0
configure:2619: test -s conftest.o
configure:2622: $? = 0
configure:2633: result: yes
configure:2650: checking for gcc option to accept ANSI C
configure:2720: gcc  -c -g -O2  conftest.c >&5
configure:2726: $? = 0
configure:2729: test -z     || test ! -s conftest.err
configure:2732: $? = 0
configure:2735: test -s conftest.o
configure:2738: $? = 0
configure:2756: result: none needed
configure:2774: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2780: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2929: checking for style of include used by make
configure:2957: result: GNU
configure:2985: checking dependency style of gcc
configure:3047: result: gcc3
configure:3130: checking build system type
configure:3148: result: i686-pc-linux-gnu
configure:3156: checking host system type
configure:3170: result: i686-pc-linux-gnu
configure:3178: checking for a sed that does not truncate output
configure:3232: result: /bin/sed
configure:3235: checking for egrep
configure:3245: result: grep -E
configure:3261: checking for ld used by gcc
configure:3328: result: /usr/bin/ld
configure:3337: checking if the linker (/usr/bin/ld) is GNU ld
configure:3352: result: yes
configure:3357: checking for /usr/bin/ld option to reload object files
configure:3364: result: -r
configure:3373: checking for BSD-compatible nm
configure:3415: result: /usr/bin/nm -B
configure:3419: checking whether ln -s works
configure:3423: result: yes
configure:3430: checking how to recognise dependent libraries
configure:3604: result: pass_all
configure:3817: checking how to run the C preprocessor
configure:3852: gcc -E  conftest.c
configure:3858: $? = 0
configure:3890: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3896: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3935: result: gcc -E
configure:3959: gcc -E  conftest.c
configure:3965: $? = 0
configure:3997: gcc -E  conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:4003: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4047: checking for ANSI C header files
configure:4072: gcc -c -g -O2  conftest.c >&5
configure:4078: $? = 0
configure:4081: test -z     || test ! -s conftest.err
configure:4084: $? = 0
configure:4087: test -s conftest.o
configure:4090: $? = 0
configure:4179: gcc -o conftest -g -O2   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:28: warning: incompatible implicit declaration of built-in
function 'exit'
configure:4182: $? = 0
configure:4184: ./conftest
configure:4187: $? = 0
configure:4202: result: yes
configure:4226: checking for sys/types.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for sys/stat.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for stdlib.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for string.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for memory.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for strings.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for inttypes.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for stdint.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4226: checking for unistd.h
configure:4242: gcc -c -g -O2  conftest.c >&5
configure:4248: $? = 0
configure:4251: test -z     || test ! -s conftest.err
configure:4254: $? = 0
configure:4257: test -s conftest.o
configure:4260: $? = 0
configure:4271: result: yes
configure:4297: checking dlfcn.h usability
configure:4309: gcc -c -g -O2  conftest.c >&5
configure:4315: $? = 0
configure:4318: test -z     || test ! -s conftest.err
configure:4321: $? = 0
configure:4324: test -s conftest.o
configure:4327: $? = 0
configure:4337: result: yes
configure:4341: checking dlfcn.h presence
configure:4351: gcc -E  conftest.c
configure:4357: $? = 0
configure:4377: result: yes
configure:4412: checking for dlfcn.h
configure:4419: result: yes
configure:4484: checking for g++
configure:4513: result: no
configure:4484: checking for c++
configure:4513: result: no
configure:4484: checking for gpp
configure:4513: result: no
configure:4484: checking for aCC
configure:4513: result: no
configure:4484: checking for CC
configure:4513: result: no
configure:4484: checking for cxx
configure:4513: result: no
configure:4484: checking for cc++
configure:4513: result: no
configure:4484: checking for cl
configure:4513: result: no
configure:4484: checking for FCC
configure:4513: result: no
configure:4484: checking for KCC
configure:4513: result: no
configure:4484: checking for RCC
configure:4513: result: no
configure:4484: checking for xlC_r
configure:4513: result: no
configure:4484: checking for xlC
configure:4513: result: no
configure:4526: checking for C++ compiler version
configure:4529: g++ --version </dev/null >&5
./configure: line 4530: g++: command not found
configure:4532: $? = 127
configure:4534: g++ -v </dev/null >&5
./configure: line 4535: g++: command not found
configure:4537: $? = 127
configure:4539: g++ -V </dev/null >&5
./configure: line 4540: g++: command not found
configure:4542: $? = 127
configure:4545: checking whether we are using the GNU C++ compiler
configure:4569: g++ -c   conftest.cc >&5
./configure: line 4570: g++: command not found
configure:4575: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
|
|   ;
|   return 0;
| }
configure:4600: result: no
configure:4606: checking whether g++ accepts -g
configure:4627: g++ -c -g  conftest.cc >&5
./configure: line 4628: g++: command not found
configure:4633: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4656: result: no
configure:4698: g++ -c   conftest.cc >&5
./configure: line 4699: g++: command not found
configure:4704: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4698: g++ -c   conftest.cc >&5
./configure: line 4699: g++: command not found
configure:4704: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4698: g++ -c   conftest.cc >&5
./configure: line 4699: g++: command not found
configure:4704: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4698: g++ -c   conftest.cc >&5
./configure: line 4699: g++: command not found
configure:4704: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4698: g++ -c   conftest.cc >&5
./configure: line 4699: g++: command not found
configure:4704: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4698: g++ -c   conftest.cc >&5
./configure: line 4699: g++: command not found
configure:4704: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_DLFCN_H 1
| /* end confdefs.h.  */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4785: checking dependency style of g++
configure:4847: result: none
configure:4857: checking how to run the C++ preprocessor
configure:4888: g++ -E  conftest.cc
./configure: line 4889: g++: command not found
configure:4894: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4888: g++ -E  conftest.cc
./configure: line 4889: g++: command not found
configure:4894: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4888: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:4894: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4888: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:4894: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4971: result: /lib/cpp
configure:4995: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:5001: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:4995: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec 'cc1plus': No such file or directory
configure:5001: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Apache HTTP Server Request Library"
| #define PACKAGE_TARNAME "libapreq2"
| #define PACKAGE_VERSION "2.05-dev"
| #define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
| #define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
| #define PACKAGE "libapreq2"
| #define VERSION "2.05-dev"
| #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_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:5070: 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_compiler_gnu=yes
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_dlfcn_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_prog_AWK=gawk
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
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none
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='${SHELL} /home/teddy/libapreq/libapreq2-2.05-dev/missing --run
aclocal-1.6'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/teddy/libapreq/libapreq2-2.05-dev/missing --run tar'
APACHE1_APXS=''
APACHE2_APXS=''
APACHE2_HTTPD=''
APACHE2_INCLUDES=''
APACHE2_SRC=''
APREQ_CONFIG=''
APREQ_DOTTED_VERSION=''
APREQ_LIBNAME=''
APREQ_LIBTOOL_VERSION=''
APREQ_MAJOR_VERSION=''
APR_CONFIG=''
APR_INCLUDES=''
APR_LA=''
APR_LDFLAGS=''
APR_LIBS=''
APR_LTFLAGS=''
APU_CONFIG=''
APU_LA=''
AR=''
AUTOCONF='${SHELL} /home/teddy/libapreq/libapreq2-2.05-dev/missing --run
autoconf'
AUTOHEADER='${SHELL} /home/teddy/libapreq/libapreq2-2.05-dev/missing --run
autoheader'
AUTOMAKE='${SHELL} /home/teddy/libapreq/libapreq2-2.05-dev/missing --run
automake-1.6'
AWK='gawk'
BUILD_APR_FALSE=''
BUILD_APR_TRUE=''
BUILD_APU_FALSE=''
BUILD_APU_TRUE=''
BUILD_HTTPD_FALSE=''
BUILD_HTTPD_TRUE=''
BUILD_PERL_GLUE_FALSE=''
BUILD_PERL_GLUE_TRUE=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ENABLE_PROFILE_FALSE=''
ENABLE_PROFILE_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
HAVE_APACHE1_FALSE=''
HAVE_APACHE1_TRUE=''
HAVE_APACHE_TEST_FALSE=''
HAVE_APACHE_TEST_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/teddy/libapreq/libapreq2-2.05-dev/missing --run
makeinfo'
OBJEXT='o'
PACKAGE='libapreq2'
PACKAGE_BUGREPORT='apreq-dev@httpd.apache.org'
PACKAGE_NAME='Apache HTTP Server Request Library'
PACKAGE_STRING='Apache HTTP Server Request Library 2.05-dev'
PACKAGE_TARNAME='libapreq2'
PACKAGE_VERSION='2.05-dev'
PATH_SEPARATOR=':'
PERL=''
PERL_OPTS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='2.05-dev'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__include='include'
am__quote=''
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'
install_sh='/home/teddy/libapreq/libapreq2-2.05-dev/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_DLFCN_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 "libapreq2"
#define PACKAGE_BUGREPORT "apreq-dev@httpd.apache.org"
#define PACKAGE_NAME "Apache HTTP Server Request Library"
#define PACKAGE_STRING "Apache HTTP Server Request Library 2.05-dev"
#define PACKAGE_TARNAME "libapreq2"
#define PACKAGE_VERSION "2.05-dev"
#define STDC_HEADERS 1
#define VERSION "2.05-dev"
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1


Teddy


Reply via email to