LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-03-2010, 10:28 PM   #1
icexvi
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

Alekh

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
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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:

http://www.cyberciti.biz/faq/howto-i...piler-on-rhel/

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.

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

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
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 !
 
  


Reply

Tags
ntfs, redhat, xine



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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