LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-03-2007, 01:05 AM   #1
7up
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
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.
 
Old 01-03-2007, 01:14 AM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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
 
Old 01-03-2007, 11:36 AM   #3
7up
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
thank you so much, it's working perfectly now
 
Old 01-03-2007, 05:00 PM   #4
7up
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 01-03-2007, 11:37 PM   #5
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
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.
 
Old 01-06-2007, 06:28 PM   #6
7up
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
thanks alot, PatrickNew
 
Old 01-06-2007, 07:12 PM   #7
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
any time :-) that's what we're here for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help installing madwifi pitchblack Linux - Hardware 3 08-28-2006 05:32 PM
Error installing madwifi drivers. Kaao Linux - Desktop 0 08-14-2006 08:42 PM
installing madwifi from usb - Damn SL jakamaja Linux - Wireless Networking 1 06-11-2006 11:02 PM
Error installing madwifi hotwired24 Linux - Wireless Networking 0 08-25-2004 04:28 AM
Installing Madwifi driver vae Linux - Wireless Networking 1 08-16-2004 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration