LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2003, 08:20 AM   #1
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Rep: Reputation: 15
redhat installation did not install gcc


i installed RHL8 about a week ago and was wondering how would i install gcc from the rhl8 cd. I have gone through the redhat.com site and cannot fine any documentation.

does anyone know the process off the top of their heads?

thanks =)

centr0
 
Old 02-28-2003, 08:23 AM   #2
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
You should have selected development package during install. I am no sure how to do it after install in RH( I have never used it, sorry).
 
Old 02-28-2003, 08:36 AM   #3
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
In the menu items there is a package manager. When you fing that and open it you will get a screen that looks like the individul package screen. All you need to do then is select the development package.
 
Old 02-28-2003, 09:34 AM   #5
MrJoshua
Member
 
Registered: Apr 2002
Location: Houston Texas
Distribution: Debian / Gentoo / RHEL
Posts: 209

Rep: Reputation: 31
There is a add and remove packages tool under Redhat 8. It is under system settings on the application menu. gcc is a software developemnt package. For future rference, if you plan on compiling any software, or doing a custom kernel etc.... then you need to always install software development stuff, and kernel development.
 
Old 02-28-2003, 09:59 AM   #6
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Original Poster
Rep: Reputation: 15
MrJoshua i dont see anything in system settings application menu?

[edit]
ok its saying i need to install certain things...where can i find these?
unlocatable pkg required by
openldap = 2.0.5.25-1 openldap-devel
cyrus-sasl = 2.1.7-2 cyrus-sasl-devel
pam = 0.75-40 pam-devel
krb5-libs = 1.2.5-6 krb5-devel

[/edit]

Last edited by centr0; 02-28-2003 at 10:11 AM.
 
Old 02-28-2003, 10:56 AM   #7
SchwarzeFeen
Member
 
Registered: Feb 2003
Location: Illinois
Distribution: BackTrack 4
Posts: 70

Rep: Reputation: 15
Yeah when I installed RedHat8 it didnt give me GCC either and i couldn't install it later... Getting GCC on 56k isn't pleasant!
 
Old 02-28-2003, 11:21 AM   #8
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
When I installed RedHat I did not get gcc either, But I went to the package manager and installed it. It is either on disk 1 or 2.
 
Old 02-28-2003, 11:25 AM   #9
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
Quote:
Originally posted by centr0
MrJoshua i dont see anything in system settings application menu?

[edit]
ok its saying i need to install certain things...where can i find these?
unlocatable pkg required by
openldap = 2.0.5.25-1 openldap-devel
cyrus-sasl = 2.1.7-2 cyrus-sasl-devel
pam = 0.75-40 pam-devel
krb5-libs = 1.2.5-6 krb5-devel

[/edit]
if package manager gave you this error its because you updated the system you can create a account on redhat network and search for gcc then download rpm if there are depenci problem download them to install it by hand redhat network is free
 
Old 02-28-2003, 12:31 PM   #10
MrJoshua
Member
 
Registered: Apr 2002
Location: Houston Texas
Distribution: Debian / Gentoo / RHEL
Posts: 209

Rep: Reputation: 31
Everything you need is on one of those 3 CDs. I promise. I know most apps are on the 3rd disk.
 
Old 02-28-2003, 07:16 PM   #11
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
MrJoshua is correct, you can also do an "upgrade" by booting your RH install cd and selecting the devel packages.
 
Old 02-28-2003, 08:50 PM   #12
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Original Poster
Rep: Reputation: 15
ok im downloaded gcc and started downloading its dependencies. this is what i get when i try to install glibc-devel (a dependancy):

error: failed dependencies
kernel-headers is needed by glibc-devel-2.2.93-5
kernel-headers >= 2.2.1 is needed by glibc-devel-2.2.93-5

i searched the redhat network and thought i was going somehwere until i searched for "kernel-header" and the search turned up nothing. Help please?

[edit]

nevermind guys i got it working. thank you for your help. i went to the redhat network and downloaded all the dependencies =)

[/edit]

Last edited by centr0; 02-28-2003 at 10:30 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install gcc and c compiler into RedHat Linux spykid Linux - Newbie 4 10-25-2006 05:35 AM
RedHat 9 GCC installation probs Tuetates Linux - Newbie 2 02-18-2005 05:25 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
Installation of ksh after Redhat Install ?? linuxRules Linux - General 2 11-06-2002 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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