Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-03-2010, 10:28 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Unable to install due to C compiler error

Hi all,

I'm a total newbie to Linux. Have just installed Red Hat on my HP machine (previously running Windows). Thereafter I've been struggling to install various software like flash, media player etc.

While most have been successful with much help from this forum, am stuck with the installation of xine media player. The error is as belos:

configure: error: no acceptable C compiler found in $PATH

I tried to locate "gcc" using the "whereis" command and the result was:

gcc: /usr/libexec/gcc

So as far as I understand is that I've gcc installed but since that directory is not in my $PATH, it needs to be added.

However I do not know how to do this. Helps required please.
Thanks in advance


ps: also my 320GB external HDD (in NTFS format) is not being read by the system. I downloaded some ntfs drivers but am getting the same C compiler error. I guess solution to this will solve that problem too.
Old 03-03-2010, 11:12 PM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hmm, you probably don't have the gcc executable. What you have probably found is a directory (folder in winspeak) with libraries. You will have to install gcc, for that I guess you need to have some sort of support contract with redhat or perhaps it is on your install cds. Have a look here:

Any reason you chose redhat over a free distribution? A free distro would make your life easier.
For starters xine would already be packged for you.

Old 03-03-2010, 11:23 PM   #3
Senior Member
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Did you install gcc through YUM package manager ?
If not do it that way, AFAIK this way it will get detected by the system.
Don't forget to do updatedb after that !


ntfs, redhat, xine

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 install NVIDIA drivers due to missing version.h Nylex Slackware 15 04-16-2010 03:38 AM
Unable to install Tribler due to Noobness mongoosecage Slackware 3 10-28-2008 06:30 PM
Unable to install vlc on fedora due to error 404 ! kkrockstar Linux - Newbie 9 07-02-2008 05:05 AM
add or remove program says - unable to start due to a cofiguration error sampoo Linux - Software 1 01-28-2007 03:48 AM
unable to install mandrake10.1 in hp compaq pc due to chipset problem swaroop_nuli Linux - General 1 03-07-2005 04:23 PM

All times are GMT -5. The time now is 02:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration