LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2004, 07:57 AM   #1
thefsfempire
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
Gcc/g++


I'm trying to install SuperKaramba 0.34 on Mandrake 10.1 and I get this:

[bliss@localhost superkaramba-0.34]$ ./configure --prefix=/usr
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 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 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 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
See `config.log' for more details.

Can anyone tell me what I can do to make this work? I installed ALL Development Tools from the Mandrake CD.

Thank you.
 
Old 10-28-2004, 08:02 AM   #2
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: Gcc/g++

Quote:
Originally posted by thefsfempire
I'm trying to install SuperKaramba 0.34 on Mandrake 10.1 and I get this:

[bliss@localhost superkaramba-0.34]$ ./configure --prefix=/usr

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
...
checking for g++... no

checking whether we are using the GNU C++ compiler... no

See `config.log' for more details.

Can anyone tell me what I can do to make this work? I installed ALL Development Tools from the Mandrake CD.

Thank you.
It looks like its finding gcc but not g++ which should have been installed from your post.. Maybe the mandrake RPM is borked. Try downloading a g++ RPM from a mandrake FTP and installing from it from that.

Last edited by WhiteChedda; 10-28-2004 at 08:10 AM.
 
Old 10-28-2004, 03:49 PM   #3
thefsfempire
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
nope. just getting more errors. all i wanted to do is install SuperKaramba 0.34. Is there a way around this or is there an already-installed version with Mandrake 10.1?

Thanks,
Shawn
 
Old 10-28-2004, 04:24 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
What RPM did you download? Because it's not the one containing g++ (I think the package is called gcc-c++-devel or soemthing...)
 
Old 10-28-2004, 06:12 PM   #5
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
You do not have the GCC compiler installed. Search for an rpm with gcc-3.3 in the filename.
 
Old 10-28-2004, 06:30 PM   #6
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by black hole sun
You do not have the GCC compiler installed. Search for an rpm with gcc-3.3 in the filename.
Yet configure says:
"checking for gcc...gcc"

so clearly he does have gcc installed...just not g++ or g77 etc
 
Old 10-28-2004, 06:31 PM   #7
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
Quote:
Originally posted by Komakino
Yet configure says:
"checking for gcc...gcc"

so clearly he does have gcc installed...just not g++ or g77 etc
Oh, didn't see that. My bad.
 
Old 10-28-2004, 08:36 PM   #8
thefsfempire
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
if someone can send me the file that would be cool. i just downloaded this file:

libg++-2.8.1.3.tar.bz2

Is this the correct file? If it isn't then let me know so I don't go through the trouble of understanding the intall prosses.

If that is the correct file, please help me install it cause I'm lost as I read the README.

Thanks,
Shawn
 
Old 10-28-2004, 09:09 PM   #9
thefsfempire
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Ok I found the RPM. I get this though when I click Install It:

Some package requested cannot be installed:
gcc-c++-3.4.1-4mdk.i586 (due to unsatisfied gcc[== 3.4.1-4mdk])
do you agree ?

Now what?
 
Old 11-02-2004, 06:52 PM   #10
phnxbn
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
GRRR

GRRR.... im having that EXACT same problem.... im getting very annoyed because that currently is the only problem im having... i was told that if you put "IGNORE CC_CHECK" int he make fileit will skip the sanity checks. But im not linux genious so i really dont know where to put it. Neways i feel your pain
 
  


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
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 03:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 12:38 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 11:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 05:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 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