LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Error using Make (http://www.linuxquestions.org/questions/linux-desktop-74/error-using-make-472337/)

SJSpring90 08-09-2006 12:36 PM

Error using Make
 
I am trying to install ndiswrapper from source but I get an error when I type in make, it says:
Quote:

sspringer@sspringer-desktop:~$ cd Desktop
sspringer@sspringer-desktop:~/Desktop$ cd ndiswrapper-1.22
sspringer@sspringer-desktop:~/Desktop/ndiswrapper-1.22$ make
make -C driver
make[1]: Entering directory `/home/sspringer/Desktop/ndiswrapper-1.22/driver'
Can't find kernel build files in /lib/modules/2.6.15-23-386/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/sspringer/Desktop/ndiswrapper-1.22/driver'
make: *** [all] Error 2
sspringer@sspringer-desktop:~/Desktop/ndiswrapper-1.22$
This is the first time I am doing this so i really have no clue. Thanks!

shakumafu 08-09-2006 08:08 PM

you have to type the command "./configure" first

then after make is complete, you have will probably have to "make install" with root privilages

shakumafu 08-09-2006 08:11 PM

general compiling instructions

./configure
make
make install (with root priv)

SJSpring90 08-10-2006 03:14 PM

I am using Ubuntu 6.06 and it doesn't come with any development packages I think so it says that ./configure is not a valid command. The program that I am trying to install is ndis wrapper so I can get the internet so using synaptics isn't an option but if anyone could please post a link to the package I need to use ./configure it would be very helpful, then I can burn it on to a disc and put it on my desktop. Thanks!

psisquare 08-10-2006 03:27 PM

Dunno if you need configure, but you definitely must have kernel sources installed to compile ndiswrapper. That's the Ubuntu package
Code:

linux-source-2.6.15
.

But it's probably easier to just install
Code:

ndiswrapper-modules-2.6.15-23-386
and
Code:

ndiswrapper-utils
, which spares you the hassle of compiling it yourself (especially since a standard Ubuntu installation isn't exactly well-equipped for such things).

I hope I got all the numbers right btw, the Ubuntu installation I have here is abit outdated.

shakumafu 08-11-2006 12:34 AM

type in terminal

sudo apt-get install build-essential

those are the packages required to build things from source


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