LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-13-2004, 02:44 AM   #1
Kiajin
LQ Newbie
 
Registered: Mar 2003
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Installing GCC on SuSE 9.1


Newbie problems installing GCC onto my computer. It's a fresh install of SuSE 9.1, and I haven't changed anything on the system yet. I downloaded GCC 3.3.4 (Which I need in order to compile another program), however I'm not having any luck with my limited knowledge on installing gcc.

I've unpacked the tar.gz, and ran "./configure", I get the message The command '/usr/bin/cc -o conftest -g conftest.c' failed.
You must set the environment variable CC to a working compiler.'"
Can anyone help me with this problem? I've searched on google but I can't figure out just what to do next, or even what the environment variable CC is and how to set it. Any help would be appreciated. Thanks in advance.
 
Old 07-13-2004, 03:17 AM   #2
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
Dude ... if you're having issues with source, get the official SuSE build of one of the servers.

I mean if you are installing GCC the question is raised do you have GCC installed so you can compile GCC so you can install GCC :P (don't laught i've been stuck on a system once where gcc wasn't compiling coz the owner killed it, and all we had was source code).

check the SuSE.com site for their download mirrors. if you're in Australia mirror.aarnet.edu.au comes to mind.

Alternatively you can use Yast2 to do this as well. That way (using the official RPMS)you are guaranteed to have the program working (if all dependencies are satisfied).
 
Old 07-13-2004, 03:27 AM   #3
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
here's a link to the SuSE international servers

http://www.suse.com/us/private/downl...t_mirrors.html
 
Old 07-13-2004, 04:39 AM   #4
Kiajin
LQ Newbie
 
Registered: Mar 2003
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Agh. I'm pathetic that I can't even figure out where the directory is for the official build. You know what it's under?
 
Old 07-14-2004, 12:23 AM   #5
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
ftp://mirror.aarnet.edu.au/pub/suse/...suse/i586/gcc*

And i'd be willing to guess that most mirrors would have something very similar, ie server/pub/suse/shouldMatchFromThere
 
  


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
can't compile simple C++ programs on Suse 9.1 after installing gcc cyclebain Linux - Software 9 07-04-2007 09:04 AM
Installing gcc and g++ on suse 9.1 enigmatic Linux - Software 7 09-05-2005 09:05 PM
Help installing GCC on SuSE 9.1 MisterESauce SUSE / openSUSE 9 11-19-2004 04:02 PM
Installing GCC SUSE 9.1 jonwatson SUSE / openSUSE 13 11-01-2004 06:38 PM
Installing GCC 3.4.2 w/ SUSE 9.1 personal justin0820 Linux - Newbie 1 10-05-2004 05:33 PM


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