Can't find 'make' on new Ubuntu install
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!
An update; I followed some instructions for newbie Linux users and installed java and gcc. Now 'make' works, but I get errors when trying to follow the NdisWrapper instructions.
From the NW instructions - apparently I need to run the following three commands:
- make distclean
- 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':
make -C driver
make: 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: *** [prereq_check] Error 1
make: Leaving directory `/path/ndiswrapper-1.6/driver'
make: *** [all] Error 2
Does anybody have some suggestions on how I can get this working?? Thanks!
Doh! Ubuntu-specific instructions on NW doc site
Yikes. The NdisWrapper doc site has some Ubuntu-specific instructions.
I think these will take care of my questions; sorry for wasting your time.
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 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.
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?
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:
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'
## 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
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'
## 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.
then comment out the cdromline with #
an add that:
deb http://nl.archive.ubuntu.com/ubuntu breezy main restricted
Make /etc/apt/sources.list look like on http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3 and run
|All times are GMT +2. The time now is 01:13.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.