Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-28-2004, 05:58 PM   #1
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, 06:23 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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

Rep: Reputation: 65
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, 08:39 PM   #4
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, 11:20 PM   #5
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.


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

All times are GMT -5. The time now is 07:11 PM.

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
Open Source Consulting | Domain Registration