LinuxQuestions.org
Review your favorite Linux distribution.
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 04-28-2005, 12:50 AM   #1
Slyth99
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
no CC found in $path


I get a message "no cc found in $path." This happens when I am trying to download GCC 4.0.0. There is a makefile.in and I have read I have to type in "./configure" and then "make" or "make all". I am using Suse 9.2 for linux. Anyhelp would be greatly appreciated!
Thanks.
 
Old 04-28-2005, 01:02 AM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 51
i think gcc3 is aliased to gcc , cc, and other alias. Installing it is your best bet.
 
Old 04-28-2005, 01:07 AM   #3
Slyth99
LQ Newbie
 
Registered: Apr 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks

Thanks for your suggestion...Do I need to download developer tools? I read something about this on another site. Also Do I have to download cc seperately or is it inculded in Gcc3? Thanks.
 
Old 04-28-2005, 04:30 AM   #4
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
Hi!
I'd first check if i have gcc installed or not. You can do this so:
Code:
whereis gcc
If you have gcc, then whereis will return the absolute path to it. If you have gcc, then go to ~/ and open .bash_profile. Add this line to the file:
Code:
PATH=$PATH:<absolute_path_of_your_gcc>
when you finish run this command:
Code:
. ~/.bash_profile
Next log in as root and make the same changes. If you have gcc installed, you will probably now be able to upgrade to ver 4.0

But if you haven't no gcc on your machine, then i hardly imagine you will be able to compile anything, since gcc is the compiler, this means nothing can be installed from source on your machine. You can find rpm package of gcc and try to install it or you will have to reinstall linux together with gcc.
 
Old 04-28-2005, 04:48 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Re: no CC found in $path

Quote:
Originally posted by Slyth99
I get a message "no cc found in $path." This happens when I am trying to download GCC 4.0.0. There is a makefile.in and I have read I have to type in "./configure" and then "make" or "make all". I am using Suse 9.2 for linux. Anyhelp would be greatly appreciated!
Thanks.
get the packages you need from either a suse ftp mirror (get the packages for your distro, don't go out and get some random packages) or your install cd's/dvd. use Yast to install them, note that to compile applications a compiler by itself won't help you, you need to install a development environment. (this is an opinion) I'd stick with gcc-3.x for now.
 
  


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
network path not found Jan Tanjo Linux - Networking 3 01-11-2005 11:54 PM
No acceptable cc found in $PATH ??? grayram Linux - Newbie 14 12-16-2004 07:24 PM
No C compiler found in $path dstjames Linux - Newbie 1 11-17-2004 10:36 AM
network path not found eladla Linux - Networking 5 07-06-2004 10:42 PM
no acceptable cc found in $PATH brewhaha Linux - Software 3 07-03-2002 06:55 PM


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