LinuxQuestions.org
Visit Jeremy's Blog.
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-08-2004, 11:34 PM   #1
VeRM69
LQ Newbie
 
Registered: Aug 2004
Location: Gold Coast, Queensland, Australia
Distribution: SuSe 9.1
Posts: 10

Rep: Reputation: 0
GCC install trouble


Ive been trying to install GCC so i can compile some stuff but keep getting an error message.

I'm running Suse 9.1 and am trying to install GCC-3.2.3,

I cd to the directory i unpack the files to in Konsole, type "./configure" but it comes up with this message.....


Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /gcc-3.2.3 using "mt-frag"
./configure: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.


i think it's asking for a compiler to compiler the compiler, but i don't have one, witch is exactly why i'm trying to install gcc!


does anyone know how to get past the error?

Cheers

Dave
 
Old 08-08-2004, 11:44 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
You can't get past this error. As you've guessed, you need a compiler to compile a compiler. You'd either have to compile it on another machine which already has a compiler, or install gcc from a pre-compiled RPM package. Check out one of the SuSE ftp mirrors for the RPM(s), or install it from the installation CDs using Yast.
 
Old 08-08-2004, 11:57 PM   #3
VeRM69
LQ Newbie
 
Registered: Aug 2004
Location: Gold Coast, Queensland, Australia
Distribution: SuSe 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
I already have the gcc rpm's but yast won't install it...

i click the rpm, it goes to the window with the button "Install Package with YaST" then Yast comes up with a blank window, nothing in it.

Does the name of the RPM (gcc-3.3.3-41.i586.rpm) mean it's for the i586 arch? coz i'm running i386. Could that be the reason it won't install with YaST?

Does anyone konw where i can get a compiler thats easier to install?

cheers

Dave
 
Old 08-09-2004, 01:21 AM   #4
rkdugar
LQ Newbie
 
Registered: Jul 2004
Posts: 13

Rep: Reputation: 0
You can try the following command from the command prompt:

rpm -ivh gcc-3.3.3-41.i586.rpm

You can download another rpm from one of the following sites:

http://ftp.gwdg.de/pub/linux/suse/ft...hl=com&nid=357

http://ftp.leo.org/pub/comp/os/unix/...hl=com&nid=357

http://ftp.suse.com/pub/people/pth/g...hl=com&nid=357

Now try the following command:

rpm -ivh gcc-2.95.3-42.i386.rpm

Cheers,

rkdugar
 
Old 08-09-2004, 01:57 AM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
Quote:
Originally posted by VeRM69
coz i'm running i386.
Dave
now that just don't seem possible
i386 was intel 12Mhz to 33Mhz
was the very 1'st 32 bit processor
it had the ability to use all of 4 gb of ram
and was made 17 years ago

i586 was the first pentium
75Mhz to 200Mhz
was made 10 years ago

so i bet you can use compiles for i586
 
  


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 trouble assyrian1 Linux - Newbie 5 07-04-2005 02:31 AM
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
trouble with instaling gcc SurfCHimp Linux - Software 3 09-11-2004 09:36 AM
Trouble using gcc chombee Linux - General 4 06-23-2004 01:31 AM
gcc-3.3.3 install trouble for fedora core 1 linusbox Linux - Software 1 03-25-2004 05:42 PM


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