all ebuilds of net-wireless/wireless-tools do not install iwlib.h, yet they install libiw.so. this makes it impossible to build 3rd party applications that use iwlib. the ebuild needs to be modified to install iwlib.h in /usr/include. i also submitted a bug report about adding a standard way of installing header files via ebuild scripts (bug #21310) Reproducible: Always Steps to Reproduce: 1. 2. 3.
/usr/src/linux is linked correctly but there is no iwlib in include even though I have both hermes and airport enabled in make menuconfig. root@11c46-p408 mich # emerge wireless-tools Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/wireless-tools-26_pre8 to / >>> md5 src_uri ;-) wireless_tools.26.pre8.tar.gz >>> Unpacking source... >>> Unpacking wireless_tools.26.pre8.tar.gz to /var/tmp/portage/wireless-tools-26_pre8/work >>> Source unpacked. gcc -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -I /usr/src/linux/include -c iwlib.c gcc -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -I /usr/src/linux/include -fPIC -c -o iwlib.so iwlib.c gcc: [33: No such file or directory gcc: no input files gcc: [33: No such file or directory gcc: no input files distcc[3025] ERROR: compile on localhost failed with exit code 1 /bin/sh: line 1: 01m: command not found make: *** [iwlib.so] Error 127 make: *** Waiting for unfinished jobs.... distcc[3026] ERROR: compile on localhost failed with exit code 1 /bin/sh: line 1: 01m: command not found make: *** [iwlib.o] Error 127 !!! ERROR: net-wireless/wireless-tools-26_pre8 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) Portage 2.0.48 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-ben10 ppc GENTOO_MIRRORS="ftp://planetmirror.com.au/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="oss dvd xv libwww nls mitshm qt kde ppc gnome-libs gtkhtml berkdb slang readline sdl imlib oggvorbis motif X gtk gnome -alsa bonobo cdr crypt -cups esd gb gdbm gif gpm guile java jikes jpeg libgda mozilla mpeg mysql opengl pam pdflib perl png python samba ssl tcpd tiff truetype xmms" COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" ACCEPT_KEYWORDS="ppc ~ppc" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache distcc userpriv"
this problem was fixed a few days ago emerge sync solves it :-)
I'm going to verify and fix if needed.
hey, can you have a look please? thnxs
This was indeed fixed. $WARN was being used both by portage and internally by wireless-tools. Marking closed finally.