Error "make: *** No rule to make target `install'. Stop." help
The long story is I am trying to get ndiswrapper installed and working in mandrake 10 official. 10 official comes with ndiswrapper on one of the install cd and I used the install program to place it on the computer. It placed the following files in two directories.
In /usr/src/linux-2.6.3-7mdk/3rdparty/ndiswrapper there are the following files:
casemap.h Kconfig loader.h misc_funcs.c ndis.h winsyms.c wrapper.c
coffpe.h loader.c Makefile ndis.c proc.c winsyms.h wrapper.h
In /lib/modules/2.6.3-7mdk/kernel/3rdparty/ndiswrapper there are the following files:
Okay so far so good. Now I try to run "make install" in either of these directories where ndiswrapper files were placed with root privaledges and I get the error message:
"make: *** No rule to make target `install'. Stop."
Thinking I must have a link missing I went to the install cds and installed sources for 2.6.3-7 (this is the kernel "uname-r" told me I had). It placed the following files in the respective places.
In /usr/src I have the following three folders including one folder link
linux linux-2.6.3-7mdk RPM (where “linux” is a folder that points to /usr/src/linux-2.6.3-7mdk)
These are the files and folder in /usr/src/linux-2.6.3-7mdk/kernel:
acct.c extable.c module.c ptrace.c time.c
capability.c fork.c panic.c rcupdate.c timer.c
compat.c futex.c params.c resource.c uid16.c
configs.c intermodule.c pid.c sched.c user.c
cpu.c itimer.c posix-timers.c signal.c workqueue.c
dma.c kallsyms.c power softirq.c
exec_domain.c kmod.c printk.c sys.c
exit.c Makefile profile.c sysctl.c
and “power” is a folder with the following files:
console.c Kconfig Makefile pmdisk.c poweroff.c swsusp.c
disk.c main.c pm.c power.h process.c
Not being a linux master by any streach of the imagination it looked liked I was good to go. So I tried "make install". But as I said at the top of the post when I “make install” in usr/src/linux-2.6.3-7mdk/3rdparty/ndiswrapper or /lib/modules/2.6.3-7mdk/kernel/3rdparty/ndiswrapper it gives me the error message:
make: *** No rule to make target `install'. Stop.
I re-installed ndiswrapper hoping after a re-install it would work. But I got the same message. Heh, obviously I have a long way to go to get ndiswrapper to work with my linksys wmp11 v 2.7 :p But the first step is being able to "make install" so that I can execute the command ndiswrapper -i<path of inf file>. And no this command does not work either. Help would be greatly appreciated. Thanks.
Did you get any strange messages when you ran ./configure or make ?
Did you run "./configure" and "make" first?
No I did not run those first. What I did was uninstalled the .4 ndiswrapper that came with mandrake 10 official and downloaded the newer ndiswrapper .8 and then the "make install" ran fine.
But should I have run those first?
Since there was already a post in the linux network section about ndiswapper and mandrake 10 official I have posted my continued woes on this thread to save space
If anyone one has any ideas to help me or hell-shooter who originated the post please post there :) Thanks
Okay back with a couple more questions. I read in a thread in linux wireless that people were having better success with ndiswrapper .4 rather than .8 So I am again trying to install .4 I believe I tracked down and got rid of all .8 files but to make sure I re-installed. It was a new install so no big deal. Here is what I have done
1. Installed mandrake 10 official 2.6.3-7
2. Installed 2.6.3-7 kernel sources through the "add packages software" in KDE 3.2 A link in /usr/src takes one to kernel 2.6.3-7. There is a "build" link in /lib/modules/2.6.3-7. I assume this means installing source worked.
3. I installed ndiswrapper .4 through the "add packages software" in KDE 3.2
Files where places in usr/src/linux 2.6.3-7/3rdparty/ndiswrapper
4. I have been informed in this thread I need to run "./configure" and "make"
5. I cd into /usr/src/linux 2.6.3-7/3rdparty/ndiswrapper and run:
Run "./configure" and receive the error message:
"bash: ./configure: no such file or directory
Run "configure" and receive the error message:
"bash: configure: no such file
Run "make" and recieve the error message:
"make: *** No targets. Stop.
Run "make install" and receive the error message:
"make *** No rule to make target "install". stop.
6. Hoping in vain it is already installed I run "ndiswrapper -i (to install windows driver) and receive the error message
"bash: ndiswrapper: command not found
Okay where am I going wrong? Thanks
There is no "src" in any of the following directories of /usr/src/linux 2.6.3-7/3rdparty/ndiswrapper: linux 2.6.3-7, 3rdparty or ndiswrapper. There is one in /usr.
cd into /usr/src/linux2.6.3-7/3rdparty/ndiswrapper and do the following:
|All times are GMT -5. The time now is 01:34 AM.|