need help for installing source code

Kuldeep Prakash kuldeepprakash at gmail.com
Sat Mar 12 07:59:01 UTC 2005


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

thanx and regards
Kuldeep
rpm -K --nosignature
 



On Fri, 11 Mar 2005 09:03:35 +0000, Paul Howarth <paul at city-fan.org> wrote:
> On Fri, 2005-03-11 at 11:27 +0530, Kuldeep Prakash wrote:
> > Hello Everybody
> >  I am a newbie at linux , I have installed the Red had Fedora core 2
> > linux. The installation goes through but I am not able to install the
> > source code.
> >  I want to learn about Linux device drivers and want to start by
> > building kernel. Can any one please guide me ??
> 
> On FC2, you can install the "kernel-source" (if your system hasn't had
> the errata updates applied) or the "kernel-sourcecode" package (if your
> system is up to date, which is a good state to be in).
> 
> On FC3, see:
> http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/
> 
> Paul.
> --
> Paul Howarth <paul at city-fan.org>
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the users mailing list