Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd December 2005, 08:12
Arachne Arachne is offline
Junior Member
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation 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!
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2005, 09:00
Arachne Arachne is offline
Junior Member
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
- 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!
Reply With Quote
  #3  
Old 3rd December 2005, 09:06
Arachne Arachne is offline
Junior Member
 
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #4  
Old 14th December 2005, 07:11
clayg clayg is offline
Junior Member
 
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 14th December 2005, 12:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by clayg
sudo apt-get install
Should be
Code:
sudo apt-get install make
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 31st July 2006, 11:20
AZRAIL AZRAIL is offline
Junior Member
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #7  
Old 31st July 2006, 11:44
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

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:

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.
Reply With Quote
  #8  
Old 31st July 2006, 11:59
AZRAIL AZRAIL is offline
Junior Member
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #9  
Old 31st July 2006, 12:17
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

then comment out the cdromline with #

an add that:

deb http://nl.archive.ubuntu.com/ubuntu breezy main restricted
Reply With Quote
  #10  
Old 1st August 2006, 12:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Make /etc/apt/sources.list look like on http://www.howtoforge.com/perfect_setup_ubuntu_5.10_p3 and run
Code:
apt-get update
afterwards. Then run
Code:
apt-get install make
Of course, you must do all this as root.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cpan> install DB_File make error Nu2Linux HOWTO-Related Questions 6 13th April 2012 22:06
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 16:55
Mix of Install Problems shawndb Installation/Configuration 5 15th September 2005 09:09
Error trying to install - on RH9 bgarlock Installation/Configuration 7 17th August 2005 10:43


All times are GMT +2. The time now is 15:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.