LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-03-2011, 02:51 AM   #1
Muralinadh
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Exclamation executing c programs


i have installed redhat linux 6.0 in my core2duo desktop. i have a problem now..
the c programs which are written in vim editor is not executing..
the error message gcc is not found..
please tell me a solution for this problem..
 
Old 09-03-2011, 02:55 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi and welcome to LQ!
It probably means that you haven't installed a c-compiler (gcc) so you should do that. I assume you want to compile c source code and not execute a binary compiled from c source code.
ciao
jdk
 
Old 09-04-2011, 08:21 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Try
Code:
yum groupinstall 'Development Tools'
If not found, try
Code:
yum grouplist
http://linux.die.net/man/8/yum
 
Old 09-04-2011, 08:44 PM   #4
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 297

Rep: Reputation: 62
You should also install the 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
Executing programs over NFS Evstrati Solaris / OpenSolaris 4 01-30-2009 03:07 AM
executing programs?!? cmargiol Linux - General 8 10-29-2003 03:38 PM
Executing X-Programs remotely frankieboy Linux - General 3 10-08-2003 03:31 AM
executing programs with arguments ? shaneblyth Mandriva 10 09-27-2003 09:01 PM
Executing Perl Programs 1huskerfan Programming 3 01-06-2002 08:39 PM


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