Share your knowledge at the LQ Wiki.
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 04-11-2006, 07:02 PM   #1
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Rep: Reputation: 15
GCC Installation Probelm!


I downloaded the last version of gcc and did a
tar fxvz gcc-4.0.1.tar.gz
Everything worked well, I shifted to the new directory of gcc then did a
.. It runs but stops immediately because there's no C compiler on my system.

What should I do in this case? I tried .rpm versions but YAST2 crashes..

Any recommendations?

Old 04-11-2006, 07:41 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You need gcc to compile gcc (sounds strange, but it isn't). Can youtell us exactly what you're doing with YaST -- it should be installable. Failing that, grab the rpm directly and use rpm -ivh <path to gcc rpm> to install it.
Old 04-11-2006, 07:58 PM   #3
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Original Poster
Rep: Reputation: 15
I've just switched to linux and here is what happened:

Nectron@linux:~/Documents/Programs> rpm -ivh gcc-3.3.5-5.x86_64.rpm
error: Failed dependencies:
cpp = 3.3.5-5 is needed by gcc-3.3.5-5 is needed by gcc-3.3.5-5 is needed by gcc-3.3.5-5 is needed by gcc-3.3.5-5

I believe it's the dependencies.. I used to get dependencies warnings from Yast, but it just crashes when I run the gcc rpm.

I'll download the dependencies, and will keep this updated.



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 installation dabenavidesd Programming 1 01-12-2006 11:08 AM
Installation Probelm andy_play Linux - Newbie 4 11-02-2005 07:42 AM
Linux Installation Probelm - "Invalid System Disk" wfernley Linux - Newbie 2 08-06-2005 05:36 PM
gDesklets Installation Probelm PEACEYALL Linux - Software 1 04-17-2005 08:11 AM
gcc installation probelm appasamy Linux - Software 1 12-22-2004 10:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration