LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-26-2004, 02:57 PM   #1
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
failing sanity check....got any ideas?


Hello all,

I am having a bit of a problem compiling things: gDesklets and libgtop-2.6.0. The error I get is:

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

Anyone have an idea? That or an easy way to install gDesklets?

Thanks for the help,
Eric.

Oh, yes....I can run gdesklets under KDE 3.2 right?

Last edited by revenge80200; 09-28-2004 at 09:20 PM.
 
Old 09-26-2004, 03:01 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Re: lib/cpp configure error: fails sanity check

Quote:
Originally posted by revenge80200



"/lib/cpp" fails sanity check See `config.log' for more details.

what did config.log have to say??
 
Old 09-26-2004, 03:15 PM   #3
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
How much of it do you want, I am not sure which parts are important...
 
Old 09-26-2004, 03:16 PM   #4
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
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 = eek
uname -m = i686
uname -r = 2.6.3-7mdk
uname -s = Linux
uname -v = #1 Wed Mar 17 15:56:42 CET 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


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

configure:1544: checking build system type
configure:1562: result: i686-redhat-linux-gnu
configure:1570: checking host system type
configure:1584: result: i686-redhat-linux-gnu
configure:1592: checking target system type
configure:1606: result: i686-redhat-linux-gnu
configure:1639: checking for a BSD-compatible install
configure:1694: result: /usr/bin/install -c
configure:1705: checking whether build environment is sane
configure:1748: result: yes
configure:1763: checking whether make sets $(MAKE)
configure:1783: result: yes
configure:1815: checking for working aclocal-1.4
configure:1826: result: missing
configure:1830: checking for working autoconf
configure:1841: result: missing
configure:1845: checking for working automake-1.4
configure:1856: result: missing
configure:1860: checking for working autoheader
configure:1871: result: missing
configure:1875: checking for working makeinfo
configure:1886: result: missing
configure:1978: checking for gcc
configure:1994: found /usr/bin/gcc
configure:2004: result: gcc
configure:2248: checking for C compiler version
configure:2251: gcc --version </dev/null >&5
gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Copyright (C) 2003 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:2254: $? = 0
configure:2256: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
configure:2259: $? = 0
configure:2261: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2264: $? = 1
configure:2287: checking for C compiler default output file name
configure:2290: gcc conftest.c >&5
configure:2293: $? = 0
configure:2339: result: a.out
configure:2344: checking whether the C compiler works
configure:2350: ./a.out
configure:2353: $? = 0
configure:2370: result: yes
configure:2377: checking whether we are cross compiling
configure:2379: result: no
configure:2382: checking for suffix of executables
configure:2384: gcc -o conftest conftest.c >&5
configure:2387: $? = 0
configure:2412: result:
configure:2418: checking for suffix of object files
configure:2439: gcc -c conftest.c >&5
configure:2442: $? = 0
configure:2464: result: o
configure:2468: checking whether we are using the GNU C compiler
configure:2492: gcc -c conftest.c >&5
configure:2498: $? = 0
configure:2502: test -z
|| test ! -s conftest.err
configure:2505: $? = 0
configure:2508: test -s conftest.o
configure:2511: $? = 0
configure:2524: result: yes
configure:2530: checking whether gcc accepts -g
configure:2551: gcc -c -g conftest.c >&5
configure:2557: $? = 0
configure:2561: test -z
|| test ! -s conftest.err
configure:2564: $? = 0
configure:2567: test -s conftest.o
configure:2570: $? = 0
configure:2581: result: yes
configure:2598: checking for gcc option to accept ANSI C
configure:2668: gcc -c -g -O2 conftest.c >&5
configure:2674: $? = 0
configure:2678: test -z
|| test ! -s conftest.err
configure:2681: $? = 0
configure:2684: test -s conftest.o
configure:2687: $? = 0
configure:2705: result: none needed
configure:2723: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2729: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2864: checking for strerror in -lcposix
configure:2894: gcc -o conftest -g -O2 conftest.c -lcposix >&5
/usr/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:2900: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char strerror ();
| int
| main ()
| {
| strerror ();
| ;
| return 0;
| }
configure:2926: result: no
configure:2980: checking for gcc
configure:3006: result: gcc
configure:3250: checking for C compiler version
configure:3253: gcc --version </dev/null >&5
gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
Copyright (C) 2003 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:3256: $? = 0
configure:3258: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
configure:3261: $? = 0
configure:3263: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3266: $? = 1
configure:3269: checking whether we are using the GNU C compiler
configure:3325: result: yes
configure:3331: checking whether gcc accepts -g
configure:3382: result: yes
configure:3399: checking for gcc option to accept ANSI C
configure:3506: result: none needed
configure:3524: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:3530: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3668: checking how to run the C preprocessor
configure:3703: gcc -E conftest.c
configure:3709: $? = 0
configure:3741: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3747: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3786: result: gcc -E
configure:3810: gcc -E conftest.c
configure:3816: $? = 0
configure:3848: gcc -E conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3854: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3898: checking for egrep
configure:3908: result: grep -E
configure:3913: checking for ANSI C header files
configure:3938: gcc -c -g -O2 conftest.c >&5
configure:3944: $? = 0
configure:3948: test -z
|| test ! -s conftest.err
configure:3951: $? = 0
configure:3954: test -s conftest.o
configure:3957: $? = 0
configure:4043: gcc -o conftest -g -O2 conftest.c >&5
configure:4046: $? = 0
configure:4048: ./conftest
configure:4051: $? = 0
configure:4066: result: yes
configure:4084: checking for gawk
configure:4100: found /bin/gawk
configure:4110: result: gawk
configure:4128: checking for perl5
configure:4144: found /usr/bin/perl5
configure:4154: result: perl5
configure:4209: checking for gcc
configure:4235: result: gcc
configure:4288: checking for ranlib
configure:4304: found /usr/bin/ranlib
configure:4314: result: ranlib
configure:4367: checking for as
configure:4383: found /usr/bin/as
configure:4393: result: as
configure:4446: checking for ar
configure:4462: found /usr/bin/ar
configure:4472: result: ar
configure:4500: checking for a BSD-compatible install
configure:4555: result: /usr/bin/install -c
configure:4566: checking whether ln -s works
configure:4570: result: yes
configure:4577: checking whether make sets $(MAKE)
configure:4597: result: yes
configure:4681: checking for a sed that does not truncate output
configure:4735: result: /bin/sed
configure:4749: checking for ld used by gcc
configure:4816: result: /usr/bin/ld
configure:4825: checking if the linker (/usr/bin/ld) is GNU ld
configure:4840: result: yes
configure:4845: checking for /usr/bin/ld option to reload object files
configure:4852: result: -r
configure:4861: checking for BSD-compatible nm
configure:4903: result: /usr/bin/nm -B
configure:4907: checking how to recognise dependent libraries
configure:5090: result: pass_all
configure:5312: checking for sys/types.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for sys/stat.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for stdlib.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for string.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for memory.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for strings.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for inttypes.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for stdint.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5312: checking for unistd.h
configure:5328: gcc -c -g -O2 conftest.c >&5
configure:5334: $? = 0
configure:5338: test -z
|| test ! -s conftest.err
configure:5341: $? = 0
configure:5344: test -s conftest.o
configure:5347: $? = 0
configure:5358: result: yes
configure:5384: checking dlfcn.h usability
configure:5396: gcc -c -g -O2 conftest.c >&5
configure:5402: $? = 0
configure:5406: test -z
|| test ! -s conftest.err
configure:5409: $? = 0
configure:5412: test -s conftest.o
configure:5415: $? = 0
configure:5425: result: yes
configure:5429: checking dlfcn.h presence
configure:5439: gcc -E conftest.c
configure:5445: $? = 0
configure:5465: result: yes
configure:5500: checking for dlfcn.h
configure:5507: result: yes
configure:5572: checking for g++
configure:5601: result: no
configure:5572: checking for c++
configure:5601: result: no
configure:5572: checking for gpp
configure:5601: result: no
configure:5572: checking for aCC
configure:5601: result: no
configure:5572: checking for CC
configure:5601: result: no
configure:5572: checking for cxx
configure:5601: result: no
configure:5572: checking for cc++
configure:5601: result: no
configure:5572: checking for cl
configure:5601: result: no
configure:5572: checking for FCC
configure:5601: result: no
configure:5572: checking for KCC
configure:5601: result: no
configure:5572: checking for RCC
configure:5601: result: no
configure:5572: checking for xlC_r
configure:5601: result: no
configure:5572: checking for xlC
configure:5601: result: no
configure:5614: checking for C++ compiler version
configure:5617: g++ --version </dev/null >&5
./configure: line 1: g++: command not found
configure:5620: $? = 127
configure:5622: g++ -v </dev/null >&5
./configure: line 1: g++: command not found
configure:5625: $? = 127
configure:5627: g++ -V </dev/null >&5
./configure: line 1: g++: command not found
configure:5630: $? = 127
configure:5633: checking whether we are using the GNU C++ compiler
configure:5657: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5663: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5689: result: no
configure:5695: checking whether g++ accepts -g
configure:5716: g++ -c -g conftest.cc >&5
./configure: line 1: g++: command not found
configure:5722: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5746: result: no
configure:5788: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5794: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5788: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5794: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5788: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5794: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5788: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5794: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5788: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5794: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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;
| }
 
Old 09-26-2004, 03:17 PM   #5
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
configure:5788: g++ -c conftest.cc >&5
./configure: line 1: g++: command not found
configure:5794: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5880: checking how to run the C++ preprocessor
configure:5911: g++ -E conftest.cc
./configure: line 1: g++: command not found
configure:5917: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5911: g++ -E conftest.cc
./configure: line 1: g++: command not found
configure:5917: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5911: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5917: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5911: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5917: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:5994: result: /lib/cpp
configure:6018: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:6024: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:6018: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:6024: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libgtop"
| #define VERSION "2.6.0"
| #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:6093: 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_lib_cposix_strerror=no
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_PERL=perl5
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_AS=as
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
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
ac_cv_target=i686-redhat-linux-gnu
ac_cv_target_alias=i686-redhat-linux-gnu
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.3.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='/home/eek/Desktop/libgtop-2.6.0/missing aclocal-1.4'
ALLOCA=''
AR='ar'
AS='as'
AUTOCONF='/home/eek/Desktop/libgtop-2.6.0/missing autoconf'
AUTOHEADER='/home/eek/Desktop/libgtop-2.6.0/missing autoheader'
AUTOMAKE='/home/eek/Desktop/libgtop-2.6.0/missing automake-1.4'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXFLAGS=''
DATADIRNAME=''
DEFS=''
DL_LIB=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ENABLE_SHARED_FALSE=''
ENABLE_SHARED_TRUE=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXAMPLES_FALSE=''
EXAMPLES_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GETTEXT_PACKAGE=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GMOFILES=''
GMSGFMT=''
HACKER_MODE_FALSE=''
HACKER_MODE_TRUE=''
INCLUDES=''
INODEDB_FALSE=''
INODEDB_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBGTOP_BINARY_AGE=''
LIBGTOP_BINDIR=''
LIBGTOP_EXTRA_LIBS=''
LIBGTOP_INCS=''
LIBGTOP_INTERFACE_AGE=''
LIBGTOP_LIBS=''
LIBGTOP_MAJOR_VERSION='2'
LIBGTOP_MICRO_VERSION='0'
LIBGTOP_MINOR_VERSION='6'
LIBGTOP_NAMES_INCS=''
LIBGTOP_NAMES_LIBS=''
LIBGTOP_SERVER=''
LIBGTOP_SERVER_VERSION='5'
LIBGTOP_SMP_FALSE=''
LIBGTOP_SMP_TRUE=''
LIBGTOP_VERSION='2.6.0'
LIBGTOP_VERSION_CODE='2006000'
LIBGTOP_VERSION_SUFFIX=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LINUX_TABLE_FALSE=''
LINUX_TABLE_TRUE=''
LN_S='ln -s'
LTLIBOBJS=''
LT_AGE='1'
LT_CURRENT='3'
LT_RELEASE='2.6'
LT_REVISION='0'
LT_VERSION_INFO='-version-info 3:0:1'
MAKEINFO='/home/eek/Desktop/libgtop-2.6.0/missing makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
NEED_LIBGTOP_FALSE=''
NEED_LIBGTOP_TRUE=''
OBJEXT='o'
PACKAGE='libgtop'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL='perl5'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='2.6.0'
XGETTEXT=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AR='ar'
ac_ct_AS='as'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i686-redhat-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='redhat'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-redhat-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='redhat'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgtop_have_sysinfo=''
libgtop_need_server=''
libgtop_postinstall=''
libgtop_sysdeps_dir=''
libgtop_top_builddir='/home/eek/Desktop/libgtop-2.6.0'
libgtop_use_machine_h=''
libs_xauth=''
localstatedir='${prefix}/var'
machine_incs=''
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
server_programs=''
sharedstatedir='${prefix}/com'
smp_examples=''
static_targets=''
sysconfdir='${prefix}/etc'
sysdeps_dir=''
sysdeps_suid_lib=''
target='i686-redhat-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='redhat'

## ----------- ##
## 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 "libgtop"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define VERSION "2.6.0"
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1
 
Old 09-28-2004, 09:21 PM   #6
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
Anyone got any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: C++ preprocessor "/lib/cpp" fails sanity check Mugatu Linux - Software 52 05-31-2012 10:27 AM
hplip configure error -- /lib/cpp fails sanity check pncowley Linux - Software 8 04-28-2006 12:08 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
configure /lib/cpp fails sanity check johnlittlepeap Fedora 0 12-07-2004 05:52 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check HELP Ckesey Linux - Newbie 3 10-04-2004 01:58 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration