Hi Everyone:
When I do the Make command on Zaptel, I get errors:
CC [M] /usr/src/asterisk/zaptel/kernel/xpp/card_fxo.o
In file included from /usr/src/asterisk/zaptel/kernel/xpp/xpd.h:26,
from /usr/src/asterisk/zaptel/kernel/xpp/card_fxo.c:27:
/usr/src/asterisk/zaptel/kernel/xpp/xdefs.h:117: error: conflicting types for ‘bool’
include/linux/types.h:36: error: previous declaration of ‘bool’ was here
make[4]: *** [/usr/src/asterisk/zaptel/kernel/xpp/card_fxo.o] Error 1
make[3]: *** [/usr/src/asterisk/zaptel/kernel/xpp] Error 2
make[2]: *** [module/usr/src/asterisk/zaptel/kernel] Error 2
make[2]: Leaving directory /usr/src/kernels/2.6.18-92.1.1.el5-i686' make[1]: *** [modules] Error 2 make[1]: Leaving directory
/usr/src/asterisk/zaptel’
make: *** [all] Error 2
[root@LocalOrbits zaptel]# [/color]
The gcc compiler and debug are definitely installed
Also when I do ./configure on Asterisk, I get
[root@LocalOrbits asterisk]# ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for suffix of executables…
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for AIX… no
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking minix/config.h usability… no
checking minix/config.h presence… no
checking for minix/config.h… no
checking whether it is safe to define EXTENSIONS… yes
checking for uname… /bin/uname
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
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.
THE CONFIG.LOG HAS:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by asterisk configure 1.4, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = LocalOrbits
uname -m = i686
uname -r = 2.6.18-92.1.1.el5
uname -s = Linux
uname -v = #1 SMP Thu May 22 09:01:29 EDT 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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:2041: checking build system type
configure:2059: result: i686-pc-linux-gnu
configure:2081: checking host system type
configure:2096: result: i686-pc-linux-gnu
configure:2183: checking for gcc
configure:2199: found /usr/bin/gcc
configure:2210: result: gcc
configure:2448: checking for C compiler version
configure:2455: gcc --version >&5
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright © 2006 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:2458: $? = 0
configure:2465: gcc -v >&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-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:2468: $? = 0
configure:2475: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2478: $? = 1
configure:2501: checking for C compiler default output file name
configure:2528: gcc conftest.c >&5
configure:2531: $? = 0
configure:2569: result: a.out
configure:2586: checking whether the C compiler works
configure:2596: ./a.out
configure:2599: $? = 0
configure:2616: result: yes
configure:2623: checking whether we are cross compiling
configure:2625: result: no
configure:2628: checking for suffix of executables
configure:2635: gcc -o conftest conftest.c >&5
configure:2638: $? = 0
configure:2662: result:
configure:2668: checking for suffix of object files
configure:2694: gcc -c conftest.c >&5
configure:2697: $? = 0
configure:2720: result: o
configure:2724: checking whether we are using the GNU C compiler
configure:2753: gcc -c conftest.c >&5
configure:2759: $? = 0
configure:2776: result: yes
configure:2781: checking whether gcc accepts -g
configure:2811: gcc -c -g conftest.c >&5
configure:2817: $? = 0
configure:2916: result: yes
configure:2933: checking for gcc option to accept ISO C89
configure:3007: gcc -c -g -O2 conftest.c >&5
configure:3013: $? = 0
configure:3036: result: none needed
configure:3060: checking how to run the C preprocessor
configure:3100: gcc -E conftest.c
configure:3106: $? = 0
configure:3137: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3143: $? = 1
configure: failed program was:
| /* 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
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:3176: result: gcc -E
configure:3205: gcc -E conftest.c
configure:3211: $? = 0
configure:3242: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3248: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:3286: checking for grep that handles long lines and -e
configure:3360: result: /bin/grep
configure:3365: checking for egrep
configure:3443: result: /bin/grep -E
configure:3449: checking for AIX
configure:3471: result: no
configure:3477: checking for ANSI C header files
configure:3507: gcc -c -g -O2 conftest.c >&5
configure:3513: $? = 0
configure:3612: gcc -o conftest -g -O2 conftest.c >&5
configure:3615: $? = 0
configure:3621: ./conftest
configure:3624: $? = 0
configure:3641: result: yes
configure:3665: checking for sys/types.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for sys/stat.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for stdlib.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for string.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for memory.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for strings.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for inttypes.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for stdint.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3665: checking for unistd.h
configure:3686: gcc -c -g -O2 conftest.c >&5
configure:3692: $? = 0
configure:3708: result: yes
configure:3730: checking minix/config.h usability
configure:3747: gcc -c -g -O2 conftest.c >&5
conftest.c:52:26: error: minix/config.h: No such file or directory
configure:3753: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. /
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:3767: result: no
configure:3771: checking minix/config.h presence
configure:3786: gcc -E conftest.c
conftest.c:19:26: error: minix/config.h: No such file or directory
configure:3792: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. */
| #include <minix/config.h>
configure:3806: result: no
configure:3839: checking for minix/config.h
configure:3846: result: no
configure:3885: checking whether it is safe to define EXTENSIONS
configure:3913: gcc -c -g -O2 conftest.c >&5
configure:3919: $? = 0
configure:3934: result: yes
configure:4059: checking for uname
configure:4077: found /bin/uname
configure:4089: result: /bin/uname
configure:4564: checking for gcc
configure:4591: result: gcc
configure:4829: checking for C compiler version
configure:4836: gcc --version >&5
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright © 2006 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:4839: $? = 0
configure:4846: gcc -v >&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-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:4849: $? = 0
configure:4856: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:4859: $? = 1
configure:4862: checking whether we are using the GNU C compiler
configure:4914: result: yes
configure:4919: checking whether gcc accepts -g
configure:5054: result: yes
configure:5071: checking for gcc option to accept ISO C89
configure:5174: result: none needed
configure:5250: checking for g++
configure:5280: result: no
configure:5250: checking for c++
configure:5280: result: no
configure:5250: checking for gpp
configure:5280: result: no
configure:5250: checking for aCC
configure:5280: result: no
configure:5250: checking for CC
configure:5280: result: no
configure:5250: checking for cxx
configure:5280: result: no
configure:5250: checking for cc++
configure:5280: result: no
configure:5250: checking for cl.exe
configure:5280: result: no
configure:5250: checking for FCC
configure:5280: result: no
configure:5250: checking for KCC
configure:5280: result: no
configure:5250: checking for RCC
configure:5280: result: no
configure:5250: checking for xlC_r
configure:5280: result: no
configure:5250: checking for xlC
configure:5280: result: no
configure:5308: checking for C++ compiler version
configure:5315: g++ --version >&5
./configure: line 5316: g++: command not found
configure:5318: $? = 127
configure:5325: g++ -v >&5
./configure: line 5326: g++: command not found
configure:5328: $? = 127
configure:5335: g++ -V >&5
./configure: line 5336: g++: command not found
configure:5338: $? = 127
configure:5341: checking whether we are using the GNU C++ compiler
configure:5370: g++ -c conftest.cpp >&5
./configure: line 5371: g++: command not found
configure:5376: $? = 127
configure: failed program was:
| /* 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
| / end confdefs.h. /
|
| int
| main ()
| {
| #ifndef GNUC
| choke me
| #endif
|
| ;
| return 0;
| }
configure:5393: result: no
configure:5398: checking whether g++ accepts -g
configure:5428: g++ -c -g conftest.cpp >&5
./configure: line 5429: g++: command not found
configure:5434: $? = 127
configure: failed program was:
| / 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
| / end confdefs.h. /
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5466: g++ -c conftest.cpp >&5
./configure: line 5467: g++: command not found
configure:5472: $? = 127
configure: failed program was:
| / 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
| / end confdefs.h. /
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5505: g++ -c -g conftest.cpp >&5
./configure: line 5506: g++: command not found
configure:5511: $? = 127
configure: failed program was:
| / 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
| / end confdefs.h. /
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:5533: result: no
configure:5561: checking how to run the C preprocessor
configure:5677: result: gcc -E
configure:5706: gcc -E conftest.c
configure:5712: $? = 0
configure:5743: gcc -E conftest.c
conftest.c:22:28: error: ac_nonexistent.h: No such file or directory
configure:5749: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:5791: checking how to run the C++ preprocessor
configure:5827: g++ -E conftest.cpp
./configure: line 5828: g++: command not found
configure:5833: $? = 127
configure: failed program was:
| / 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
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5827: g++ -E conftest.cpp
./configure: line 5828: g++: command not found
configure:5833: $? = 127
configure: failed program was:
| / 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
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5827: /lib/cpp conftest.cpp
cpp: error trying to exec ‘cc1plus’: execvp: No such file or directory
configure:5833: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5827: /lib/cpp conftest.cpp
cpp: error trying to exec ‘cc1plus’: execvp: No such file or directory
configure:5833: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5903: result: /lib/cpp
configure:5932: /lib/cpp conftest.cpp
cpp: error trying to exec ‘cc1plus’: execvp: No such file or directory
configure:5938: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5932: /lib/cpp conftest.cpp
cpp: error trying to exec ‘cc1plus’: execvp: No such file or directory
configure:5938: $? = 1
configure: failed program was:
| / 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
| / end confdefs.h. */
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:6000: 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_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
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_objext=o
ac_cv_path_EGREP=’/bin/grep -E’
ac_cv_path_GREP=/bin/grep
ac_cv_path_ac_pt_UNAME=/bin/uname
ac_cv_prog_CPP='gcc -E’
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=no
ac_cv_safe_to_define___extensions__=yes
-----------------
Output variables.
-----------------
ALLOCA=’‘
ALSA_DIR=’‘
ALSA_INCLUDE=’‘
ALSA_LIB=’‘
AR=’‘
AST_DECLARATION_AFTER_STATEMENT=’‘
AST_DEVMODE=’‘
AST_NO_STRICT_OVERFLOW=’‘
AWK=’‘
BASENAME=’'
BUILD_CPU='i686’
BUILD_OS='linux-gnu’
BUILD_PLATFORM=‘i686-pc-linux-gnu’
BUILD_VENDOR=‘pc’
CAP_DIR=’‘
CAP_INCLUDE=’‘
CAP_LIB=’‘
CC=‘gcc’
CFLAGS=’-g -O2’
COMPRESS=’‘
CPP=‘gcc -E’
CPPFLAGS=’‘
CURL_CONFIG=’‘
CURL_DIR=’‘
CURL_INCLUDE=’‘
CURL_LIB=’‘
CURSES_DIR=’‘
CURSES_INCLUDE=’‘
CURSES_LIB=’‘
CXX=‘g++‘
CXXCPP=’/lib/cpp’
CXXFLAGS=’‘
DEFS=’‘
DIRNAME=’‘
DOT=’‘
DOWNLOAD=’‘
ECHO_C=’‘
ECHO_N=’-n’
ECHO_T=’‘
EDITLINE_LIB=’‘
EGREP=’/bin/grep -E’
EXEEXT=’‘
FETCH=’‘
FIND=’‘
FREETDS_DIR=’‘
FREETDS_INCLUDE=’‘
FREETDS_LIB=’‘
GC_CFLAGS=’‘
GC_LDFLAGS=’‘
GNUTLS_DIR=’‘
GNUTLS_INCLUDE=’‘
GNUTLS_LIB=’‘
GNU_LD=’‘
GNU_MAKE=’‘
GREP=’/bin/grep’
GSM_DIR=’‘
GSM_INCLUDE=’‘
GSM_INTERNAL=’‘
GSM_LIB=’‘
GTK2_INCLUDE=’‘
GTK2_LIB=’‘
GTKCONFIG=’‘
GTK_INCLUDE=’‘
GTK_LIB=’'
HOST_CPU='i686’
HOST_OS='linux-gnu’
HOST_PLATFORM=‘i686-pc-linux-gnu’
HOST_VENDOR=‘pc’
ID=’‘
IKSEMEL_DIR=’‘
IKSEMEL_INCLUDE=’‘
IKSEMEL_LIB=’‘
IMAP_TK_DIR=’‘
IMAP_TK_INCLUDE=’‘
IMAP_TK_LIB=’‘
INSTALL_DATA=’‘
INSTALL_PROGRAM=’‘
INSTALL_SCRIPT=’‘
ISDNNET_DIR=’‘
ISDNNET_INCLUDE=’‘
ISDNNET_LIB=’‘
KDEDIR=’/usr’
KDEINIT=’‘
KDE_DIR=’‘
KDE_INCLUDE=’‘
KDE_LIB=’‘
LD=’‘
LDFLAGS=’‘
LIBOBJS=’‘
LIBS=’‘
LN=’‘
LN_S=’‘
LTDL_DIR=’‘
LTDL_INCLUDE=’‘
LTDL_LIB=’‘
LTLIBOBJS=’‘
MISDN_DIR=’‘
MISDN_INCLUDE=’‘
MISDN_LIB=’‘
NBS_DIR=’‘
NBS_INCLUDE=’‘
NBS_LIB=’‘
NCURSES_DIR=’‘
NCURSES_INCLUDE=’‘
NCURSES_LIB=’‘
NETSNMP_CONFIG=’‘
NETSNMP_DIR=’‘
NETSNMP_INCLUDE=’‘
NETSNMP_LIB=’‘
NEWT_DIR=’‘
NEWT_INCLUDE=’‘
NEWT_LIB=’'
OBJEXT=‘o’
OGG_DIR=’‘
OGG_INCLUDE=’‘
OGG_LIB=’‘
OPENH323DIR=’‘
OPENH323_BUILD=’‘
OPENH323_DIR=’‘
OPENH323_INCDIR=’‘
OPENH323_INCLUDE=’‘
OPENH323_LIB=’‘
OPENH323_LIBDIR=’‘
OPENH323_SUFFIX=’‘
OPENSSL_DIR=’‘
OPENSSL_INCLUDE=’‘
OPENSSL_LIB=’'
OSARCH=‘linux-gnu’
OSPTK_DIR=’‘
OSPTK_INCLUDE=’‘
OSPTK_LIB=’‘
OSS_DIR=’‘
OSS_INCLUDE=’‘
OSS_LIB=’'
PACKAGE_BUGREPORT='www.asterisk.org’
PACKAGE_NAME='asterisk’
PACKAGE_STRING=‘asterisk 1.4’
PACKAGE_TARNAME=‘asterisk’
PACKAGE_VERSION=‘1.4’
PATH_SEPARATOR=’:‘
PBX_ALSA=’‘
PBX_CAP=’‘
PBX_CURL=’‘
PBX_CURSES=’‘
PBX_FREETDS=’‘
PBX_GNUTLS=’‘
PBX_GSM=’‘
PBX_GTK2=’‘
PBX_GTK=’‘
PBX_H323=’‘
PBX_IKSEMEL=’‘
PBX_IMAP_TK=’‘
PBX_ISDNNET=’‘
PBX_IXJUSER=’‘
PBX_KDE=’‘
PBX_LTDL=’‘
PBX_MISDN=’‘
PBX_NBS=’‘
PBX_NCURSES=’‘
PBX_NETSNMP=’‘
PBX_NEWT=’‘
PBX_OGG=’‘
PBX_OPENH323=’‘
PBX_OPENSSL=’‘
PBX_OSPTK=’‘
PBX_OSREV=‘2.6.18-92.1.1.el5’
PBX_OSS=’‘
PBX_PGSQL=’‘
PBX_POPT=’‘
PBX_PRI=’‘
PBX_PWLIB=’‘
PBX_RADIUS=’‘
PBX_SPEEX=’‘
PBX_SPEEXDSP=’‘
PBX_SPEEX_PREPROCESS=’‘
PBX_SQLITE=’‘
PBX_SUPPSERV=’‘
PBX_TERMCAP=’‘
PBX_TINFO=’‘
PBX_TONEZONE=’‘
PBX_UNIXODBC=’‘
PBX_USB=’‘
PBX_VORBIS=’‘
PBX_VPB=’‘
PBX_ZAPTEL=’‘
PBX_ZAPTEL_TRANSCODE=’‘
PBX_ZAPTEL_VLDTMF=’‘
PBX_ZLIB=’‘
PGSQL_DIR=’‘
PGSQL_INCLUDE=’‘
PGSQL_LIB=’‘
PG_CONFIG=’‘
PKGCONFIG=’‘
POPT_DIR=’‘
POPT_INCLUDE=’‘
POPT_LIB=’‘
POW_LIB=’‘
PRI_DIR=’‘
PRI_INCLUDE=’‘
PRI_LIB=’‘
PTHREAD_CC=’‘
PTHREAD_CFLAGS=’‘
PTHREAD_LIBS=’‘
PTLIB_CONFIG=’‘
PWLIBDIR=’‘
PWLIB_DIR=’‘
PWLIB_INCDIR=’‘
PWLIB_INCLUDE=’‘
PWLIB_LIB=’‘
PWLIB_LIBDIR=’‘
PWLIB_PLATFORM=’‘
RADIUS_DIR=’‘
RADIUS_INCLUDE=’‘
RADIUS_LIB=’‘
RANLIB=’‘
SED=’‘
SHELL=’/bin/sh’
SOXMIX=’‘
SPEEXDSP_DIR=’‘
SPEEXDSP_INCLUDE=’‘
SPEEXDSP_LIB=’‘
SPEEX_DIR=’‘
SPEEX_INCLUDE=’‘
SPEEX_LIB=’‘
SQLITE_DIR=’‘
SQLITE_INCLUDE=’‘
SQLITE_LIB=’‘
STRIP=’‘
SUPPSERV_DIR=’‘
SUPPSERV_INCLUDE=’‘
SUPPSERV_LIB=’‘
TERMCAP_DIR=’‘
TERMCAP_INCLUDE=’‘
TERMCAP_LIB=’‘
TINFO_DIR=’‘
TINFO_INCLUDE=’‘
TINFO_LIB=’‘
TONEZONE_DIR=’‘
TONEZONE_INCLUDE=’‘
TONEZONE_LIB=’‘
UNAME=’/bin/uname’
UNIXODBC_DIR=’‘
UNIXODBC_INCLUDE=’‘
UNIXODBC_LIB=’‘
USB_DIR=’‘
USB_INCLUDE=’‘
USB_LIB=’‘
VORBIS_DIR=’‘
VORBIS_INCLUDE=’‘
VORBIS_LIB=’‘
VPB_DIR=’‘
VPB_INCLUDE=’‘
VPB_LIB=’‘
WGET=’‘
ZAPTEL_DIR=’‘
ZAPTEL_INCLUDE=’‘
ZAPTEL_LIB=’‘
ZLIB_DIR=’‘
ZLIB_INCLUDE=’‘
ZLIB_LIB=’‘
ac_ct_CC=‘gcc’
ac_ct_CXX=’‘
acx_pthread_config=’‘
bindir=’${exec_prefix}/bin’
build=‘i686-pc-linux-gnu’
build_alias=’‘
build_cpu=‘i686’
build_os=‘linux-gnu’
build_vendor=‘pc’
datadir=’${datarootdir}‘
datarootdir=’${prefix}/share’
docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}‘
dvidir=’${docdir}‘
exec_prefix=‘NONE’
host=‘i686-pc-linux-gnu’
host_alias=’‘
host_cpu=‘i686’
host_os=‘linux-gnu’
host_vendor=‘pc’
htmldir=’${docdir}‘
includedir=’${prefix}/include’
infodir=’${datarootdir}/info’
libdir=’${exec_prefix}/lib’
libexecdir=’${exec_prefix}/libexec’
localedir=’${datarootdir}/locale’
localstatedir=’/var’
mandir=’${datarootdir}/man’
oldincludedir=’/usr/include’
pdfdir=’${docdir}‘
prefix=‘NONE’
program_transform_name=‘s,x,x,‘
psdir=’${docdir}‘
sbindir=’${exec_prefix}/sbin’
sharedstatedir=’${prefix}/com’
sysconfdir=’/etc’
target_alias=’’
-----------
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
CAN SOMEONE PLEASE HELP???
THANKS A ZILLION!!!