[wplug] compilation question
Doug Green
green at np.awing.upmc.edu
Tue Aug 21 12:28:02 EDT 2001
Thanks all for the help! I'll look on the CDs to see if I can get the
sources.
Doug
On 21 Aug 2001 11:36:00 -0400, bpmedley at 4321.tv wrote:
> 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_/'
> _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
> ~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list