LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-23-2003, 09:16 AM   #1
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Rep: Reputation: 30
problem installing kernel source package


I want to instal the Kernel source package so that I can build a custom kernel.

I installed Red Hat 8 a couple of days ago (with kernel 2.4.18-14)and found that the kernel source package was not installed. I was told it was on the CD's.
I found kernel-source-2.4.18-14.i386.rpm on Red Hat Cd 2,which i presume is the file I need.

To install it,I was told that I need to type the following:

rpm -Uhv kernel-source-2.4.18-14.i386.rpm .
However, when I do so I get the following message in the shell:

warning: kernel-source-2.4.18-14.i386.rpm: V3 DSA signature:NOKEY,key ID db42a60e
error:failed dependencies:
gcc >= 2.96.98 is needed by kernel source 2.4.18-14


Can someone tell me what I am doing wrong and what that errror message is trying to tell me?

thanks,
Ludwig
 
Old 03-23-2003, 09:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well like the message says "gcc >= 2.96.98 is needed by kernel source 2.4.18-14" you need a newer version of gcc.....
 
Old 03-23-2003, 09:21 AM   #3
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
so what is gcc and where do you get it?
 
Old 03-23-2003, 09:23 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
rpmfind.net
 
Old 03-23-2003, 09:27 AM   #5
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
thanks for your help

Last edited by ludwig W; 03-23-2003 at 09:57 AM.
 
Old 03-23-2003, 11:48 AM   #6
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
I downlaoded and installed gcc 2.96-98 and the install went ok but I still got the same error message i.e.:

warning: kernel-source-2.4.18-14.i386.rpm: V3 DSA signature:NOKEY,key ID db42a60e
error:failed dependencies:
gcc >= 2.96.98 is needed by kernel source 2.4.18-14


Any idea why?
Also,there are about a zillion gcc files on that site you reccommended.I downloaded and installed gcc-2.96-98.src.rpm.
That was the right one,wasn't it?
If not, which one should I get?

thanks
Ludwig
 
Old 03-23-2003, 06:33 PM   #7
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,673

Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally posted by ludwig W
I downloaded and installed gcc-2.96-98.src.rpm.
That was the right one,wasn't it?
If not, which one should I get?
Well, if you installed the source files for that version of gcc, then you probably still don't have a working gcc. You'd need to go through the build steps.

But why? There is a compiler on the Red Hat CDs that's compatible with the kernel build process. It's on CD 1: gcc 3.2.7 (3.2.7 >= 2.96.98).
 
Old 03-23-2003, 07:36 PM   #8
ludwig W
Member
 
Registered: Mar 2003
Posts: 404

Original Poster
Rep: Reputation: 30
hi rnturn
,
I found out what my problem was:
When I installed RH8,I didn't install any developer packages,hence I get failed dependencies.
I've upgraded my instalation with the packages and it seems ok.
thx.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: Problem installing 'Source RPM package' driver for winmodem Steerpike_jhb Linux - Newbie 8 03-17-2005 04:33 AM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 09:41 AM
Problem installing Mandrake kernel source rpm Gibson Linux - Newbie 4 07-30-2004 02:42 PM
Problem installing RH Linux kernel source linux-singapore Linux - General 4 09-24-2003 03:25 AM
problem installing kernel source package ludwig W Linux - Newbie 1 03-23-2003 09:18 AM

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

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