Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-17-2009, 02:14 PM   #1
Registered: Feb 2009
Posts: 34

Rep: Reputation: 17
codeblocks build errors g++: command not found

hi just installed code blocks

when i try to build and run a file *.cpp
it says /bin/sh: g++: command not found

and it fails like this always

any1 got any suggestions
i am using fedora 10 on a lenovo s10 laptop
Old 02-17-2009, 03:07 PM   #2
Registered: Oct 2008
Location: Upstate NY
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 17
It means you don't have g++. A Google for g++ shows that it's the GNU C++ compiler, part of GCC. So, I would advise you get it through your package manager.
Old 02-17-2009, 03:08 PM   #3
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
by the way since nobody responded i eventually was able to solve the problem .

so for those who come across this run yum install gcc-c++
Old 02-17-2009, 03:09 PM   #4
Registered: Feb 2009
Posts: 34

Original Poster
Rep: Reputation: 17
sorry ranvguar i didnt see you there, but basically thats how to solve the problem on fedora.


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
Geany, Codeblocks, PCMan, Firefox often crash in FreeBSD Mr_Shameless *BSD 5 08-20-2009 10:00 PM
Setting up CodeBlocks on Ubuntu tm2383 Programming 4 12-12-2008 03:53 PM
build Cinelerra 2.1 for x86_64, bash "arch" command not found? newtovanilla Linux - Newbie 4 07-08-2008 05:28 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Build Errors. sethgeekx86 Slackware 3 04-01-2004 06:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:19 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
Open Source Consulting | Domain Registration