Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-03-2007, 01:05 AM
|
#1
|
LQ Newbie
Registered: Jan 2007
Posts: 7
Rep:
|
madwifi installing probs
Hi, i'm trying to install Madwifi, and having some problems at "make" step.
tried:
Code:
make KERNELPATH=/usr/src/linux-headers-2.6.17-20-generic
got:
Code:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/home/box/madwifi-0.9.2.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-20-generic'
CC [M] /home/box/madwifi-0.9.2.1/ath/ah_osdep.o
HOSTCC /home/box/madwifi-0.9.2.1/ath/uudecode
/home/box/madwifi-0.9.2.1/ath/uudecode.c:26:19:error: stdio.h: No such file or directory
/home/box/madwifi-0.9.2.1/ath/uudecode.c:27:19:error: errno.h: No such file or directory
/home/box/madwifi-0.9.2.1/ath/uudecode.c:28:20:error: getopt.h: No such file or directory
....
A BUNCH OF MESSAGES SIMILAR TO THE LAST 3
....
make[3]: *** [/home/box/madwifi-0.9.2.1/ath/uudecode] Error 1
make[2]: *** [/home/box/madwifi-0.9.2.1/ath] Error 2
make[3]: *** [_modules_/home/box/madwifi-0.9.2.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-20-generic'
make: *** [modules] Error 2
btw, i've already had linux-restricted-modules-2.6.17-10-generic installed
I'd greatly appreciate any comments or suggestions.
|
|
|
01-03-2007, 01:14 AM
|
#2
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
I think you need to
Code:
sudo apt-get install build-essentials
and try again. If that still fails try
Code:
sudo apt-get install libc6-dev
|
|
|
01-03-2007, 11:36 AM
|
#3
|
LQ Newbie
Registered: Jan 2007
Posts: 7
Original Poster
Rep:
|
thank you so much, it's working perfectly now 
|
|
|
01-03-2007, 05:00 PM
|
#4
|
LQ Newbie
Registered: Jan 2007
Posts: 7
Original Poster
Rep:
|
one more small question:
while i tried to install that "build-essential", it first gave me some errors that looks like this (this is very similar but for installing lynx):
Code:
Err http:// ca.archive.ubuntu.com edgy/main lynx 2.8.5_2ubuntu2
Temporary failure resolving 'ca.archive .ubuntu.com'
Fail to fetch http://ca.archive.ubuntu.com/ubuntu/....
Temporary failure resolving 'ca.archive .ubuntu.com'
E: Unable to fetch some archives, may be run apt-get update or try with --fix-missing?
the weird thing was when i tried to remove the ubuntu CD and run "sudo apt-get install build-essential" it asked for the CD, and with the CD back in, it ran smoothly.
does anyone know why this happened? and how to prevent it? cuz it seems like i'm getting alot of this kinda error messages.
|
|
|
01-03-2007, 11:37 PM
|
#5
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
Your apt is set up to a certain repository, specifically ca.archive.ubuntu.com that is frequently down or otherwise unavailable. It's trying to download the package from a webpage that isn't up. When you put in the CD, it just fetches the file off the CD as an alternative. Just search for "ubuntu apt repository setup" and you'll find a good walkthrough. Just replace ca.archvie.ubuntu.com with a different one.
|
|
|
01-06-2007, 06:28 PM
|
#6
|
LQ Newbie
Registered: Jan 2007
Posts: 7
Original Poster
Rep:
|
thanks alot, PatrickNew
|
|
|
01-06-2007, 07:12 PM
|
#7
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
any time :-) that's what we're here for.
|
|
|
All times are GMT -5. The time now is 05:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|