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.
|