LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 06-08-2004, 02:11 PM   #1
Ohmn
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Rep: Reputation: 15
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 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.

Last edited by Ohmn; 06-08-2004 at 02:14 PM.
 
Old 06-11-2004, 05:18 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 379

Rep: Reputation: 37
Did you get any strange messages when you ran ./configure or make ?
 
Old 06-11-2004, 08:20 AM   #3
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Rep: Reputation: 15
Did you run "./configure" and "make" first?
 
Old 06-11-2004, 01:13 PM   #4
Ohmn
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Original Poster
Rep: Reputation: 15
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

Last edited by Ohmn; 06-11-2004 at 01:26 PM.
 
Old 06-11-2004, 08:46 PM   #5
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Rep: Reputation: 15
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".
 
Old 06-14-2004, 12:21 PM   #6
Ohmn
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Original Poster
Rep: Reputation: 15
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

Last edited by Ohmn; 06-14-2004 at 12:23 PM.
 
Old 06-14-2004, 01:17 PM   #7
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Rep: Reputation: 15
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.
 
Old 06-14-2004, 01:33 PM   #8
Ohmn
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Original Poster
Rep: Reputation: 15
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.

Last edited by Ohmn; 06-14-2004 at 01:34 PM.
 
Old 07-02-2004, 07:02 PM   #9
natman
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Installation. "No rule to make target.." Aries311 Linux - Software 2 07-02-2005 03:47 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM
Error: *** No rule to make target 'all'. Stop aa2bi Linux - Newbie 6 06-08-2004 12:55 PM
*** No rule to make target `modules'. Stop. kmack2001 Linux - Newbie 9 02-16-2004 01:02 PM


All times are GMT -5. The time now is 01:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration