LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-25-2003, 01:28 PM   #1
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Rep: Reputation: 15
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.
 
Old 08-25-2003, 02:29 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
gcc should be installed automatically. It's an integral part of Linux.

What output do you get from the command
whereis gcc
 
Old 08-25-2003, 04:38 PM   #3
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
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....
 
Old 08-25-2003, 04:42 PM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
What is the output of
whereis gcc
and
echo $PATH
 
Old 08-25-2003, 04:54 PM   #5
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
[root@a3h33829y42al john]# whereis gcc
gcc:


[root@a3h33829y42al john]# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/john/bin
 
Old 08-25-2003, 05:41 PM   #6
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
is gcc in one of those paths? If not, make sure the path to gcc in included in your $PATH statements.
 
Old 08-25-2003, 05:44 PM   #7
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
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.
 
Old 08-25-2003, 05:46 PM   #8
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
BTW, you have to be root when trying to install the rpm's.
 
Old 08-25-2003, 06:49 PM   #9
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 08-25-2003, 06:53 PM   #10
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
In a terminal
rpm -ivh package_name
 
Old 08-25-2003, 07:12 PM   #11
J_Bone
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: Mandrake 9.1
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks a lot, I'm working now but when I get home (in 8 hours or so) I'll try it out
 
Old 11-04-2003, 07:08 PM   #12
hjsukthankar
LQ Newbie
 
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
How do you include the path to gcc in your $PATH statements?
 
  


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
rpm troubles Kreature Linux - Newbie 6 02-08-2005 01:16 PM
rpm troubles conrad987 Fedora 4 12-06-2004 06:57 AM
Troubles RPM Gerardoj Linux - Software 3 06-10-2003 04:21 AM
rpm troubles albean Linux - Newbie 2 11-25-2002 04:15 PM
Serious RPM troubles :( Tarantismic Yak Linux - Software 2 05-01-2001 10:55 PM

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

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