Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-25-2003, 08:48 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 5

Rep: Reputation: 0
Question gcc, cc, cl Not Found ?

Hi All !!
Im kinda newbie, using RH9.
I am trying to install a package and ./configure command retrieves this:

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
See `config.log' for more details.

But I installed gcc and cc on RH installation.... and if i try to install gcc RPM from cd it says package already installed...Dont know if this helps, but on echo $PATH I dont have /user/sbin...
This is echo $PATH

1 - So.... how to add /usr/sbin to PATH ?
2 - How to check if I have gcc, or install it ?

Old 06-25-2003, 09:04 PM   #2
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
export PATH
Old 06-25-2003, 09:15 PM   #3
LQ Newbie
Registered: Jun 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up Excelent !!

Great !!

I have to find out how to install gcc and cc now.........
Old 06-25-2003, 09:32 PM   #4
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
you need the file gcc-3.2.2 package install it and its depencies or use redhat-config-package and install development tool it will be installed automaticly
Old 06-26-2003, 01:05 AM   #5
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
I really like RedHat, they never give users what they will need.
I don't remember wich cd it is but look in "developemment" package and add everything about gcc and C++ compilator.

Last edited by Half_Elf; 06-26-2003 at 09:48 AM.
Old 06-26-2003, 09:00 AM   #6
Registered: Dec 2001
Distribution: LFS, RH, Slack
Posts: 104

Rep: Reputation: 15
man up2date.... that's redhat's own tool and it is excellent It takes care of dependencies automatically and can auto install updated packages. You've got to register, though unless you can get it to use the CDs.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC not found? newuser455 Linux - Software 4 06-27-2005 02:55 AM
gcc not found in chrooted user EPM_Students Linux From Scratch 3 04-12-2005 04:58 AM
gcc vs. g++ -> iostream lib found vs. not found CooManChu Linux - General 1 12-11-2004 09:20 AM
Gcc not found in the $PATH redrobin77 Linux - Software 3 01-12-2004 11:08 AM
gcc / cc etc not found ! realos Linux - Software 6 07-25-2002 04:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration