LinuxQuestions.org
Visit Jeremy's Blog.
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 09-04-2009, 02:20 PM   #1
narendrarp
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Unable to run gcc in fedora


Hi,

I istalled gcc(gcc-4.3.2-7.i386) using yum( yum install gcc) on fedora 11. I started working on that and it is giving some problem.

> gcc Hello.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory

Please help me in solving this & let me know if you need more information.

Best Regards
Naren

Last edited by narendrarp; 09-04-2009 at 02:31 PM.
 
Old 09-04-2009, 02:37 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
refer the following url
http://ubuntuforums.org/showthread.php?t=345201
And one more think just copy and paste it in google and check it how many results are showing in this regards

just this line
Quote:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory

Last edited by kirukan; 09-04-2009 at 02:38 PM.
 
Old 09-04-2009, 02:44 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,113

Rep: Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336Reputation: 5336
Welcome to LinuxQuestions!

Are you trying to compile a c++ program?
Does not appear you have a g++ installed.
yum install gcc-c++

FYI
Fedora does not use the same tools as Ubuntu. not that it can't but apt isn't installed by default.

Last edited by michaelk; 09-04-2009 at 02:50 PM.
 
Old 09-04-2009, 03:51 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
instead of installing ONLY gcc
how about installing the fedora dev tools ??
see
" yum grouplist "
Code:
su -
yum groupinstall "Development Tools" "Development Libraries"
 
  


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
Unable to run GCC gileravxr Linux - Newbie 2 07-11-2009 02:10 AM
Unable to compile and run a C program in fedora dhivyababulal Linux - Newbie 3 09-22-2008 11:10 AM
Setup is unable to find the ''gcc'' program - Fedora core 5 scorpio56 Linux - Newbie 4 06-11-2008 09:12 AM
Unable to get cgi to run on Fedora 5 LAMP begmarz Linux - Newbie 2 01-21-2007 10:19 AM

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

All times are GMT -5. The time now is 09:16 PM.

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
Open Source Consulting | Domain Registration