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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-25-2003, 01:28 PM
|
#1
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59
Rep:
|
GCC RPM troubles.....
What up from the uber-newbie....
I have Red Hat 9.0, now, whenever I try to install one of the gcc rpm's off my source discs it doesn't work.
I get the "preparing system update" screen for a few seconds only, then it dissapears and nothing happens, and I can't locate gcc having been installed anywhere....
Anyone have any tips?
EDIT: By the way, it seems that you need gcc for an awful lot of applications, for simplicity's sake why don't they just include it in the full Red Hat download??
Last edited by J_Bone; 08-25-2003 at 01:31 PM.
|
|
|
08-25-2003, 02:29 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
gcc should be installed automatically. It's an integral part of Linux.
What output do you get from the command
whereis gcc
|
|
|
08-25-2003, 04:38 PM
|
#3
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59
Original Poster
Rep:
|
OK, here's what I'm trying to do.
I want to install glame-1.0.1, so i untar the file to /home/john, then I cd to /home/john/glame-1.0.1. I then do as the readme instructions say, which is:
./configure &&
make &&
make install
I then get the text:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/john/glame-1.0.1/missing: Unknown `--run' option
Try `/home/john/glame-1.0.1/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
So I concluded something is wrong with gcc...
Anyways, if that makes any sense, please help if you can....
|
|
|
08-25-2003, 04:42 PM
|
#4
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
What is the output of
whereis gcc
and
echo $PATH
|
|
|
08-25-2003, 04:54 PM
|
#5
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59
Original Poster
Rep:
|
[root@a3h33829y42al john]# whereis gcc
gcc:
[root@a3h33829y42al john]# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/john/bin
|
|
|
08-25-2003, 05:41 PM
|
#6
|
Member
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188
Rep:
|
is gcc in one of those paths? If not, make sure the path to gcc in included in your $PATH statements.
|
|
|
08-25-2003, 05:44 PM
|
#7
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
We were just checking to see if gcc was installed
When you install the gcc rpm make sure you have the options
rpm -ivh
Then it should give you some indication of what's going on.
|
|
|
08-25-2003, 05:46 PM
|
#8
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
BTW, you have to be root when trying to install the rpm's.
|
|
|
08-25-2003, 06:49 PM
|
#9
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59
Original Poster
Rep:
|
I see (about having to sign in as root to install rpm's)...
Yes, it asks me for my password when installing the rpm from my home folder (in Red Hat..), yet, it doesn't seem to actually install....
How do I install an rpm from a terminal? This might do the trick....
It's strange, I went to the source cd and tried installing gcc from there, and I also downloaded it, that doesn't work either...
BTW Thanks for all the help guys
|
|
|
08-25-2003, 06:53 PM
|
#10
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
In a terminal
rpm -ivh package_name
|
|
|
08-25-2003, 07:12 PM
|
#11
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59
Original Poster
Rep:
|
Thanks a lot, I'm working now but when I get home (in 8 hours or so) I'll try it out
|
|
|
11-04-2003, 07:08 PM
|
#12
|
LQ Newbie
Registered: Nov 2003
Posts: 1
Rep:
|
How do you include the path to gcc in your $PATH statements?
|
|
|
All times are GMT -5. The time now is 04:58 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
|
|