PDA

View Full Version : Can't find 'make' on new Ubuntu install


Arachne
3rd December 2005, 08:12
I'm a new *nix user - I just installed Ubuntu 5.1. I followed the Ubuntu docs to install my wifi card. Apparently I need NdisWrapper, which I've downloaded and untarred - all set to install it.

According to the NdisWrapper docs I need to compile NW using 'make'. But...I get "make: command not found" when I try to run it.

I ran a 'find' on my filesystem and didn't find 'make' anywhere. I feel like an idiot - but am I missing something obvious? It doesn't seem fair that a brand-new Ubuntu install on a clean partition wouldn't contain 'make'. Help!

Thanks for your time!

Arachne
3rd December 2005, 09:00
An update; I followed some instructions for newbie Linux users (http://www.paulstamatiou.com/2005/10/24/how-to-ubuntu-linux-for-novices/) and installed java and gcc. Now 'make' works, but I get errors when trying to follow the NdisWrapper instructions.

From the NW instructions (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation) - apparently I need to run the following three commands:
- make distclean
- make
- make install

'makedistclean' worked fine, but the second 'make' returned errors - and I'm not sure why. NW doesn't have a support forum - do I need to install some other package to do this?

The error from the second 'make':
arachne@ubuntu:~/path/ndiswrapper-1.6$ make
make -C driver
make[1]: Entering directory `/path/ndiswrapper-1.6/driver'
Can't find kernel sources in /lib/modules/2.6.12-10-386/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/path/ndiswrapper-1.6/driver'
make: *** [all] Error 2

Does anybody have some suggestions on how I can get this working?? Thanks!

Arachne
3rd December 2005, 09:06
Yikes. The NdisWrapper doc site has some Ubuntu-specific instructions (http://ndiswrapper.sourceforge.net/mediawiki/index.php/Ubuntu).

I think these will take care of my questions; sorry for wasting your time.

clayg
14th December 2005, 07:11
I also had this problem (along with another I cannot remember now) with the Ubuntu Breezy ISP settup. Just to save people the time of reading though a wiki to find what they need what solved it for me was to , well install make.

If you followed the instructions and BECAME root earlier:
apt-get update
apt-get install make

if not you must become a superuser and do it (sudo):
sudo apt-get update
sudo apt-get install

Hope this helps some people.

falko
14th December 2005, 12:08
sudo apt-get install

Should be sudo apt-get install make :)

AZRAIL
31st July 2006, 11:20
hello,

i try to install something in ubuntu but than it says when i type the command make install:

cannot find command

than i type:

sudo apt-get install make

it asks to the cd with the label:

'Ubutnu 5.10 _Breezy Badger_ - Release i386 (20051012)'

where can i find and download this cd?

thanks

Ben
31st July 2006, 11:44
Would you mind downloading from the intenret? I mean you will need that anyway to keep your system up to date via apt-get / aptitude.
So check your /etc/apt/sources.list and comment all lines out via # having no http or ftp in front.

On my servers sources.list look like that:


deb ftp://ftp.tiscali.de/pub/debian/debian/ sarge main
deb-src ftp://ftp.tiscali.de/pub/debian/debian/ sarge main
deb ftp://ftp.tiscali.de/pub/debian/debian-non-US/ sarge/non-US main
deb-src ftp://ftp.tiscali.de/pub/debian/debian-non-US/ sarge/non-US main


deb http://security.debian.org/ sarge/updates main


But take this just as an example because I don't know which stuff behind the URLs resides when using any debian based linux like ubuntu.

AZRAIL
31st July 2006, 11:59
i dont mind downloading it from the internet. but as linux is still a bit abra kadabra for me and i dont know exactly how to work with the command line.

when i go to the source list i get this:


deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


## Uncomment the following two lines to fetch updated software from the network
# deb-src http://nl.archive.ubuntu.com/ubuntu breezy main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://nl.archive.ubuntu.com/ubuntu breezy-updates main restricted
# deb-src http://nl.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://nl.archive.ubuntu.com/ubuntu breezy universe main restricted
# deb-src http://nl.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://nl.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
# deb-src http://nl.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

# deb http://security.ubuntu.com/ubuntu breezy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

# deb http://security.ubuntu.com/ubuntu breezy-security universe
# deb-src http://security.ubuntu.com/ubuntu breezy-security universe

i actually dont know what to do with this information. i simply want to have to command "make" working.

Ben
31st July 2006, 12:17
then comment out the cdromline with #

an add that:

deb http://nl.archive.ubuntu.com/ubuntu breezy main restricted

falko
1st August 2006, 12:34
Make /etc/apt/sources.list look like on http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3 and run
apt-get update afterwards. Then run apt-get install make Of course, you must do all this as root.

davekeogh
10th August 2006, 21:32
Just install the kernel sources. Thats all its looking for.