Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32802 - kdenetwork 3.2.0_beta1 cannot find library "iw" with wireless-tools-27_pre2 installed
Summary: kdenetwork 3.2.0_beta1 cannot find library "iw" with wireless-tools-27_pre2 i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 33043
  Show dependency tree
 
Reported: 2003-11-05 09:17 UTC by Pat Double
Modified: 2004-09-19 20:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Double 2003-11-05 09:17:50 UTC
kdenetwork 3.2.0_beta1 fails to build when attemping to link to the library 
"iw". Although I don't have a "libiw.so", I do have "libiw14.so". This is with 
wireless-tools-27_pre2. I think the problem is that either wireless-tools 
should create a symlink /usr/lib/libiw.so to /usr/lib/libiw14.so, or 
kdenetwork needs to link to libiw14, or whatever. The former looks better to 
me. 
 

Reproducible: Always
Steps to Reproduce:
1. emerge kdenetwork-3.2.0_beta1.ebuild 
Actual Results:  
Making all in wifi 
make[2]: Entering directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93/wifi' 
Making all in kcmwifi 
make[3]: Entering directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93/wifi/kcmwifi' 
make[3]: Nothing to be done for `all'. 
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93/wifi/kcmwifi' 
Making all in kwireless 
make[3]: Entering directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93/wifi/kwireless' 
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
-DNDEBUG -DNO_DEBUG -O2 -O3 -pipe -march=pentium4 -mmmx -msse2 -mfpmath=sse 
-fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 
-fprefetch-loop-arrays -Wformat-security -Wmissing-format-attribute 
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o 
libkwireless.la -rpath /usr/kde/3.2/lib -module -avoid-version -L/usr/X11R6/
lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  kwireless.lo kwirelesswidget.lo 
linuxwirelesswidget.lo propertytable.lo propertytablebase.lo -liw -lkdeui 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -liw 
collect2: ld returned 1 exit status 
make[3]: *** [libkwireless.la] Error 1 
make[3]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93/wifi/kwireless' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93/wifi' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.2.0_beta1/work/
kdenetwork-3.1.93' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdenetwork-3.2.0_beta1 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 

Expected Results:  
It should have built kdenetwork. 

Should kdenetwork depend on wireless-tools ? I had it installed already for my 
wireless NIC, but I could not find the depend for wireless-tools in 
kdenetwork.
Comment 1 Pat Double 2003-11-05 09:22:26 UTC
I noticed bug 32702 is the same, although the solution was to unmerge wireless
tools. I have a wireless NIC so I'd like the wireless features KDE 3.2 may
provide.
Comment 2 Pat Double 2003-11-05 09:41:20 UTC
wireless-tools-26 actually does use /usr/lib/libiw.a, so kdenetwork will
compile with this package. This may be a bug in wireless-tools-27_pre2.


Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-11-05 10:30:35 UTC
Yeah, not much I can do on the kde side.  If it finds iwlib.h, then it assumes
that everything is installed properly.  If you don't have the static library
installed, then it will fail.  Probably should pry whoever maintains the
wireless-tools ebuild.
Comment 4 Pat Double 2003-11-05 10:35:56 UTC
The latest, most active person for wireless-tools appears to be Peter Johanson
<latexer@gentoo.org>.
Comment 5 Mario Camou 2003-11-09 03:08:33 UTC
I've found a workaround:

# cd /usr/lib
# ls -F libiw*
libiw15.so@  libiw15.so.27*
# ln -s libiw15.so libiw.so
# emerge /usr/portage/kde-base/kdenetwork/kdenetwork-3.2.0_beta1.ebuild

emerge succeeds. So it seems that wireless-tools isn't creating the libiw.so
symlink
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-09-19 20:02:20 UTC
should all be fixed now.