PDA

View Full Version : Dependencies Hell!



Smooth
12-21-2001, 01:32 AM
I am trying to install gcc3 and have downloaded the 2 rpm's suggested:

gcc3-3.0.1-3.i386.rpm
gcc3-c++-3.0.1-3.i386.rpm

Now, if I type rpm -ivh gcc3-3.0.1-3.i386.rpm

I get:

error: failed dependencies:
binutils >= 2.11.90.0.8-3 is needed by gcc3-3.0.1-3

So I went and downloaded binutils-2.11.90.0.8-9.i286.rpm and when i execute rpm -ivh binutils-2.11.90.0.8-9.i286.rpm, I get:

error: failed dependencies:
libc.so.6(GLIBC_2.2.3) is needed by binutils-2.11.90.0.8-9

So, download glibc-2.2.4-13.i386.rpm and when I execute rpm -ivh glibc-2.2.4-13.i386.rpm, I get:

error: failed dependencies:
glibc-devel < 2.2.3 conflicts with glibc-2.2.4-13
glibc < 2.2.4 conflicts with glibc-common-2.2.4-13

So, if I download glibc-common and glibc-devel, I get similar errors.

So what can I do to avoid all this and fix my prob. I also tried rpm'ing with --force but that did nothing to help.

Lastly, I tried downloading the cvs version of gcc that was mentioned on Hackersquest. After an hour or so download and 150MB, I ./configure and ./make. Around 2 hours later after compiling, it appears to have done little. I tried moving the old gcc and g++ and linking them to gcc3 and g++3 and if I type gcc -v, I still get the old gcc version 2.96.

I really need some help =(

Smooth

Smooth
12-21-2001, 01:50 AM
btw, is there a command I can type to find out what version of Redhat I am running? I can't remember if I am on 7.1 or 7.2.