LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2004, 08:49 PM   #1
bitamois
LQ Newbie
 
Registered: May 2004
Location: Chicago, USA
Distribution: Red Hat Fedora Kernal 2.4.22
Posts: 29

Rep: Reputation: 15
RH9 2.4.22 kernel source install trouble


Hello,

I'm in the Newbie forum for a good reason. I have a fresh install of Fedora 2.4.22

I need to install the kernel sources for 2.4.22. Unfortunately, I was unable install the kernel sources. I checked the /usr/src/redhat and there were some empty directories in it and figured I did not have the source.

I have the three disks and the MD5 checksums passed matched the Red Hat web sites.

I went to System Settings -> Add/Remove Applications

I scrolled down to Development and checked Kernel Development.

I then put in disk three when I was prompted. I got a an error:

"Error installing packages - there was an error installing packages - quitting"

Sorry, that's all I know about the error. What could this be?

I am on a Dell laptop with the workstation setup on a 6 GB drive 128K.
 
Old 05-12-2004, 09:06 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The kernel source generally go into /usr/src/linux-{version}, which is usually symlinked to /usr/src/linux. Make sure you don't have those directories. If you don't, try running RPM from the command line on the kernel-source RPM and see what error (if any) it gives you. For instance, you would copy your kernel-source RPM to the hard drive and then do rpm -ivh /path/to/rpm from the command line.
 
Old 05-13-2004, 11:14 AM   #3
bitamois
LQ Newbie
 
Registered: May 2004
Location: Chicago, USA
Distribution: Red Hat Fedora Kernal 2.4.22
Posts: 29

Original Poster
Rep: Reputation: 15
My directories are as follows.

/usr/src/redhat

if you ls in /redhat you get the following empty directories:
/BUILD
/RPMS
/SOURCES
/SPECS
/SRPMS

When I go to install the kernel development package it suggests to install the four following packages:

GCC32-0:3.2.3-6.i386
kernel source-0:2.4.22-1.2115.npt1.i386
libacl-devel-0:2.2.7-2.i386
libattr-devel-0:2.4.1-2.i386

OK, I'm trying to understand your instructions. I copied the
kernel-source-2.4.22-1.2115.npt1.i386.rpm
to my home directory then I typed
----------------
rpm -vh/path/to/rpm

in that directory from the terminal.

I get
--------------------------------
-vh/path/to/rpm: unknown option
 
Old 05-13-2004, 06:00 PM   #4
bitamois
LQ Newbie
 
Registered: May 2004
Location: Chicago, USA
Distribution: Red Hat Fedora Kernal 2.4.22
Posts: 29

Original Poster
Rep: Reputation: 15
Alright, I tried it again.

I did:
----------------
rpm -ivh/home/kernel-source-2.4.22-1.2115.npt1.i386.rpm
----------
I got:
-----------------------
warning: home/kernel-source-2.4.22-1.2115.npt1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies: gcc32 is needed by kernel-source-2.4.22-1.2115.npt1
 
Old 05-14-2004, 04:22 PM   #5
bitamois
LQ Newbie
 
Registered: May 2004
Location: Chicago, USA
Distribution: Red Hat Fedora Kernal 2.4.22
Posts: 29

Original Poster
Rep: Reputation: 15
OK,

I think I got this all installed. It turned out I had to install gcc32 also.

Thanks everyone.
 
  


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
SuSE 9.1 Personal - having trouble installing kernel source sfmusicman Linux - Distributions 4 12-29-2004 07:57 PM
RH9 2.4.20-31.9 kernel source missing hosehead72 Red Hat 2 09-21-2004 03:16 AM
Athlon rpm kernel source trouble alrolim Red Hat 1 01-09-2004 11:30 AM
RH9.0 Kernel Source 2.4.20-9 doesn't appear to install GingerPrince Red Hat 9 09-21-2003 04:24 AM
Trouble finding kernel source RPM for 2.4.20-20.9 (Redhat) dkaplowitz Linux - General 1 08-20-2003 10:35 PM


All times are GMT -5. The time now is 03:43 PM.

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