[wplug] compilation question

bpmedley at 4321.tv bpmedley at 4321.tv
Tue Aug 21 11:36:00 EDT 2001


On 21 Aug 2001, Doug Green wrote:

> I have a general question about compiling new packages. I have RH7.1
> installed in a laptop, I used the "default" laptop installation with
> pcmcia support. Here is the question:
>
> Can I compile packages from a tar file even though kernel sources were
> not installed? The toplevel Makefile suggests that I need to point it at
> the kernel sources... I am trying to install afpfs (the flipside of
> netatalk) and there is no rpm available.

In general:

I think you will need the 'kernel-headers' package installed.  The kernel
contains a large number of include files that are necessary to properly
compile most software.  These include files are usually accessible via
/usr/include/linux.  Many distributions symlink /usr/include/linux ->
/usr/src/linux/include/linux.  However, IIRC, RH 7.1 has an actual
directory for these include files and placed them in the 'kernel-headers'
package.

I would assume that this is already installed, but you can check with:
    $ rpm -qa | grep kernel

Your case is a little different, however.  You are compiling a kernel
module.  Therefore, I'm pretty sure you will need to have the kernel
sources installed to compile this...

~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                          Brian Medley         @~./'O o`\.~@
"Knowledge is Power" brian.medley at verizon.net /__( \___/ )__\  *PPPFFBT!*
  -- Francis Bacon                               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`




More information about the wplug mailing list