LinuxQuestions.org
Register a domain and help support LQ
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-13-2003, 05:25 PM   #1
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
Angry gcc ?


How can i install gcc on Red Hat 9.0 and from where can i get it?

checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
 
Old 08-13-2003, 05:27 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Either install from your cd's which in most cases Redhat will have or you can download and install from www.gnu.org
 
Old 08-13-2003, 05:33 PM   #3
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Original Poster
Rep: Reputation: 30
can you give me an link...to gcc...i cant filnd it on the cd's !
 
Old 08-13-2003, 05:36 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by skate
can you give me an link...to gcc...i cant filnd it on the cd's !
Unfortunately I don't have a Redhat 9 cd. Have you tried mounting it and searching for it..

find /mnt/cdrom -name *gcc*
 
Old 08-14-2003, 02:34 AM   #5
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Original Poster
Rep: Reputation: 30
yes...and when i have it...what must i do...!?!?
 
Old 08-14-2003, 03:10 AM   #6
Cafrow
Member
 
Registered: Aug 2003
Location: Mesa, AZ
Distribution: Redhat 9
Posts: 45

Rep: Reputation: 15
bro, check this out.

goto Redhat startup menu, then click on system settings and then Add/Remove programs, kinda like old fashion windows.

once that opens up, save yourself some time and install ALL of the Development packages, the program will ask for CDs that you will need to enter. Then run the Up2Date and make sure that all your packages are up2date.

PS. also goto http://gtk.org and download gtk+-2.2.2.tar.gz, this is the newest GTK+ package, I had a lot of problem until I downloaded this.

PS. I have only been doing linux for about a week or 2 now, and I find my self grabbing Source instead of RPMs.
 
Old 08-15-2003, 01:35 AM   #7
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Original Poster
Rep: Reputation: 30
I have download an many gcc versions and when i try to configure them i receive that > >>

[root@skate gcc-3.0.1]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /root/inst/gcc-3.0.1 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.
[root@skate gcc-3.0.1]#

WHY ! and how can i fix it?
 
  


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 / 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


All times are GMT -5. The time now is 12:53 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