Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21311 - net-wireless/wireless-tools iwlib.h missing
Summary: net-wireless/wireless-tools iwlib.h missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-19 22:40 UTC by Jason Toffaletti
Modified: 2003-07-15 07:23 UTC (History)
2 users (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 Jason Toffaletti 2003-05-19 22:40:40 UTC
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.
Comment 1 Michael Tomkins 2003-05-30 23:24:59 UTC
/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"
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-05-31 03:41:01 UTC
this problem was fixed a few days ago

emerge sync solves it :-)
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-06-08 07:28:34 UTC
I'm going to verify and fix if needed.
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-07-14 15:03:54 UTC
hey, can you have a look please?
thnxs
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2003-07-15 07:23:00 UTC
This was indeed fixed. $WARN was being used both by portage and internally by wireless-tools. Marking closed finally.