Re: need help for installing source code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux