[opensuse] compile from source
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@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@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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Zien, On Wed, Jun 18, 2008 at 10:27 AM, Joe Zien <jozien@comcast.net> 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:
To compile madwifi drivers from source, you will need these package installed on your system : - kernel-source (including kernel-header) - gcc & gcc-c++ - make And also, you must run ./configure first before run make (the order are : ./configure, make, make install) -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog/index.php Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz Email : vavai@vavai.com /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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@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@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
If you are compiling to attempt to get the Atheros AR5005XX AR5006XX cards working, don't worry about it, they are already built. I have the AR5006EG and I was pulling my hair out until I found the reason it wouldn't work and found the packages I needed. The package that worked for me was: madwifi-kmp-default-r3698+AR5007EG_2.6.22.17_0.1-2.1 Check to see which you need and it is most likely already available: 16:45 alchemy~> webpin madwifi 61 results (8 packages) found for "madwifi" in openSUSE_103 * madwifi-devel: Tools for configuring atheros cards - 0.9.3.99 [suse-oss] - ng_r3366+ar5007 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717 [BS::home:/schmolle1980] - r3725+AR5007EG [BS::home:/schmolle1980] * madwifi: Tools for configuring atheros cards - 0.9.3.99 [suse-oss] - ng_r3366+ar5007 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717 [BS::home:/schmolle1980] - r3725+AR5007EG [BS::home:/schmolle1980] * madwifi-kmp-debug: kernel modules for atheros cards - ng_r3366+ar5007_2.6.22.5_31 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007_2.6.22.5_31 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717_2.6.22.5_31 [BS::home:/schmolle1980] - trunk+r3717_2.6.22.17_0.1 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.5_31 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.17_0.1 [BS::home:/schmolle1980] - ng_r3366+ar5007_2.6.22.17_0.1 [BS::home:/appleonkel:/EEE] * madwifi-kmp-xen: kernel modules for atheros cards - ng_r3366+ar5007_2.6.22.5_31 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007_2.6.22.5_31 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717_2.6.22.5_31 [BS::home:/schmolle1980] - trunk+r3717_2.6.22.17_0.1 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.5_31 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.17_0.1 [BS::home:/schmolle1980] - ng_r3366+ar5007_2.6.22.17_0.1 [BS::home:/appleonkel:/EEE] * madwifi-kmp-bigsmp: kernel modules for atheros cards - ng_r3366+ar5007_2.6.22.5_31 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007_2.6.22.5_31 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717_2.6.22.5_31 [BS::home:/schmolle1980] - trunk+r3717_2.6.22.17_0.1 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.5_31 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.17_0.1 [BS::home:/schmolle1980] - ng_r3366+ar5007_2.6.22.17_0.1 [BS::home:/appleonkel:/EEE] * madwifi-kmp-default: kernel modules for atheros cards - ng_r3366+ar5007_2.6.22.5_31 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007_2.6.22.5_31 [BS::home:/Riggwelter] - trunk+r3717_2.6.22.5_31 [BS::home:/schmolle1980] - trunk+r3717_2.6.22.17_0.1 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.5_31 [BS::home:/schmolle1980] - ng_r3366+ar5007_2.6.22.17_0.1 [BS::home:/appleonkel:/EEE] * madwifi-kmp-xenpae: kernel modules for atheros cards - ng_r3366+ar5007_2.6.22.5_31 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007_2.6.22.5_31 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717_2.6.22.5_31 [BS::home:/schmolle1980] - trunk+r3717_2.6.22.17_0.1 [BS::home:/schmolle1980] - r3725+AR5007EG_2.6.22.17_0.1 [BS::home:/schmolle1980] - ng_r3366+ar5007_2.6.22.17_0.1 [BS::home:/appleonkel:/EEE] * madwifi-debuginfo: Debug information for package madwifi - ng_r3366+ar5007 [BS::home:/appleonkel:/EEE] - ng_r2756+ar5007 [BS::home:/Riggwelter | BS::home:/tomalbers] - trunk+r3717 [BS::home:/schmolle1980] - r3725+AR5007EG [BS::home:/schmolle1980] *** Just remember that "BS::" above means: "http://download.opensuse.org/repositories/" -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-06-17 at 23:27 -0400, Joe Zien 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
So, install a C compiler. Being linux, that means gcc. Just tell yast to install it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIWZMRtTMYHG2NR9URAswOAJ40zQCGHErmjI3AsxOCCYm5abSPRQCdG6pm W8wzCxbJaSoxwza4GyqdNOs= =pocR -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
David C. Rankin
-
Joe Zien
-
Masim "Vavai" Sugianto