trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: November 2011

Building kdenetwork 3.5.13 from source tarballs

From: Darrell Anderson <humanreadable@...>
Date: Sun, 6 Nov 2011 13:50:25 -0800 (PST)
kdenetwork 3.5.13 would not build on Slackware 13.1 unless I used the -DBUILD_WIFI=OFF. The error:

-- Looking for iw_get_stats in iw
-- Looking for iw_get_stats in iw - not found
CMake Error at cmake/modules/TDEMacros.cmake:20 (message):
  #################################################

   wifi support needs wireless tools >= 27, but was not found on your system

I have wireless tools 29 installed. /usr/include/iwlib.h exists.

The iw command is installed in Slackware with the iw package, version 0.9.14.

I think a different cmake configure test is needed. The current test in wifi/ConfigureChecks.cmake:

iw iw_get_stats

Running that command on Slackware results in:

nl80211 not found.

I created a clunky patch that deletes the "iw iw_get_stats" test and that allowed the package to build on Slackware.

I would appreciate somebody helping me with a more robust patch that supports all distros. My clunky patch:

http://humanreadable.nfshost.com/trinity/patches/kdenetwork/wifi.patch

Further, building with autotools FTBFS because there is no method to check for the existence of libgadu and there is no option to disable that support.

A patch for that would be nice but as the focus is moving toward cmake, the first patch should be sufficient.

Thanks.

Darrell