LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing kernel-source-2.4.20-20.9 (https://www.linuxquestions.org/questions/linux-software-2/installing-kernel-source-2-4-20-20-9-a-85188/)

wraith106 08-24-2003 12:27 PM

installing kernel-source-2.4.20-20.9
 
I am trying to install the source files for the kernel so I can update my NVIDIA drivers.

I have gotten as far as gcc>= 2.96-98 is needed by kernel-source-2.4.20.20.9 aaaarrrgggg ...... can someone tell me what this is or if i am doing this wrong?

I used the command:
rpm -i kernel-source-2.4.20-20.9.i386.rpm

RedHat v9

thanks in advance
Randall

DrOzz 08-24-2003 12:29 PM

well judging by the info you stated, it seems that your going to have to update your gcc version, because it seems that it is saying you have a version of gcc less than 2.96

wraith106 08-24-2003 01:00 PM

ok I did
rpm -qa | grep gcc
and got

compat-gcc-c++-7.3-2.96.118
libgcc-3.2.2-5
compat-gcc-7.3-2.96.118

so I have to install an older copy of gcc is that right?!?

Randall

DrOzz 08-24-2003 04:09 PM

no that shouldn't be the case....
post your output from this command:
ls -alc /usr/bin/*gcc*

wraith106 08-24-2003 10:33 PM

Two lines of output as follows

-rwxr-xr-x 2 root root 81864 Aug 17 21:30 /usr/bin/gcc296

-rwxr-xr-x 2 root root 81864 Aug 17 21:30 /usr/bin/i386-redhat-linux7-gcc

downdb 10-10-2003 01:52 PM

wraith106-- did you figure out how to get this problem fixed? i'm currently going through the same thing myself:

http://www.linuxquestions.org/questi...hreadid=102254

rberry88 10-10-2003 02:12 PM

In a terminal type: gcc -v and post here what it says.

My example: when I went to install Evolution (mail program) it said I needed gtkhtmlxx.xx, when I checked to see if it was already installed it showed I had a new version installed but still wouldn't continue. I found the exact version of gtkhtmlxx.xx it was asking for at Red Hat Network and installed it even though it was an older version. It let me complete the install of Evolution and then I noticed the Red Hat Network Icon was showing a red exclamation point meaning something needed to be updated. I launched up2date and it re-installed the newer version of gtkhtml and Evolution still works and everything is happy. Maybe it was being a little picky that day but I'm not complaining since everything works fine.

rberry88

downdb 10-10-2003 04:55 PM

i guess maybe i'm missing something? all i get is:

# gcc -v
bash: gcc: command not found

rberry88 10-10-2003 07:05 PM

OK, now either go to www.redhat.com/network and search for "gcc". If you can't find it there then try www.rpmfind.net and you should find it there. Install that and try again.

rberry88

ksgill 10-10-2003 07:48 PM

[root@localhost ghost]# ls -alc /usr/bin/*gcc*
-rwxr-xr-x 2 root root 81864 Sep 23 20:10 /usr/bin/gcc296
-rwxr-xr-x 2 root root 81864 Sep 23 20:10 /usr/bin/i386-redhat-linux7-gcc

I have the latest gcc version, why do I have to go and look for gcc @ redhat site?? Oh and I have the same problem...

downdb 10-11-2003 12:11 AM

oddly enough, running "up2date gcc" fixed this problem for me. it bumped me up to gcc-3.2.2-5, which let me install the kernel-source rpm, which in turn let me install the nvidia drives. woohoo!

thanks so much, guys! now i've actually got decent resolution, and i can start playing around with OS. now that i've gotten it configured, i gotta say-- i'm liking it.

ksgill 10-11-2003 09:35 AM

it worked for me too...thanks


All times are GMT -5. The time now is 08:52 PM.