LinuxQuestions.org
Help answer threads with 0 replies.
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 04-11-2006, 08:02 PM   #1
nectron101
Member
 
Registered: Nov 2004
Distribution: SuSE 9.1 Personal
Posts: 41

Rep: Reputation: 15
GCC Installation Probelm!


Hello,

I downloaded the last version of gcc and did a
Code:
tar fxvz gcc-4.0.1.tar.gz
Everything worked well, I shifted to the new directory of gcc then did a
Code:
./configure
.. 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?

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

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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, 08:58 PM   #3
nectron101
Member
 
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
libc.so.6()(64bit) is needed by gcc-3.3.5-5
libc.so.6(GLIBC_2.2.5)(64bit) is needed by gcc-3.3.5-5
libc.so.6(GLIBC_2.3)(64bit) 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.

Thanks.
 
  


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


All times are GMT -5. The time now is 05:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration