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 01-30-2006, 10:51 PM   #1
badgerfun
LQ Newbie
 
Registered: Dec 2005
Location: DK
Distribution: Fedora Core 4
Posts: 2

Rep: Reputation: 0
FC4, gcc/g++ dependencies problems


Hi,
I'm new here, and I'm new to linux. Unfortunatly/luckily I've had my brother helping me earlier in my linux-career, but now he's far away from me, and I have a problem.

I've googled, I've searched these forums, I've looked hither and dither, but I can't quite find the information I need. (Though I've seen similar problems been posted.)

The thing is that I wanted to install an xmms plugin - but to do that I of course had to make my tar.gz2 into the real thing. Well, normally, I don't have any problems doing that. I got an error saying something about C++ failing the sanity check, I googled and saw that that probably meant that I didn't have g++ installed.

So, I went looking for some g++.rpm to install. The install packages-prog then told me I missed some packages - and some more googling lead me to believe that I should install gcc first. Well.. I tried that, but gcc wanted cpp and binutils.

The problem comes here: when I downloaded and wanted to install these packages - the system told me that I already have them.. Now googling didn't help me much anymore - and I turn to this forum for some help!

What do I do? How do I make the system realize that it doesn't make sense to tell me that I don't have them installed one minute, and then tell me I do have them installed the next?

Please keep it in .. plain text. I do know some of the things you should know in linux, but I've only had it installed for a month - and I'm still very.. newbie.

Thank you in advance.
 
Old 01-30-2006, 11:42 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Do you have g++ ("rpm -q gcc-c++")? If not, then do "yum install gcc-c++". Don't install things from random places; use the things that come in Fedora Core.
 
Old 01-30-2006, 11:59 PM   #3
sohny
Member
 
Registered: Aug 2004
Location: bangalore
Distribution: Redhat,Ubuntu
Posts: 64

Rep: Reputation: 15
fedora core comes with g++, wat the script in ur xmms install is searching for is the exact version of g++,so if the install for xmms can continue even after the failure of c++ sanity check, just let it continue , dont interrupt it.

if not u have to change some lines that script match ur g++ version

type g++ --v or g++ -v at the prompt u will get its version.
 
Old 01-31-2006, 12:15 AM   #4
badgerfun
LQ Newbie
 
Registered: Dec 2005
Location: DK
Distribution: Fedora Core 4
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by spooon
Do you have g++ ("rpm -q gcc-c++")? If not, then do "yum install gcc-c++". Don't install things from random places; use the things that come in Fedora Core.
well, no, it seems like I don't have that. (I do have gcc.) I've already tried the yum install command for the g++, but I get:
Error: Missing Dependency: libstdc++-devel = 4.0.2-8.fc4 is needed by package gcc-c++

I don't know where to get that one. Seems like yum's unable to find that one.. So?

Thanks so far.
 
  


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
unable tu upgrade gcc on FC4 lcornea Linux - Newbie 5 01-27-2006 06:48 AM
FC4/GCC-4 and OpenCV 0.9.7 conflicts... jiapei100 Linux - Software 0 11-03-2005 07:28 PM
Need Two Versions of gcc on FC4 yellowdognerd Linux - Software 9 09-09-2005 12:46 PM
gcc 3.2-7 on FC4 ? senthilpr_in Linux - Software 14 08-25-2005 11:05 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare Suse/Novell 3 11-29-2004 02:13 PM


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