LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2003, 01:27 PM   #1
wraith106
LQ Newbie
 
Registered: Aug 2003
Location: Iowa
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 08-24-2003, 01:29 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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
 
Old 08-24-2003, 02:00 PM   #3
wraith106
LQ Newbie
 
Registered: Aug 2003
Location: Iowa
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 08-24-2003, 05:09 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
no that shouldn't be the case....
post your output from this command:
ls -alc /usr/bin/*gcc*
 
Old 08-24-2003, 11:33 PM   #5
wraith106
LQ Newbie
 
Registered: Aug 2003
Location: Iowa
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 10-10-2003, 02:52 PM   #6
downdb
LQ Newbie
 
Registered: Oct 2003
Location: Stone Ridge, NY
Distribution: Red Hat 9.0
Posts: 5

Rep: Reputation: 0
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
 
Old 10-10-2003, 03:12 PM   #7
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
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
 
Old 10-10-2003, 05:55 PM   #8
downdb
LQ Newbie
 
Registered: Oct 2003
Location: Stone Ridge, NY
Distribution: Red Hat 9.0
Posts: 5

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

# gcc -v
bash: gcc: command not found
 
Old 10-10-2003, 08:05 PM   #9
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
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
 
Old 10-10-2003, 08:48 PM   #10
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
[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...
 
Old 10-11-2003, 01:11 AM   #11
downdb
LQ Newbie
 
Registered: Oct 2003
Location: Stone Ridge, NY
Distribution: Red Hat 9.0
Posts: 5

Rep: Reputation: 0
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.
 
Old 10-11-2003, 10:35 AM   #12
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
it worked for me too...thanks
 
  


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
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 06:42 PM
Installing Kernel Source with 10.1 dolphans1 Mandriva 30 10-25-2004 11:19 AM
installing kernel source newellrp1 Debian 7 05-18-2004 04:30 PM
Installing Kernel Source GeoffC Mandriva 3 08-27-2003 08:01 PM
Installing the kernel source PlatinumRik Linux - General 2 02-19-2003 10:37 AM


All times are GMT -5. The time now is 07:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration