LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2009, 03:14 PM   #1
yukapuka
Member
 
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, 04:07 PM   #2
Ranguvar
Member
 
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, 04:08 PM   #3
yukapuka
Member
 
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, 04:09 PM   #4
yukapuka
Member
 
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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