Modify

Opened 9 years ago

Closed 9 years ago

#48 closed defect (fixed)

iw in debwrt, why

Reported by: Geert Stappers <stappers@…> Owned by: amain
Priority: major Milestone: milestone:
Component: debian/packages Version: 2.0
Severity: Keywords:
Cc:

Description

iw seems to be the succesor of iwconfig

DebWrt has it's own iw package and Debian has an iw package.
( http://www.debwrt.net/trac/browser/debwrt/debwrt/trunk/debian/package/iw
and http://packages.qa.debian.org/i/iw.html )

But why?, I can't see why DebWrt build this package.
What makes this package special?

Stappers
asking because he gets an build error on the iw package

Attachments (0)

Change History (8)

comment:1 Changed 9 years ago by Geert Stappers <stappers@…>

The build error

make[1]: Entering directory `/usr/src/iw/iw-0.9.19'
Makefile:38: *** Cannot find development files for any supported version of libnl.  Stop.
make[1]: Leaving directory `/usr/src/iw/iw-0.9.19'

comment:2 Changed 9 years ago by Geert Stappers <stappers@…>

Unified patch that avoids build iw

--- debian/package/debian.mk    (revision 136)
+++ debian/package/debian.mk    (working copy)
@@ -16,7 +16,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 include $(TOPDIR)/debian/package/libnl/build.mk
-include $(TOPDIR)/debian/package/iw/build.mk
 include $(TOPDIR)/debian/package/debwrt-kernel-headers/build.mk
 include $(TOPDIR)/debian/package/robocfg/build.mk
 include $(TOPDIR)/debian/package/nvram/build.mk
@@ -27,7 +26,7 @@
 include $(TOPDIR)/debian/package/libnl-tiny/build.mk
 include $(TOPDIR)/debian/package/swconfig/build.mk
 
-debian/package/rootfs: debian/package/iw          \
+debian/package/rootfs: \
                        debian/package/libnl       \
                        debian/package/robocfg     \
                        debian/package/nvram       \

comment:3 Changed 9 years ago by amain

  • Status changed from new to accepted

iw package is not in Lenny, therefore this packages was added, and to make sure we had the latest version / same version as OpenWrt is using. See http://packages.debian.org/unstable/main/iw.

Please install the Debian version of the iw package and confirm that the Debian package is working correctly. If so, I will apply this patch.

comment:4 Changed 9 years ago by amain

Related to bug #46

comment:5 Changed 9 years ago by Geert Stappers <stappers@…>

Currently I'm build for a "OpenWrt device" that has no WIFI.

Here the build depends that are in the Debian version of iw

--- debian/package/iw/debian/control    (revision 140)
+++ debian/package/iw/debian/control    (working copy)
@@ -2,7 +2,9 @@
 Section: net
 Priority: extra
 Maintainer: Amain (DebWrt.net) <amain@debwrt.net>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7),
+ libnl-dev (>= 1.1),
+ pkg-config (>= 0.22)
 Standards-Version: 3.7.3
 Homepage: http://wireless.kernel.org/en/users/Documentation/iw
 

( not tested by me, because I have "iw build disabled" )

comment:6 Changed 9 years ago by sniperpr@…

hi Geert Stappers

if disable iw. how to use wifi? :)

comment:7 Changed 9 years ago by stappers

Only the build is disabled in my local build environment.

I have installed iw, but still no wifi hardware on my machine.

root@debwrt:~# aptitude install iw
The following NEW packages will be installed:
  iw libnl1{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 158 kB of archives. After unpacking 578 kB will be used.
Do you want to continue? [Y/n/?] 
Get:1 http://ftp.nl.debian.org/debian/ squeeze/main libnl1 mipsel 1.1-6 [121 kB]
Get:2 http://ftp.nl.debian.org/debian/ squeeze/main iw mipsel 0.9.19-1 [36.9 kB]
Fetched 158 kB in 0s (257 kB/s)
Selecting previously deselected package libnl1.
(Reading database ... 10656 files and directories currently installed.)
Unpacking libnl1 (from .../libnl1_1.1-6_mipsel.deb) ...
Selecting previously deselected package iw.
Unpacking iw (from .../iw_0.9.19-1_mipsel.deb) ...
Processing triggers for man-db ...
Setting up libnl1 (1.1-6) ...
Setting up iw (0.9.19-1) ...
                                         
root@debwrt:~# which iw
/usr/sbin/iw
root@debwrt:~# iw list
nl80211 not found.
root@debwrt:~# 

comment:8 Changed 9 years ago by amain

  • Resolution set to fixed
  • Status changed from accepted to closed

Compile error fixed on iw package in r 150. I advice using the cross-compiled debwrt version. Though the debian original version should work as well.

Add Comment

Modify Ticket

Action
as closed The owner will remain amain.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.