Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Knetworkmanager on kde-sunset
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Punchcutter
Guru
Guru


Joined: 11 Feb 2007
Posts: 332

PostPosted: Mon Feb 01, 2010 2:27 am    Post subject: Knetworkmanager on kde-sunset Reply with quote

I suppose I have to post here because I'm trying to build under the no-longer-supported KDE 3.5.10 using kde-sunset overlay.

I have been having absolutely maddening trouble with my wifi lately.... not underlying driver issues... kernel level stuff seems fine. It's managing the wifi connections. I used to use knetworkmanager when KDE 3.5 was supported, and it wasn't perfect, but it worked. I haven't really tried to use wifi at all since 3.5 was dumped by Gentoo. I'm now on the overlay, and gradually putting a 3.5.10 environment back together after being dissatisfied with 4.3.x.

Trying to build the latest(?) knetworkmanager (0.7_blah), I'm getting a build error that looks like it can't find include (.h) files. Any help is greatly appreciated. I have to go on a business trip on Thursday and will really need wifi working by then :oops:


Code:
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -I/usr/include/dbus-1.0/qt3 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -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 -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -UQT_NO_ASCII_CAST -c -o knetworkmanager-connection_setting_ipv4.lo knetworkmanager-connection_setting_ipv4.cpp
In file included from knetworkmanager-connection_setting_info.cpp:39:
knetworkmanager-connection_setting_info.h:39:35: error: nm-setting-connection.h: No such file or directory
knetworkmanager-connection_setting_info.cpp: In constructor 'ConnectionSettings::Info::Info(ConnectionSettings::Connection*, QString, const QString&, bool)':
knetworkmanager-connection_setting_info.cpp:49: error: 'NM_SETTING_CONNECTION_SETTING_NAME' was not declared in this scope
knetworkmanager-connection_setting_info.cpp: In member function 'virtual ConnectionSettings::SettingsMap ConnectionSettings::Info::toMap() const':
knetworkmanager-connection_setting_info.cpp:123: error: 'NM_SETTING_CONNECTION_ID' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:124: error: 'NM_SETTING_CONNECTION_TYPE' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:125: error: 'NM_SETTING_CONNECTION_AUTOCONNECT' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:126: error: 'NM_SETTING_CONNECTION_UUID' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:129: error: 'NM_SETTING_CONNECTION_TIMESTAMP' was not declared in this scope
knetworkmanager-connection_setting_info.cpp: In member function 'virtual void ConnectionSettings::Info::fromMap(const ConnectionSettings::SettingsMap&)':
knetworkmanager-connection_setting_info.cpp:139: error: 'NM_SETTING_CONNECTION_ID' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:142: error: 'NM_SETTING_CONNECTION_TYPE' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:145: error: 'NM_SETTING_CONNECTION_AUTOCONNECT' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:148: error: 'NM_SETTING_CONNECTION_TIMESTAMP' was not declared in this scope
knetworkmanager-connection_setting_info.cpp:151: error: 'NM_SETTING_CONNECTION_UUID' was not declared in this scope
make[4]: *** [knetworkmanager-connection_setting_info.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from knetworkmanager-connection_setting_ipv4.cpp:39:
knetworkmanager-connection_setting_ipv4.h:39:35: error: nm-setting-ip4-config.h: No such file or directory
knetworkmanager-connection_setting_ipv4.cpp: In constructor 'ConnectionSettings::IPv4::IPv4(ConnectionSettings::Connection*)':
knetworkmanager-connection_setting_ipv4.cpp:61: error: 'NM_SETTING_IP4_CONFIG_SETTING_NAME' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp: In member function 'virtual ConnectionSettings::SettingsMap ConnectionSettings::IPv4::toMap() const':
knetworkmanager-connection_setting_ipv4.cpp:180: error: 'NM_SETTING_IP4_CONFIG_METHOD' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:180: error: 'NM_SETTING_IP4_CONFIG_METHOD_AUTO' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:182: error: 'NM_SETTING_IP4_CONFIG_METHOD' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:182: error: 'NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:184: error: 'NM_SETTING_IP4_CONFIG_METHOD' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:184: error: 'NM_SETTING_IP4_CONFIG_METHOD_SHARED' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:187: error: 'NM_SETTING_IP4_CONFIG_METHOD' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:187: error: 'NM_SETTING_IP4_CONFIG_METHOD_MANUAL' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:197: error: 'NM_SETTING_IP4_CONFIG_DNS_SEARCH' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:209: error: 'NM_SETTING_IP4_CONFIG_DNS' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:225: error: 'NM_SETTING_IP4_CONFIG_ADDRESSES' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:228: error: 'NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:229: error: 'NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp: In member function 'virtual void ConnectionSettings::IPv4::fromMap(const ConnectionSettings::SettingsMap&)':
knetworkmanager-connection_setting_ipv4.cpp:238: error: 'NM_SETTING_IP4_CONFIG_METHOD' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:240: error: 'NM_SETTING_IP4_CONFIG_METHOD_AUTO' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:242: error: 'NM_SETTING_IP4_CONFIG_METHOD_LINK_LOCAL' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:244: error: 'NM_SETTING_IP4_CONFIG_METHOD_SHARED' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:246: error: 'NM_SETTING_IP4_CONFIG_METHOD_MANUAL' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:251: error: 'NM_SETTING_IP4_CONFIG_DNS_SEARCH' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:261: error: 'NM_SETTING_IP4_CONFIG_DNS' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:271: error: 'NM_SETTING_IP4_CONFIG_ADDRESSES' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:281: warning: comparison of unsigned expression >= 0 is always true
knetworkmanager-connection_setting_ipv4.cpp:293: error: 'NM_SETTING_IP4_CONFIG_IGNORE_AUTO_ROUTES' was not declared in this scope
knetworkmanager-connection_setting_ipv4.cpp:296: error: 'NM_SETTING_IP4_CONFIG_IGNORE_AUTO_DNS' was not declared in this scope
make[4]: *** [knetworkmanager-connection_setting_ipv4.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kde-misc/knetworkmanager-0.7_pre1075348/work/knetworkmanager/knetworkmanager-0.7/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-misc/knetworkmanager-0.7_pre1075348/work/knetworkmanager/knetworkmanager-0.7/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-misc/knetworkmanager-0.7_pre1075348/work/knetworkmanager/knetworkmanager-0.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-misc/knetworkmanager-0.7_pre1075348/work/knetworkmanager'
make: *** [all] Error 2
 * ERROR: kde-misc/knetworkmanager-0.7_pre1075348 failed:
 *   died running emake, kde_src_compile:make
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4582:  Called kde_src_compile
 *   environment, line 3302:  Called kde_src_compile 'all'
 *   environment, line 3317:  Called kde_src_compile 'make'
 *   environment, line 3309:  Called die
 * The specific snippet of code:
 *                   emake || die "died running emake, $FUNCNAME:make"
 *


Here's my info:

Code:
# emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.3, glibc-2.11-r0, 2.6.32-tuxonice-hgece93fba5db4 i686)
=================================================================
System uname: Linux-2.6.32-tuxonice-hgece93fba5db4-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Feb 2010 00:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://155.98.64.87 http://gentoo.cs.utah.edu http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.fslutd.org/linux/distributions/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lxde /usr/local/portage/layman/kde-sunset"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa berkdb bzip2 cjk cli cracklib crypt cups cxx dbus dri firefox gdbm gpg gpm hal iconv immqt-bc java kde modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl ppds pppd python qt3support qt4 readline reflection samba session spl ssl sysfs tcpd unicode v4l2 vim-syntax wifi x86 xinerama xorg xscreensaver zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ja" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 i965 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Here's the app-specific one (it was news to me that this command exists!)

Code:
# emerge --info =kde-misc/knetworkmanager-0.7_pre1075348
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.3, glibc-2.11-r0, 2.6.32-tuxonice-hgece93fba5db4 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-tuxonice-hgece93fba5db4-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 01 Feb 2010 00:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://155.98.64.87 http://gentoo.cs.utah.edu http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirror.fslutd.org/linux/distributions/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/lxde /usr/local/portage/layman/kde-sunset"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X accessibility acl acpi alsa berkdb bzip2 cjk cli cracklib crypt cups cxx dbus dri firefox gdbm gpg gpm hal iconv immqt-bc java kde modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl ppds pppd python qt3support qt4 readline reflection samba session spl ssl sysfs tcpd unicode v4l2 vim-syntax wifi x86 xinerama xorg xscreensaver zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ja" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 i965 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


and finally this. It seems odd that it's reporting kdelibs-3.5 to be masked, since I'm using kde-sunset, but it doesn't strike me as the sort of thing that would be related to the present problem.

Code:
# emerge -pqv =kde-misc/knetworkmanager-0.7_pre1075348
[ebuild  N    ] kde-misc/knetworkmanager-0.7_pre1075348  USE="xinerama -arts -cisco -debug -dialup -openvpn (-pptp)"

!!! The following installed packages are masked:
- kde-base/kdelibs-3.5.10-r6 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Samuli Suominen <ssuominen@gentoo.org> (09 Jan 2009)
# KDE 3.5.10 has been removed from Portage. You can find it in layman, kde-sunset overlay.
#
# http://linuxized.blogspot.com/2008/10/how-to-unmerge-kde-3-packages-if-their.html
#

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum