LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-28-2004, 04:58 PM   #1
thafusion
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Unhappy Must have gcc to install gcc?


Hi all.
I use fedora core 2 and i have a problem.
I need to install GCC to install some programs. So i downloaded it.
But the tar contains an installation which need a working compiler..
it says:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

But i thought gcc was tha compiler? :S
How should i install this now?

up2date doesn`t work becouse it`s all outdated i guess, the gcc on the up2date mirrors needs glibs 2.3.2 while i have 2.3.3 installed, so it wont work

Thanks in advantage
 
Old 05-28-2004, 05:23 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
If up2date doesn't do it just go to rpmfind
and search for gcc and your specific distro/version


Cheers,
Tink
 
Old 05-28-2004, 05:23 PM   #3
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
yup . That's why you should install gcc from your CD's instead. Installing gcc from source is like that ol' "chicken or egg" first sort of thing .
 
Old 05-28-2004, 07:39 PM   #4
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Rep: Reputation: 30
never head of a distro that doesn't come with gcc before... Try putting in your cds... it's probobly on there somewhere.
 
Old 05-28-2004, 10:20 PM   #5
LapisRaven
LQ Newbie
 
Registered: Apr 2004
Location: Missouri
Distribution: Fedora Core 1
Posts: 8

Rep: Reputation: 0
gcc issues

up2date is marginal in the usefullness dept.
Apt is not bad.....Yum is great.....better than Portage IMHO
Yum tracks down damn near everything and chases down any needed dependencies as well.
 
  


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 wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare Suse/Novell 3 11-29-2004 02:13 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM


All times are GMT -5. The time now is 02:10 AM.

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