LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   having trouble with make install (https://www.linuxquestions.org/questions/linux-newbie-8/having-trouble-with-make-install-380073/)

sublyme718 11-04-2005 10:32 PM

having trouble with make install
 
I'm trying to install ndiswrapper. I'm logged in as root and im the the /ndiswrapper-1.5 directory where I have my extracted files. When I try a make install i get this:

make -C driver install
make[1]: Entering directory '/tmp/ndiswrapper/ndiswrapper-1.5/driver'
Can't find kernel sources in /lib/modules/2.6.11-1.1369_FC4/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory '/tmp/ndiswrapper/ndiswrapper-1.5/driver'
make: *** [install] Error 2

[root@localhost ndiswrapper-1.5]#

Can anyone help?

debianmike 11-04-2005 10:57 PM

yes, you need to install the kernel-source for your running kernel...

uname -a will tell you which kernel you have, then you can install that kernel via your distro's package manager.

sublyme718 11-05-2005 05:45 PM

I tried to install the kernel-source
Code:

[root@localhost ndiswrapper-1.5]# uname -r
2.6.11-1.1369_FC4
[root@localhost fc4]# yum install kernel-2.6.11-1.1369_FC4.src.rpm
Setting up Install Process
Setting up repositories
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 337 kB    00:00
updates-re: ################################################## 993/993
Added 2 new packages, deleted 0 old in 2.14 seconds
Parsing package install arguments
Examining kernel-2.6.11-1.1369_FC4.src.rpm: kernel - 2.6.11-1.1369_FC4.ppc64iseries
kernel-2.6.11-1.1369_FC4.src.rpm: does not update installed package.
Nothing to do

make install is still not functioning. this is the error
Code:

[root@localhost ndiswrapper-1.5]# make install
make -C driver install
make[1]: Entering directory `/usr/local/ndiswrapper/ndiswrapper-1.5/driver'
Can't find kernel sources in /lib/modules/2.6.11-1.1369_FC4/build;
  give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/usr/local/ndiswrapper/ndiswrapper-1.5/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.5]#

please help....


All times are GMT -5. The time now is 04:42 AM.