Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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;
| }
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.