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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-27-2008, 04:13 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2008
Location: Surat, India
Distribution: linux 5
Posts: 5
Rep:
|
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 ?
|
|
|
|
07-27-2008, 04:23 AM
|
#2
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
If you are paying for support, call redhat
|
|
|
|
07-27-2008, 06:55 AM
|
#3
|
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005
Rep:
|
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.
|
|
|
|
07-27-2008, 04:32 PM
|
#4
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
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.
|
|
|
|
07-27-2008, 08:21 PM
|
#5
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,021
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|