LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   redhat installation did not install gcc (https://www.linuxquestions.org/questions/linux-general-1/redhat-installation-did-not-install-gcc-47578/)

centr0 02-28-2003 08:20 AM

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

loke137 02-28-2003 08:23 AM

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).

moosedaddy 02-28-2003 08:36 AM

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.

flavor 02-28-2003 09:29 AM

The other method,
downlaod some five rpm packages.

www.8bb8.com/gcc3x/gcc3-3.0.1-3.i386.rpm
www.8bb8.com/gcc3x/gcc3-c++-3.0.1-3.i386.rpm
www.8bb8.com/gcc3x/gcc3-g77-3.0.1-3.i386.rpm
www.8bb8.com/gcc3x/gcc3-java-3.0.1-3.i386.rpm
www.8bb8.com/gcc3x/gcc3-objc-3.0.1-3.i386.rpm

#rpm -Uvh --force gcc3-*

MrJoshua 02-28-2003 09:34 AM

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.

centr0 02-28-2003 09:59 AM

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]

SchwarzeFeen 02-28-2003 10:56 AM

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!

moosedaddy 02-28-2003 11:21 AM

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.

nakkaya 02-28-2003 11:25 AM

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

MrJoshua 02-28-2003 12:31 PM

Everything you need is on one of those 3 CDs. I promise. I know most apps are on the 3rd disk.

Aussie 02-28-2003 07:16 PM

MrJoshua is correct, you can also do an "upgrade" by booting your RH install cd and selecting the devel packages.

centr0 02-28-2003 08:50 PM

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]


All times are GMT -5. The time now is 06:42 AM.