LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-27-2008, 04:13 AM   #1
nilrisi
LQ Newbie
 
Registered: Jul 2008
Location: Surat, India
Distribution: linux 5
Posts: 5

Rep: Reputation: 0
yum install gcc...


command 'yum install gcc' has the following response..
----------------------------------------
[root@localhost judge]# yum install gcc
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: gcc
Nothing to do

--------------------------------------
While I tried to create a/c in RHN it did not respond by asking for password of and again despite having given true password...Isn't there any other way to have gcc ?
 
Old 07-27-2008, 04:23 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you are paying for support, call redhat
 
Old 07-27-2008, 06:55 AM   #3
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Looks like he hasn't registered his version of Red Hat and he has no repositories set-up either... would be my guess it didn't work because he isn't actually scanning any repositories... could be wrong tho... registering his version of Red Hat may actually help .

Last edited by r3sistance; 07-27-2008 at 06:56 AM.
 
Old 07-27-2008, 04:32 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Please don't send me email questions, that's not why I allow email through

Quote:
This is the message:

Thank you for the respense...I did 'yum install gcc', but it had response that you are not RHN registered person so I down loaded gcc from private source in tar.gz2 formate and tried to instal it but faq had it that some command will have to be given. Folowing are the commands...

sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-4.0.3/configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--enable-shared \
--enable-threads=posix \
--enable-__cxa_atexit \
--enable-clocale=gnu \
--enable-languages=c,c++,objc,f95,ada,java,treelang &&
make bootstrap &&
make -k check &&
../gcc-4.0.3/contrib/test_summary

Now I want to know as to how to execute above commands.
Looks to me like the faq gave you the commands - execute them from a terminal session. I can't say if they need to be executed as root or not - I'd try as your normal user until you get permision problems.
 
Old 07-27-2008, 08:21 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,355

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Either get your system registered with RH if you have paid for it, or go with the free version (Centos).
It'll be easier and you'll be able to get updates.
 
  


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
yum install for gcc-c++ doesn't work aagha Fedora 6 10-14-2010 08:46 AM
gcc, make, yum problems. presarioch Programming 3 06-19-2008 11:20 PM
Yum/Gcc/Proxy Configuration dkory22 Linux - Software 1 07-02-2007 09:43 PM
yum update gcc to 4.2.x mwainwright Fedora 1 06-08-2007 09:37 AM
yum install gcc problem malibuguy Linux - Newbie 1 01-15-2005 05:11 PM

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

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