Fedora Linux Support Community & Resources Center
  #1  
Old 14th January 2010, 03:25 PM
rohith88 Offline
Registered User
 
Join Date: Jan 2010
Posts: 19
windows_xp_2003firefox
Search Path for compiler executable

Hi everybody. I installed codeblocks - a cross-platform IDE which requires a C/C++ compiler. The GCC GNU compiler was detected. But when I tried to run the program, many lines were displayed in the terminal window out of which one particular line was disturbing:can't find compiler executable in your search path(GNU GCC compiler)

Where is the gcc compiler located?

Any help would be highly appreciated.
Reply With Quote
  #2  
Old 14th January 2010, 04:01 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,199
linuxfedorafirefox
Code:
BASH:~/-> which gcc
/usr/bin/gcc
Reply With Quote
  #3  
Old 15th January 2010, 03:11 AM
rohith88 Offline
Registered User
 
Join Date: Jan 2010
Posts: 19
windows_xp_2003firefox
I have searched in the path /usr/bin/. There is no gcc folder there.
One more thing, while trying to run the configure command, I got a message as under:
looking for gcc ...no gcc
looking for cc ... no cc.
Does that mean there is no gcc compiler installed?
Reply With Quote
  #4  
Old 15th January 2010, 03:54 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,199
linuxfedorafirefox
Yes, that most certainly means you do not have ggc (the C compiler) installed. You can install it with:
Code:
yum install gcc
I would suggest:
Code:
yum install gcc libgcc gcc-c++ compat-gcc-34 compat-gcc-c++-34 compat-libgcc-296
One way to check whether a package is installed, if you know the package name, is with using rpm:
Code:
rpm -q gcc
gcc-4.4.2-20.fc12.i686
If the package is installed, it will display the name-version.arch as shown above. If it's not installed, it will tell you:
Code:
rpm -q foo
package foo is not installed
Reply With Quote
Reply

Tags
compiler, executable, path, search

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
no acceptable C compiler found in $PATH Drkonafa Using Fedora 2 17th March 2013 07:01 AM
How to get the path of the executable from something in the menu daviddoria Using Fedora 6 8th July 2009 03:18 PM
Search path in KDE staham Using Fedora 3 15th January 2007 08:59 PM
Executable search paths jsmaye Using Fedora 3 6th April 2005 05:14 AM


Current GMT-time: 13:53 (Monday, 24-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Dunyapur Photos - Cleburne Photos - Novyy Turtkul Travel Photos on Instagram