ERROR - I./configure

Hi all,
I’m trying to configure Asterisk vs. 1.4.21 .
The following error is occuring:
checking for gcc option to accept ISO C89… (cached) none needed
checking for g++… no
checking for c++… no
checking for gpp… no
checking for aCC… no
checking for CC… no
checking for cxx… no
checking for cc++… no
checking for cl.exe… no
checking for FCC… no
checking for KCC… no
checking for RCC… no
checking for xlC_r… no
checking for xlC… no
checking whether we are using the GNU C++ compiler… no
checking whether g++ accepts -g… no
checking how to run the C preprocessor… gcc -E
checking how to run the C++ preprocessor… /lib/cpp
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.

I saw the “config.log” and I concluded that the error occured in the libary “confdefs.h”. I concluded this because his libary appears in the end of file.

-----------

confdefs.h.

-----------

#define PACKAGE_NAME “asterisk”
#define PACKAGE_TARNAME “asterisk”
#define PACKAGE_VERSION “1.4”
#define PACKAGE_STRING “asterisk 1.4”
#define PACKAGE_BUGREPORT “www.asterisk.org
#define _GNU_SOURCE 1
#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 EXTENSIONS 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1

configure: exit 1

Could please help me ?
Márcio

You have to install the c++ compiler package.

Cheers.

Marco Bruni