LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-03-2002, 04:24 PM   #1
brewhaha
LQ Newbie
 
Registered: Jun 2002
Posts: 9

Rep: Reputation: 0
no acceptable cc found in $PATH


when running ./configure I get: error no acceptable cc found in $PATH

I am using redhat 7.3 and it is the first time I have ever used the ./configure command. What does redhat 7.3 use...cc?gcc?gcc3?
if I CC=gcc3 it locates the gcc but then I get this message: error: C compiler cannot create executables
how can I go about solving this problem? Thanks!!!
 
Old 07-03-2002, 04:56 PM   #2
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Are you running configure as root? You did install the development tools correct? if you type gcc at prompt
messages do you get?
 
Old 07-03-2002, 06:27 PM   #3
brewhaha
LQ Newbie
 
Registered: Jun 2002
Posts: 9

Original Poster
Rep: Reputation: 0
if I type gcc as the root user i get command not found. same thing with cc or gcc3. Does it matter what directory i type it in or does the cc,gcc, or gcc3 run in any directory? This is the first time i installed redhat on this system....if by any chance i didn't install the development tools how would i go about installing them? Thanks!!
 
Old 07-03-2002, 06:55 PM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
First try this:
type gcc
whereis gcc
find / -name gcc

if these return nothing then you probly forgot to install dev tools as you suggested.

As far as who to install, find the rpm tool in you start
menu and look for developement tools (don't forget to put
the CD in).
 
  


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
no acceptable C compiler found in $PATH sinXposed Linux - Software 4 08-10-2006 03:14 PM
no acceptable C compiler found in $PATH agentdunken SUSE / openSUSE 12 07-13-2005 04:41 PM
no acceptable C compiler found in $PATH AL MOSLEM Programming 19 02-08-2005 11:03 AM
No acceptable cc found in $PATH ??? grayram Linux - Newbie 14 12-16-2004 07:24 PM
no acceptable cc found in $path HELP PLEASE!! bond82 Linux - Software 3 08-26-2004 05:32 PM


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