Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-13-2004, 01:18 AM   #1
LQ Newbie
Registered: Jul 2004
Distribution: Slackware, Ubuntu, DSL
Posts: 21

Rep: Reputation: 15
GCC Compiler problem

I'm still pretty new to Linux...
First try, I got a "No GCC compiler" (or something along the lines of that, so I opened up Synaptic, and got GCC. Tried installing Gaim again, and now I'm gettin gthis:

dsl@box:~/gaim-0.80$ ./configure
checking build system type... i586-pc-linux-gnulibc1
checking host system type... i586-pc-linux-gnulibc1
checking target system type... i586-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for sed... /bin/sed
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 ANSI C... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

I googled it, and turned up a bunch of C++ compiler problems, but couldn't really find anything on my particular problem.

Last edited by BoardinBum; 08-13-2004 at 01:30 AM.
Old 08-13-2004, 06:31 AM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
you also need the c++ extension, see this thread

good luck.
Old 08-13-2004, 08:39 AM   #3
LQ Newbie
Registered: Mar 2003
Location: Wichita, KS, USA
Distribution: Redhat-7.2,9 Slackware-9.1,10
Posts: 13

Rep: Reputation: 0
Please don't ask the same question again.

If what was suggested in that thread didn't work for you, just reply to that thread.



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
error: C++ preprocessor "/lib/cpp" fails sanity check marek345 Linux - Software 4 11-06-2008 09:49 AM
problems with"/lib/cpp" fails sanity check mac1234mac Linux - Software 16 03-06-2006 06:49 AM
c++ preprocessor "/lib/cpp" fails sanity check... siuyiu Mandriva 1 10-06-2005 05:49 PM
C preprocessor "/lib/cpp" fails sanity check silver05 Linux - Software 3 08-25-2005 05:02 AM
error: C preprocessor "/lib/cpp" fails sanity check Master Fox Linux - Software 0 10-14-2004 03:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 AM.

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