LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-12-2004, 03:58 AM   #1
aviceda
Member
 
Registered: Jul 2003
Location: Brisbane, Queensland, Australia
Posts: 50

Rep: Reputation: 15
GCC compiler


I'm fairly sure this question has been asked but I can't find an answer for my own problem.

Whenever I try to configure any Tarball on Mandrake 10 I seem to get the same response, despite the fact that I seem to have GCC installed. (... see the last command lines)

Can anyone help?


[root@192 pixieplus-0.5.4]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
[root@192 pixieplus-0.5.4]# cd ..
[root@192 pixieplus]# cd ..
[root@192 marie]# cd downloads
[root@192 downloads]# rpm -Uvh gcc-3.3.2-6mdk.i586.rpm
Preparing... ########################################### [100%]
package gcc-3.3.2-6mdk is already installed
 
Old 08-12-2004, 06:50 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
here are a couple of things that may help.

http://www.linuxfromscratch.org/lfs/...s-sanity-check

http://www.linuxquestions.org/questi...s+sanity+check

good luck.
 
Old 08-12-2004, 08:15 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
It seems that you have the C compiler installed (gcc) but not the C++ extension for it. This should be on the Mandrake CD's, under Development Tools (Or similar).

I hope this helps
--Ian
 
Old 08-13-2004, 01:20 AM   #4
aviceda
Member
 
Registered: Jul 2003
Location: Brisbane, Queensland, Australia
Posts: 50

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks for the advice, the GCC C++ package was not installed, so
I reloaded the MDK10 setup disks, found the package and installed from Disk 1 & 4, I also ran ldconfig after seeing it suggested elsewhere.....what does this actually do?

Ta again,

Tom
 
Old 08-13-2004, 02:17 AM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Quote:
I also ran ldconfig after seeing it suggested elsewhere.....what does this actually do?
man ldconfig
man ld

It configures the dynamic linker, ld.

--Ian
 
Old 08-13-2004, 06:55 AM   #6
aviceda
Member
 
Registered: Jul 2003
Location: Brisbane, Queensland, Australia
Posts: 50

Original Poster
Rep: Reputation: 15
Cheers Ian must check that out,

Here's the latest,
Tried to install the Gimp2 tarball but found there were several other 'dependencies' to install first.
Downloaded these (pango, ATK etc) but after installing the Glib tarball, I don't seem to be able to configure pango etc.....tells me there is a problem with Glib!
Feel like I'm running in ever-decreasing circles!

Have to say that Linux keeps you on your toes.

Tom
 
  


Reply



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
GCC Compiler rr_rr_29 Linux - Software 2 10-17-2005 04:14 AM
GCC compiler .. pashupathinath Programming 1 10-21-2004 12:20 PM
GCC Compiler HELP Otaking Linux - Newbie 5 04-08-2004 06:17 PM
GCC compiler? Forezt Linux - Newbie 2 11-23-2003 02:07 PM
GCC compiler...? ph0tik Linux - Newbie 4 04-22-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration