On Wed, Sep 18, 2002 at 04:54:42PM +0200, Mustapha Hadim wrote:
> Emmanuel Seyman a écrit :
> 
> > On Wed, Sep 18, 2002 at 01:09:43PM +0200, Mustapha Hadim wrote:
> > >
> > > Indeed, I  typing, rpm -q kernel-2.4.18-3.src.rpm, to install the source
> > > kernel, and the problem is not resolved.
> >
> > You probably want the file kernel-source-2.4.18-3.i386.rpm .
> > Install that using "rpm -Uvh" and you'll find the source code
> > in /usr/src/linux-2.4/ .
> >
> 
> What I wanted to install is the package : kernel-2.4.18-3.src.rpm.
> The package exists on the source code CD of RedHat Linux 7.3.
> I did : rpm -Uvh ... .
> The problem is that it seems that this package do not contains all
> the source files of the kernel 2.4.18-3, needed by my application.
> Then, I am trying to get them from www.kernel.org.

The kernel-2.4.18-3.src.rpm does contain the kernel source, but not in
the form you want it.  It allows you to recompile the kernel yourself,
and build the RPMs you can get from RH.  If you have applications that
need the kernel includes, then you'll probably just want the
kernel-source-2.4.18-3.i386.rpm as mentioned above.

Note that when you install a *.src.rpm, it doesn't (AFAIK) go into the
RPM database at all.  The files get installed into /usr/src/redhat (by
default), but that's it.  So if you later try to query said RPM, rpm
won't even know it has been installed.

HTH,
Ben

-- 
Ben Logan: ben at wblogan dot net
OpenPGP Key KeyID: A1ADD1F0

You can rent this space for only $5 a week.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to