LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (http://www.linuxquestions.org/questions/mandriva-30/)
-   -   Error "make: *** No rule to make target `install'. Stop." help (http://www.linuxquestions.org/questions/mandriva-30/error-make-%2A%2A%2A-no-rule-to-make-target-%60install-stop-help-191183/)

Ohmn 06-08-2004 03:11 PM

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:

ndiswrapper.ko ndiswrapper.ko.gz


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.

aikempshall 06-11-2004 06:18 AM

Did you get any strange messages when you ran ./configure or make ?

Ph0enix2003 06-11-2004 09:20 AM

Did you run "./configure" and "make" first?

Ohmn 06-11-2004 02:13 PM

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

http://www.linuxquestions.org/questi...703#post985703

If anyone one has any ideas to help me or hell-shooter who originated the post please post there :) Thanks

Ph0enix2003 06-11-2004 09:46 PM

Quote:

Originally posted by Ohmn
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

http://www.linuxquestions.org/questi...703#post985703

If anyone one has any ideas to help me or hell-shooter who originated the post please post there :) Thanks

If you downloaded a source package then you most certainly have to run those first to compile it, before "make install".

Ohmn 06-14-2004 01:21 PM

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

Ph0enix2003 06-14-2004 02:17 PM

Quote:

Originally posted by Ohmn
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

Is there a "src" directory within usr/src/linux 2.6.3-7/3rdparty/ndiswrapper ? ...is so, CD into it and then try configure, make and finally make install.

Ohmn 06-14-2004 02:33 PM

Quote:

Is there a "src" directory within usr/src/linux 2.6.3-7/3rdparty/ndiswrapper ? ...is so, CD into it and then try configure, make and finally make install.
Are you asking me to run these in /usr/src or if there is a "src" within /usr/src/linux 2.6.3-7/3rdparty/ndiswrapper/src?

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.

natman 07-02-2004 08:02 PM

Quote:

Originally posted by Ohmn

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
Try this, just to humor me...
cd into /usr/src/linux2.6.3-7/3rdparty/ndiswrapper and do the following:
Code:

ls ./configure
to verify that the file is there. If it is...
Code:

./configure
Just a hunch :cool:


All times are GMT -5. The time now is 08:11 PM.