| Summary: | net-misc/knemo-0.4.6 version bump | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vasilis Lourdas <bugs> |
| Component: | New packages | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.kde-apps.org/content/show.php?content=12956 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Vasilis Lourdas
2006-11-19 03:46:23 UTC
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I./../../common -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mtune=athlon-xp -march=athlon-xp -frename-registers -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o sysbackend.lo sysbackend.cpp
sysbackend.cpp:21:19: error: iwlib.h: No such file or directory
^^^^^^^^^^^
sysbackend.cpp: In member function 'void SysBackend::updateInterfaceData(const QString&, InterfaceData&, int)':
sysbackend.cpp:265: error: aggregate 'ifreq ifr' has incomplete type and cannot be defined
sysbackend.cpp: In member function 'void SysBackend::updateWirelessData(const QString&, WirelessData&)':
sysbackend.cpp:303: error: 'iw_sockets_open' was not declared in this scope
sysbackend.cpp:305: error: aggregate 'iwreq wrq' has incomplete type and cannot be defined
sysbackend.cpp:307: error: 'SIOCGIWFREQ' was not declared in this scope
sysbackend.cpp:307: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:310: error: 'iw_freq2float' was not declared in this scope
sysbackend.cpp:311: error: aggregate 'iw_range range' has incomplete type and cannot be defined
sysbackend.cpp:312: error: 'iw_get_range_info' was not declared in this scope
sysbackend.cpp:314: error: 'KILO' was not declared in this scope
sysbackend.cpp:316: error: 'iw_channel_to_freq' was not declared in this scope
sysbackend.cpp:320: error: 'iw_freq_to_channel' was not declared in this scope
sysbackend.cpp:322: error: 'iw_print_freq_value' was not declared in this scope
sysbackend.cpp:328: error: 'IW_ESSID_MAX_SIZE' was not declared in this scope
sysbackend.cpp:329: error: 'essid' was not declared in this scope
sysbackend.cpp:333: error: 'SIOCGIWESSID' was not declared in this scope
sysbackend.cpp:333: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:345: error: 'SIOCGIWAP' was not declared in this scope
sysbackend.cpp:345: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:348: error: ISO C++ forbids declaration of 'type name' with no type
sysbackend.cpp:348: error: ISO C++ forbids declaration of 'type name' with no type
sysbackend.cpp:348: error: expected primary-expression before 'const'
sysbackend.cpp:348: error: expected `)' before 'const'
sysbackend.cpp:356: error: 'SIOCGIWNICKN' was not declared in this scope
sysbackend.cpp:356: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:368: error: 'SIOCGIWRATE' was not declared in this scope
sysbackend.cpp:368: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:370: error: 'iwparam' was not declared in this scope
sysbackend.cpp:370: error: expected `;' before 'bitrate'
sysbackend.cpp:371: error: 'bitrate' was not declared in this scope
sysbackend.cpp:372: error: 'iw_print_bitrate' was not declared in this scope
sysbackend.cpp:376: error: 'SIOCGIWMODE' was not declared in this scope
sysbackend.cpp:376: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:379: error: 'IW_NUM_OPER_MODE' was not declared in this scope
sysbackend.cpp:381: error: 'iw_operation_mode' was not declared in this scope
sysbackend.cpp:389: error: 'IW_ENCODING_TOKEN_MAX' was not declared in this scope
sysbackend.cpp:390: error: 'key' was not declared in this scope
sysbackend.cpp:393: error: 'SIOCGIWENCODE' was not declared in this scope
sysbackend.cpp:393: error: 'iw_get_ext' was not declared in this scope
sysbackend.cpp:395: error: 'IW_ENCODE_DISABLED' was not declared in this scope
make[4]: *** [sysbackend.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/net-misc/knemo-0.4.6/work/knemo-0.4.6/src/knemod/backends'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/knemo-0.4.6/work/knemo-0.4.6/src/knemod'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-misc/knemo-0.4.6/work/knemo-0.4.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/knemo-0.4.6/work/knemo-0.4.6'
make: *** [all] Error 2
# emerge knemo -vp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-misc/knemo-0.4.6 USE="xinerama -arts -debug -wifi" 0 kB [1]
Total: 1 package (1 new), Size of downloads: 0 kB
hmmm... investigating the issue...
(In reply to comment #0) > * sys backend uses iwlib for wireless information knemo now requires wireless-tools for compilation, even when -wifi is used. With wtools, knemo compiles without problems. It looks like, USE="wifi" may be removed and wireless-tools should be added as a {,R}DEPEND for the package. Of course, if noone wants to hack sources :) Can somebody give a comment for this? I don't want to make a decision on my own, since package is for some time in portage... Cheers, Przemek There is a note just after the changelog at the page noted at the URL field. "If compilation fails because of missing iwlib.h please use version 0.4.6-3 from http://www.eris23.de/knemo/knemo-0.4.6-3.tar.bz2" You could try this package, which may not require wireless-tools. (In reply to comment #3) > There is a note just after the changelog at the page noted at the URL field. > > "If compilation fails because of missing iwlib.h please use version 0.4.6-3 > from http://www.eris23.de/knemo/knemo-0.4.6-3.tar.bz2" > > You could try this package, which may not require wireless-tools. thx. I haven't found this ;) looking into it... Cheers, Przemek I'm trying to contact with knemo developer. After diffing sources, it looks like we could use only this 0.4.6-3 for both situations - with and without wireless-tools. If not - I'll make a check for USE in SRC_URI. Cheers, Przemek knemo's developer gave me info about updated sources (0.4.6-4), that should work well with and without wireless-tools. I compiled and run knemo in both situations, without problems. Finally I can write: fixed in CVS. Cheers, Przemek |