LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-27-2011, 02:26 AM   #1
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 25
Need help installing c Compiler.


Hello,

I am trying to install xine library so that I can install xine frontend later on but I am getting an error message while running './configure'.

[root@sandy xine-lib-1.1.19]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/lib/xine-lib-1.1.19':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


Please help.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-27-2011, 02:34 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

By looking at your user agent, it seems you are using red hat. What version are you running? Most likely, use yum to install gcc and it's dependencies, if needed.
Code:
yum install gcc*
Please know, though, that red hat has support, so if you paid for red hat, you could always talk to them? *hint* That's only if you paid though. And also, you most likely should update to the latest version of red hat; I have a feeling you have an older version.

Cheers,

Josh
 
Old 09-27-2011, 02:52 AM   #3
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
Need help

Yes, thats right this copy is not registered with RHN as I received this copy of RedHat from Office but I dont know how to register it. My company has already paid for this copy. Do I need to download another version(latest) for this solution of yours to work ?

I am using RHEL 6.
 
Old 09-27-2011, 02:55 AM   #4
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
Please also advise if there is any free version of Redhat available, because I dont want to mess up with my company's subscription with RHN.
 
Old 09-27-2011, 02:57 AM   #5
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Well did you try the command that I included above?
 
Old 09-27-2011, 03:05 AM   #6
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
Here is the output :

[root@sandy Desktop]# yum install gcc*
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
[root@sandy Desktop]#
 
Old 09-27-2011, 03:06 AM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Well then I recommend that either you register, or change distro. Red Hat is a paid distro; When you buy the license, you are paying for the support.
 
1 members found this post helpful.
Old 09-27-2011, 03:10 AM   #8
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
Well, Thanks for your prompt reply. Is there any distro of RedHat which is free and I can use it on this system?
 
Old 09-27-2011, 03:10 AM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Can you post the output of the following command?
Code:
uname -a
 
Old 09-27-2011, 04:21 AM   #10
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
Yes, My initial concern was to play WMV Videos on my RHEL system.So I tried installing RealPlayer/VLC/XINE Players, but while installing Realplayer and VLC I got the message that I will need to install all dependencies but I couldn't find all dependency packages/libraries So I tried to install XINE and at that moment I got the message that I do not have any C Compiler installed.

Well now I am going to uninstall RHEL 6 as I dont have paid license for it. I am right now downloading Fedora Core 15 ( as it is promised to be the same as RedHat but just the free version). I will install it and try installing Realplayer and VLC and if I need any help then I will post it here.

Thanks for your help.
 
Old 09-27-2011, 11:13 AM   #11
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
Originally Posted by coolsg5636 View Post
Well, Thanks for your prompt reply. Is there any distro of RedHat which is free and I can use it on this system?
If you want to maintain the highest degree of Red Hat Linux compatibility, you could use Centos or Scientific Linux, both of which are built from Red Hat's sources (minus the proprietary stuff) with only minor additions. Personally, I run Fedora as my primary distro, and use the rpmfusion repositories to obtain audio/video codecs that Fedora cannot provide.
 
1 members found this post helpful.
Old 09-27-2011, 12:47 PM   #12
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by coolsg5636 View Post
Well now I am going to uninstall RHEL 6 as I dont have paid license for it. I am right now downloading Fedora Core 15 ( as it is promised to be the same as RedHat but just the free version).
Fedora is certainly not same as RHEL.

Centos is for practical purposes same as RHEL.

But are you sure you want same as RedHat? If so, why?

Your choice of distribution ought to depend on why you thought you wanted same as RedHat.

For example, someone might want a free work-alike to RHEL in order to develop software for use on RHEL, or to run a real server, or to run an experimental server to test things for later use on RHEL, or because they also use RHEL and want to minimize confusion. For any of those reasons CENTOS is the best choice.

You might want large (but less than Centos) similarity to RHEL, but want something with better workstation (as opposed to server) support. Then Fedora might be right. Fedora might also be best if you are targeting future RHEL compatibility rather than current. Fedora supports some things that will be in future versions of RHEL and aren't there yet, while Centos lags a short time behind RHEL.

I'm not certain, but I think Centos is also a larger download than Fedora and then needs much more additional network traffic during install, so an ordinary download/install of Centos might be a problem for those with poor internet connectivity.

Maybe you have no real reason to want similarity to RHEL and it is just a trusted brand name to you. Then probably Ubuntu would be a better choice (a different trusted brand name that is more beginner friendly).

Last edited by johnsfine; 09-27-2011 at 12:56 PM.
 
1 members found this post helpful.
Old 09-27-2011, 01:02 PM   #13
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Keep in mind that Fedora only has a short(very to me) support life. After 13 months from intial release there is no further support(no updates of ANY kind) for any given version (F15). Compare this with a 5 year(plus) support life for Centos/RHEL 5.X (or 4.X,6.X). Basically this means that running Fedora you will need to do a clean install once a year. Some just try to do the update route (F15->F16) but this often developes into a large headache(which is why a clean install is still officially suggested).
 
1 members found this post helpful.
Old 09-28-2011, 12:44 AM   #14
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Original Poster
Rep: Reputation: 25
Thank you all of you for the factsheet.

I just remembered that I have CentOS 5.6 x64 already downloaded and I could use that.So I just installed it on my machine.
My only purpose to have OS similar to RHEL was that I am planning to complete my RHCE Certification. Thats the only reason I was trying my luck (using unregistered version of RHEL but that didn't work). I just wanted to get some hands on experience on RHEL software packages before I start with other Administration stuff.

And Well I would really appereciate any help or any related information that can help me to learn RHEL better.
 
Old 09-28-2011, 07:05 AM   #15
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by coolsg5636 View Post
I am planning to complete my RHCE Certification.
That one should have been on my list of reasons for wanting "same as RHEL" that make Centos the best free($) choice.

Last edited by johnsfine; 09-28-2011 at 07:07 AM.
 
2 members found this post helpful.
  


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
Installing g++ 3.4.6 linux compiler bavondrake Linux - Newbie 5 09-13-2007 11:36 AM
Installing c compiler RH sbabcock23 Linux - Newbie 11 01-11-2007 02:38 PM
installing gcc compiler Carunkumar Ubuntu 16 09-15-2006 05:05 AM
C compiler not installing xstealthrtx Linux - Newbie 12 11-23-2004 11:12 AM
installing the c++ compiler jmg1894 Linux - Software 1 06-17-2004 04:59 PM


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