Hello Paul I am feeling little stupid now , I have been trying to build kernel for last 2 weeks but am stuck till now. I tried the following the steps mentioned at the link http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/steps.html but couldn't even pass through the first step mentioned in the doc. That is ~/.rpmmacros couldn't find this file in my installation. But than I went to the fourth step â Install Source Use rpm to install the kernel source code. rpm -ihv kernel-XXX.src.rpm but got the error as I had mentioned in my last mail. I have bought the Linux at the local book store. Its red had fedora core 3 , with four installation CDs and four source code cds. Can you please give me more detailed instruction so that I can proceed a little. thanx and regards Kuldeep On Sat, 12 Mar 2005 10:54:53 +0000, Paul Howarth <paul@xxxxxxxxxxxx> wrote: > On Sat, 2005-03-12 at 13:29 +0530, Kuldeep Prakash wrote: > > Hello Paul , > > thanx for the suggestion , I tried it and got stuck at the next step :( > > there is a file in one of the cd , the file name is > > kernel-2.6.9_1.667.src.rpm , I assume its the kernel source code. > > I tried to extract the source code by following command > > rpm -ihv ../SRPMS/kernel-2.6.9_1.667.src.rpm > > I got the following output > > warning :../SRPMS/kernel-2.6.9_1.667.src.rpm: V3 DSA singature : NOKEY > > , Key id 4f2a6fd2 > > You can get rid of this warning message using: > # rpm --import /usr/share/doc/fedora-release-*/RPM-GPG-KEY* > > > 1. Kernel ############################################## [100 %] > > > > > > Then I tried the following command > > rpm -K --nosignature --nodigest ../SRPMS/kernel-2.6.9_1.667.src.rpm > > > > I got the following output > > ../SRPMS/kernel-2.6.9_1.667.src.rpm : ok > > > > but I didnt see any extracted source code file anywhere. What is it > > that I am doing wrong ??? > > > > Also can I extract the kernel source in any directory , or I have to > > do it in /usr/src only. > > I am trying to learn how to compile a linux kernel. > > OK, you're using the .src.rpm (good). This does not extract the source > into /usr/src, but that's not a problem - it doesn't need to be there. > Just follow the "FC3 method" for building a kernel: > > > > On FC3, see: > > > http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/ > > This will result in a customised kernel rpm that you can install and > uninstall easily on as many machines as you like - very convenient. > > Paul. > -- > Paul Howarth <paul@xxxxxxxxxxxx> > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list >