Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52478 - wireless-tools ebuilds don't install wireless.h
Summary: wireless-tools ebuilds don't install wireless.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-30 10:49 UTC by enrico
Modified: 2004-06-24 10:40 UTC (History)
0 users

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 enrico 2004-05-30 10:49:45 UTC
Seeking through net-wireless/wireless-tools/ ebuilds I see that wireless.h is not installed into /usr/include by ebuilds (only iwlib.h is).
The problem is that wireless extensions *needs* wireless.h as stated on:
  /usr/include/iwlib.h : 130
    /* Private copy of Wireless extensions */
    #include <wireless.h>
The 2.6 kernel installs its wireless.h header into /usr/src/linux, but the header need by wireless-tools is the one it ships with, please add it when installing on the wireless-tools/*latest* ebuilds.

Side effects:
kdenetwork/wifi programs won't be compiled

Things offuscating the problem:
maybe if someone is running an old box (probably the mantainer too), the header was installed properly so the problem doesn't appear.

Thank you guys!
--Enrico 'eros' Ros (kde developer)	


Reproducible: Always
Steps to Reproduce:
1.Check if /usr/include/wireless.h exists [no]
2.Check if /usr/include/linux/wireless.h exists [yes]
3.Check what /usr/include/iwlib.h includes [/usr/include/wireless.h]
--or--
1.Try to configure kdenetwork/wifi [fails complaining of missing wireless extensions]
Actual Results:  
/ 

Expected Results:  
/ 

Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz 
Gentoo Base System version 1.4.15 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync1.it.gentoo.org/gentoo-portage" 
USE="X acpi alsa arts avi berkdb cdr crypt encode foomaticdb gdbm gif gpm gtk2 
imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses oggvorbis 
opengl pam pdflib perl png python qt quicktime readline samba sdl slang spell 
sse ssl tcpd truetype x86 xml2 xv zlib"
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-05-30 15:58:49 UTC
This make sense, but i'm still a tad unhappy about the WE version craziness right now. Some of the structs for range stuff changed at one point, making things like wavemon freak out if having 2.6/2.4 kernel header/kernel mixes, etc. I'm away from my dev box currently, but I'll probably add the header install this week.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2004-06-24 08:15:53 UTC
Okay, i've bump wireless-tools, and in the process have made wireless-tools install wireless.h, I may also revision bump the current stable wireless-tools to get it installed for other people.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2004-06-24 10:40:27 UTC
Okay, i've just revision bumped v26 of wireless tools and added wireless.h in that ebuild. Marking FIXED. please reopen if more is needed on this front.