LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-07-2005, 01:07 AM   #1
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Rep: Reputation: 15
Installing Kernel srpm problem


This is day # 12 of me trying to get a /usr/src/linux-2.6.9-22.EL directory tree. I am using CentOS 4.1 with kernel version 2.6.9-11.EL. To my unpleasant surprise, I discovered that for some reason CentOS decided to exclude the /usr/src/linux-2.6.9-22.EL directory tree. So far I downloaded kernel-2.6.9-22.EL.src.rpm and did this:

1.) rpm -ivh kernel-2.6.9-22.EL.src.rpm
2.) rpmbuild -bp --target=i686 kernel-2.6.spec in /usr/src/redhat/SPECS

I immediately get this:

Building target platforms: i686
Building for target i686
error: Failed build dependencies:

sh-utils is needed by kernel-2.6.9-22.EL.i686
tar is needed by kernel-2.6.9-22.EL.i686
perl is needed by kernel-2.6.9-22.EL.i686
gnupg is needed by kernel-2.6.9-22.EL.i686
gcc >= 2.96-98 is needed by kernel-2.6.9-22.EL.i686
redhat-rpm-config is needed by kernel-2.6.9-22.EL.i686

So now I am really confused. I have tar, perl, and gcc version 3.4.3 so I have no clue as to why rpm build script thinks I don't have them when I very much do have them. Aaaaagh!

I have no idea what is going on. What can I do? I can only assume that I should download and install sh-utils, gnupg, and redhat-rpm-config but what about tar, perl, and gcc is really there. they are all in my path too. If it turns out that I can't get this going, does anyone have any idea how I can get a /usr/src/linux-2.6.9-blah directory tree?!? Any help is always appreciated...

Last edited by iansoundz; 12-07-2005 at 01:10 AM.
 
Old 12-07-2005, 08:52 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,640

Rep: Reputation: 144Reputation: 144
Just my 2 cents:

I guess you are logged in as root while you try to do step 2. How are logged in? If you changed to root in a terminal or virtual console, did you change there with "su -" (su[space][minus sign]). Maybe it's just a problem that tar, perl and gcc are not in your $PATH variable?
 
Old 12-07-2005, 09:52 AM   #3
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Original Poster
Rep: Reputation: 15
Angry

They are in my path and I am logged in as root. ANyone else have any ideas? Remember, all I wasnt is a /usr/src/linux-2.6.9-blah directory tree. Day #13...
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Installing kernel problem leonidg Fedora 6 03-23-2005 05:58 AM
Recompile Kernel – SRPM – athlon or i686 ? lets-eat-gary Mandriva 1 12-23-2004 12:00 PM
problem with installing Kernel 2.6.3 slack_baby Linux - Software 2 02-27-2004 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration