Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th February 2005, 09:18 PM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
C++ processor fails sanity check

When running ./configure, I get the following error message:

Quote:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
What does this mean, and how do I fix it? I really don't want my C++ processor to be insane.
Reply With Quote
  #2  
Old 5th February 2005, 04:08 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Any help would be greatly appreciated. Thanks!
Reply With Quote
  #3  
Old 5th February 2005, 05:11 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
See if ./configure wrote an error log. Usually the configure process checks for the presence of certain libraries and tries to compile small C programs using the compiler it finds on the machine. If something goes wrong, the tradition seems to be to report that the compiler "fails sanity check". You'd have to look at a detailed log to see exactly what is missing or misplaced.

A simple thing to do is check whether you installed the compiler and the necessary header files. Do
rpm -qa gcc
rpm -qa glibc
and see if the packages are there.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #4  
Old 5th February 2005, 05:30 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Both packages exist. Do you want me to post the config.log?
Reply With Quote
  #5  
Old 5th February 2005, 05:32 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
I'm willing to look at the log if you post it. ( Perhaps "want " portrays more enthusiasm than I have for such a task!)
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #6  
Old 5th February 2005, 05:56 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Thank you for looking at it!

Here it is:

Quote:
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

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

hostname = kichu.rh.imsa.edu
uname -m = i686
uname -r = 2.6.10-1.760_FC3
uname -s = Linux
uname -v = #1 Wed Feb 2 00:14:23 EST 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: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/kwarrior/bin


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

configure:1542: checking for a BSD-compatible install
configure:1597: result: /usr/bin/install -c
configure:1608: checking whether build environment is sane
configure:1651: result: yes
configure:1684: checking for gawk
configure:1700: found /usr/bin/gawk
configure:1710: result: gawk
configure:1720: checking whether make sets $(MAKE)
configure:1740: result: yes
configure:1897: checking whether to enable maintainer-specific portions of Makefiles
configure:1906: result: no
configure:1968: checking for gcc
configure:1984: found /usr/bin/gcc
configure:1994: result: gcc
configure:2238: checking for C compiler version
configure:2241: 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:2244: $? = 0
configure:2246: 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:2249: $? = 0
configure:2251: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2254: $? = 1
configure:2277: checking for C compiler default output file name
configure:2280: gcc conftest.c >&5
configure:2283: $? = 0
configure:2329: result: a.out
configure:2334: checking whether the C compiler works
configure:2340: ./a.out
configure:2343: $? = 0
configure:2360: result: yes
configure:2367: checking whether we are cross compiling
configure:2369: result: no
configure:2372: checking for suffix of executables
configure:2374: gcc -o conftest conftest.c >&5
configure:2377: $? = 0
configure:2402: result:
configure:2408: checking for suffix of object files
configure:2429: gcc -c conftest.c >&5
configure:2432: $? = 0
configure:2454: result: o
configure:2458: checking whether we are using the GNU C compiler
configure:2482: gcc -c conftest.c >&5
configure:2488: $? = 0
configure:2492: test -z
|| test ! -s conftest.err
configure:2495: $? = 0
configure:2498: test -s conftest.o
configure:2501: $? = 0
configure:2514: result: yes
configure:2520: checking whether gcc accepts -g
configure:2541: gcc -c -g conftest.c >&5
configure:2547: $? = 0
configure:2551: test -z
|| test ! -s conftest.err
configure:2554: $? = 0
configure:2557: test -s conftest.o
configure:2560: $? = 0
configure:2571: result: yes
configure:2588: checking for gcc option to accept ANSI C
configure:2658: gcc -c -g -O2 conftest.c >&5
configure:2664: $? = 0
configure:2668: test -z
|| test ! -s conftest.err
configure:2671: $? = 0
configure:2674: test -s conftest.o
configure:2677: $? = 0
configure:2695: result: none needed
configure:2713: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2719: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2863: checking for style of include used by make
configure:2891: result: GNU
configure:2919: checking dependency style of gcc
configure:3002: result: gcc3
configure:3071: checking for gcc
configure:3087: found /usr/bin/gcc
configure:3097: result: gcc
configure:3113: checking for C++ compiler version
configure:3116: 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:3119: $? = 0
configure:3121: 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:3124: $? = 0
configure:3126: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3129: $? = 1
configure:3132: checking whether we are using the GNU C++ compiler
configure:3156: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3162: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3188: result: no
configure:3194: checking whether gcc accepts -g
configure:3215: gcc -c -g conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3221: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3245: result: no
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
Reply With Quote
  #7  
Old 5th February 2005, 05:57 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Part Two (2):

Quote:
| {
| exit (42);
| ;
| return 0;
| }
configure:3287: gcc -c conftest.cc >&5
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:3293: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3376: checking dependency style of gcc
configure:3459: result: gcc3
configure:3480: checking for gcc option to accept ANSI C
configure:3543: gcc -c -g -O2 conftest.c >&5
configure:3549: $? = 0
configure:3553: test -z
|| test ! -s conftest.err
configure:3556: $? = 0
configure:3559: test -s conftest.o
configure:3562: $? = 0
configure:3577: result: none needed
configure:3593: checking how to run the C preprocessor
configure:3628: gcc -E conftest.c
configure:3634: $? = 0
configure:3666: gcc -E conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:3672: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3711: result: gcc -E
configure:3735: gcc -E conftest.c
configure:3741: $? = 0
configure:3773: gcc -E conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:3779: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3823: checking for egrep
configure:3833: result: grep -E
configure:3838: checking for ANSI C header files
configure:3863: gcc -c -g -O2 conftest.c >&5
configure:3869: $? = 0
configure:3873: test -z
|| test ! -s conftest.err
configure:3876: $? = 0
configure:3879: test -s conftest.o
configure:3882: $? = 0
configure:3971: gcc -o conftest -g -O2 conftest.c >&5
configure:3974: $? = 0
configure:3976: ./conftest
configure:3979: $? = 0
configure:3994: result: yes
configure:4097: checking for perl
configure:4115: found /usr/bin/perl
configure:4127: result: /usr/bin/perl
configure:4145: checking for XML::Parser
configure:4148: result: ok
configure:4184: checking for a BSD-compatible install
configure:4239: result: /usr/bin/install -c
configure:4304: checking build system type
configure:4322: result: i686-redhat-linux-gnu
configure:4330: checking host system type
configure:4344: result: i686-redhat-linux-gnu
configure:4352: checking for a sed that does not truncate output
configure:4406: result: /bin/sed
configure:4420: checking for ld used by gcc
configure:4487: result: /usr/bin/ld
configure:4496: checking if the linker (/usr/bin/ld) is GNU ld
configure:4511: result: yes
configure:4516: checking for /usr/bin/ld option to reload object files
configure:4523: result: -r
configure:4532: checking for BSD-compatible nm
configure:4574: result: /usr/bin/nm -B
configure:4578: checking whether ln -s works
configure:4582: result: yes
configure:4589: checking how to recognise dependent libraries
configure:4772: result: pass_all
configure:4994: checking for sys/types.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for sys/stat.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for stdlib.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for string.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for memory.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for strings.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for inttypes.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for stdint.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:4994: checking for unistd.h
configure:5010: gcc -c -g -O2 conftest.c >&5
configure:5016: $? = 0
configure:5020: test -z
|| test ! -s conftest.err
configure:5023: $? = 0
configure:5026: test -s conftest.o
configure:5029: $? = 0
configure:5040: result: yes
configure:5066: checking dlfcn.h usability
configure:5078: gcc -c -g -O2 conftest.c >&5
configure:5084: $? = 0
configure:5088: test -z
|| test ! -s conftest.err
configure:5091: $? = 0
configure:5094: test -s conftest.o
configure:5097: $? = 0
configure:5107: result: yes
configure:5111: checking dlfcn.h presence
configure:5121: gcc -E conftest.c
configure:5127: $? = 0
configure:5147: result: yes
configure:5182: checking for dlfcn.h
configure:5189: result: yes
configure:5207: checking how to run the C++ preprocessor
configure:5238: gcc -E conftest.cc
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:5244: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| #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. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5238: gcc -E conftest.cc
gcc: installation problem, cannot exec `cc1plus': No such file or directory
configure:5244: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
Reply With Quote
  #8  
Old 5th February 2005, 05:58 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Part Three:

Quote:
| #endif
| #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. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5238: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5244: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| #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. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5238: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5244: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| #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. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5321: result: /lib/cpp
configure:5345: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5351: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| #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. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5345: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5351: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| #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. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5420: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-redhat-linux-gnu
ac_cv_build_alias=i686-redhat-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-redhat-linux-gnu
ac_cv_host_alias=i686-redhat-linux-gnu
ac_cv_objext=o
ac_cv_path_INTLTOOL_PERL=/usr/bin/perl
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
Reply With Quote
  #9  
Old 5th February 2005, 05:58 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Part Four:

Quote:
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=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=gcc3
am_cv_prog_cc_stdc=
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file='/lib/libc.so.6 /lib/libc-2.3.4.so'
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/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/missing --run aclocal-1.7'
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/missing --run automake-1.7'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='gcc'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EWMH_CFLAGS=''
EWMH_LIBS=''
EXEEXT=''
F77=''
FFLAGS=''
GCONFTOOL=''
GCONF_SCHEMAS_INSTALL_FALSE=''
GCONF_SCHEMAS_INSTALL_TRUE=''
GCONF_SCHEMA_CONFIG_SOURCE=''
GCONF_SCHEMA_FILE_DIR=''
GETTEXT_PACKAGE=''
GLIBTOP_CFLAGS=''
GLIBTOP_LIBS=''
GMOFILES=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
INTLTOOL_PERL='/usr/bin/perl'
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT='o'
PACKAGE='gDesklets'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PIXMAPDIR=''
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
PYTHON=''
PYTHON_CFLAGS=''
PYTHON_EXEC_PREFIX=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SVG_CFLAGS=''
SVG_LIBS=''
SYSTRAY_CFLAGS=''
SYSTRAY_LIBS=''
TILING_CFLAGS=''
TILING_LIBS=''
UPDATE_DESKTOP_DATABASE=''
UPDATE_MIME_DATABASE=''
USE_NLS=''
UTILS_CFLAGS=''
UTILS_LIBS=''
VERSION='0.33.1'
XGETTEXT=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='gcc'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-redhat-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='redhat'
coredir=''
datadir='${prefix}/share'
exec_prefix='NONE'
gnulocaledir=''
host='i686-redhat-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='redhat'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/kwarrior/Krishnan/Programs/gDesklets/gDesklets-0.33.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir=''
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_transform_name='s,x,x,'
pyexecdir=''
pythondir=''
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_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1
Reply With Quote
  #10  
Old 5th February 2005, 05:58 AM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
That's all.
Reply With Quote
  #11  
Old 5th February 2005, 06:18 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
You need that file cc1plus. I followed the excellent advice on:
http://ccrma-mail.stanford.edu/piper...ay/005157.html
and went to www.pbone.net to see what package contains cc1plus. The results indicate you are probably missing the C++ part of gcc. That would be shown by getting nothing with:
rpm -qa gcc-c++
and perhaps you need compat-gcc-c++
rpm -qa compat-gcc-c++
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #12  
Old 5th February 2005, 05:32 PM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Okay, I got a little farther, thanks! However, now it says:
Quote:
checking /usr/include/python2.3/Python.h usability... no
checking /usr/include/python2.3/Python.h presence... no
checking for /usr/include/python2.3/Python.h... no
configure: error: Can't find Python.h! You will need the python development package
to successfully compile gDesklets.
I've rpm -qa python and it says that I have it. What is going wrong? Thanks for all your help!
Reply With Quote
  #13  
Old 5th February 2005, 05:45 PM
Oetzi Offline
Registered User
 
Join Date: Sep 2004
Posts: 60
Quote:
Originally Posted by kwarrior
I've rpm -qa python and it says that I have it. What is going wrong? Thanks for all your help!
To compile program for python, you need the python-devel package, which provides the header files (*.h).
Please check using rpm -qa python-devel
Reply With Quote
  #14  
Old 5th February 2005, 06:31 PM
kwarrior Offline
Registered User
 
Join Date: Feb 2005
Posts: 44
Thank you, but I'm stuck again *sigh*

Quote:
checking for glib-2.0 gdk-pixbuf-2.0 gtk+-2.0 pygtk-2.0 >= 2.4.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 gdk-pixbuf-2.0 gtk+-2.0 pygtk-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them
What should I do from here? Thanks.
Reply With Quote
  #15  
Old 6th February 2005, 04:12 AM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
On my system I have
/usr/lib/pkgconfig/glib-2.0.pc

pbone.net says this is in glib2-devel
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
Reply

Tags
check, fails, processor, sanity

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C preprocessor /lib/cpp fails sanity check *help* Brime Installation and Live Media 7 25th October 2010 07:22 AM
I'm losing my sanity with /lib/cpp" fails sanity check cruiserparts Using Fedora 4 2nd June 2006 01:50 PM
CPP fails sanity check mewilh0 Servers & Networking 5 13th December 2005 03:47 PM
C Processor '/lib/cpp' fails sanity check sbecker Using Fedora 10 17th December 2004 04:32 PM
configure: error: C preprocessor "/lib/cpp" fails sanity check m1rr0r Using Fedora 4 10th October 2004 10:15 PM


Current GMT-time: 01:36 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat