From: Joe Zien on
I am using suse 10.3 and have a problem compiling the source
of madwifi

I'm trying to compile madwifi and this is the results:

linux-uwal:/Atheros/madwifi-0.9.4 # make
/bin/sh: cc: command not found
Makefile.inc:81: *** Cannot detect kernel version - please check
compiler and KERNELPATH. Stop.

linux-uwal:/Atheros/madwifi-0.9.4 # ./configure
-bash: ./configure: No such file or directory

Am I missing something? I have the kernel source:

root(a)sda6:/mnt/sda10/usr/src/linux-2.6.22.5-31# ls
arch COPYING crypto drivers include ipc kdb lib
MAINTAINERS mm README REPORTING-BUGS
security usr
block CREDITS Documentation fs init Kbuild kernel
localversion-rpm-release Makefile net README.SUSE scripts
sound
root(a)sda6:/mnt/sda10/usr/src/linux-2.6.22.5-31#

sda10 is my suse 10.3

This is the first time I'm trying to compile from source
and I want to know if everything is included in 10.3
to compile from source. Perhaps someone can direct me
to a how-to to do this.

jozien
From: Michael Soibelman on
Joe Zien wrote:

> I am using suse 10.3 and have a problem compiling the source
> of madwifi
>
> I'm trying to compile madwifi and this is the results:
>
> linux-uwal:/Atheros/madwifi-0.9.4 # make
> /bin/sh: cc: command not found
> Makefile.inc:81: *** Cannot detect kernel version - please check
> compiler and KERNELPATH. Stop.
>
> linux-uwal:/Atheros/madwifi-0.9.4 # ./configure
> -bash: ./configure: No such file or directory
>
> Am I missing something? I have the kernel source:
>
> root(a)sda6:/mnt/sda10/usr/src/linux-2.6.22.5-31# ls
> arch COPYING crypto drivers include ipc kdb lib
> MAINTAINERS mm README REPORTING-BUGS
> security usr
> block CREDITS Documentation fs init Kbuild kernel
> localversion-rpm-release Makefile net README.SUSE scripts
> sound
> root(a)sda6:/mnt/sda10/usr/src/linux-2.6.22.5-31#
>
> sda10 is my suse 10.3
>
> This is the first time I'm trying to compile from source
> and I want to know if everything is included in 10.3
> to compile from source. Perhaps someone can direct me
> to a how-to to do this.
>
> jozien

http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

Should get you going.

From: Kevin Nathan on
On Tue, 17 Jun 2008 22:58:42 -0400
Joe Zien <jozien(a)comcast.net> wrote:

>I'm trying to compile madwifi and this is the results:
>
>linux-uwal:/Atheros/madwifi-0.9.4 # make
>/bin/sh: cc: command not found

The 'cc' command is the C compiler. You need to install the development
environment. Easiest way is to go to YaST -> Software Management and
when it finally comes up, select 'Patterns' in the drop down 'Filter'
list. Scroll down to the 'Development' category and check the 'Base
Development' check box. This should get you all the tools the
compilation process will need.


--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- http://www.project54.com/linux/

Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.22.17-0.1-default
10:00pm up 9 days 9:03, 22 users, load average: 0.90, 0.66, 0.53

From: Markus Kossmann on
Joe Zien wrote:

> I am using suse 10.3 and have a problem compiling the source
> of madwifi
>
> I'm trying to compile madwifi and this is the results:
>
> linux-uwal:/Atheros/madwifi-0.9.4 # make
> /bin/sh: cc: command not found
Did you install gcc and other tools needed to compile from sources ?