Re: where to start to set up wireless?

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

 



On Wed, 2004-09-15 at 07:09, Jon Savage wrote:
> > Hmm. FC2/2.6 kernels already have the required include/build files
> > part of the kernel (in /lib/modules/2.6.8-1.521/build)
> > 
> > I would think ndiswrapper installer/makefile finds this automatically.
> > 
> > Satish
> Just tried building it on my machine w/o kernel source installed...
> _________________________________________________
> ake -C driver distdir=../ndiswrapper-0.10/driver dist
> make[1]: Entering directory `/home/jsavage/ndiswrapper-0.10/driver'
> make[1]: Leaving directory `/home/jsavage/ndiswrapper-0.10/driver'
> make -C utils distdir=../ndiswrapper-0.10/utils dist
> make[1]: Entering directory `/home/jsavage/ndiswrapper-0.10/utils'
> make[1]: Leaving directory `/home/jsavage/ndiswrapper-0.10/utils'
> make -C debian distdir=../ndiswrapper-0.10/debian dist
> make[1]: Entering directory `/home/jsavage/ndiswrapper-0.10/debian'
> make[1]: Leaving directory `/home/jsavage/ndiswrapper-0.10/debian'
> tar cfz ndiswrapper-0.10.tar.gz ndiswrapper-0.10
> cat ndiswrapper.spec.in | sed s/NDISWRAPPER_VERSION/0.10/ >ndiswrapper.spec
> if test -d /usr/src/redhat/SOURCES ; then \
>   cp ndiswrapper-0.10.tar.gz /usr/src/redhat/SOURCES ;\
> else \
>   cp ndiswrapper-0.10.tar.gz /usr/src/RPM/SOURCES ; \
> fi
> cp: cannot create regular file `/usr/src/RPM/SOURCES': No such file or
> directorymake: *** [rpm] Error 1
> _________________________________________________________________________________
> Looks like it does need kernel-sourcecode installed, the machine I
> built ndiswrapper on successfully did have it installed...

The error you've seen is caused by not having either of the directories
/usr/src/RPM or /usr/src/redhat/SOURCES present. One of these needed for
RPM-building and they are not associated with the kernel source code.
Try installing the rpm-build package and see if it behaves differently.

> >From the install notes for ndiswrapper 0.10:
> ________________________________________________________________________________
> Prerequisites
> -------------
> * You need a recent kernel (at least 2.6.0 or 2.4.20) with source.
> * Make sure there is a link to the source from the modules directory:
>   '/lib/modules/<VERSION>/build' should be a link to the kernel
>   source, where <VERSION> is the version of the kernel you are running.
> * Some vendors ship ndiswrapper in their distributions. Either use...
> _________________________________________________________________________________
> 
> So he'll probably need to get the kernel-sourcecode & any deps before
> he can build ndiswrapper,

Many modules can build without the source code present in 2.6 that
needed the source code for 2.4, as the 2.6 kernel RPMs include much of
what is needed for module-building. It would certainly be worth trying
installing kernel-sourcecode if the build still fails without it though.

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