Gentoo Archives: gentoo-user

From: Jerry McBride <mcbrides9@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] KDE4.2 compile problem
Date: Tue, 03 Feb 2009 13:04:52
Message-Id: 200902030638.09756.mcbrides9@comcast.net
In Reply to: [gentoo-user] KDE4.2 compile problem by Dirk Uys
1 On Tuesday 03 February 2009 12:53:22 am Dirk Uys wrote:
2 > Hi
3 >
4 > I'm trying to emerge kde-4.2, but the kde-base/systemsettings-4.2.0
5 > ebuild fails:
6 >
7 > Scanning dependencies of target kdeinit_kxkb
8 > [ 23%] Building CXX object
9 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kdeinit_kxkb_automoc.o
10 > [ 24%] Building CXX object
11 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/rules.o
12 > Linking CXX shared module ../../lib/kcm_keyboard_layout.so
13 > CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function
14 > `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
15 > x11helper.cpp:(.text+0x21): undefined reference to
16 > `_XiGetDevicePresenceNotifyEvent(_XDisplay*)'
17 > collect2: ld returned 1 exit status
18 > make[2]: *** [lib/kcm_keyboard_layout.so] Error 1
19 > make[1]: *** [kcontrol/kxkb/CMakeFiles/kcm_keyboard_layout.dir/all]
20 > Error 2
21 > make[1]: *** Waiting for unfinished jobs....
22 > [ 24%] Building CXX object
23 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbconfig.o
24 > [ 24%] Building CXX object
25 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/extension.o
26 > [ 25%] Building CXX object
27 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/x11helper.o
28 > [ 25%] Building CXX object
29 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/pixmap.o
30 > [ 26%] Building CXX object
31 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/xklavier_adaptor.o
32 > [ 26%] Building CXX object
33 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbcore.o
34 > [ 27%] Building CXX object
35 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/layoutmap.o
36 > [ 27%] Building CXX object
37 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbapp.o
38 > [ 27%] Building CXX object
39 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbwidget.o
40 > [ 28%] Building CXX object
41 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkb_adaptor.o
42 > [ 28%] Building CXX object
43 > kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkb_part.o
44 > /var/tmp/portage/kde-base/systemsettings-4.2.0/work/systemsettings-4.2.0/kc
45 >ontrol/kxkb/kxkb_part.cpp:37: warning: unused parameter 'args'
46 > Linking CXX shared library ../../lib/libkdeinit4_kxkb.so
47 > CMakeFiles/kdeinit_kxkb.dir/x11helper.o: In function
48 > `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
49 > x11helper.cpp:(.text+0x21): undefined reference to
50 > `_XiGetDevicePresenceNotifyEvent(_XDisplay*)'
51 > collect2: ld returned 1 exit status
52 > make[2]: *** [lib/libkdeinit4_kxkb.so] Error 1
53 > make[1]: *** [kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/all] Error 2
54 > make: *** [all] Error 2
55 >
56 > I have the latest version of libXi (1.2.0). I tried searching the net,
57 > but the only answer I got was that some guy on the kde forums had the
58 > same problem and resolved it by installing the latest version of libXi
59 > from the repository.
60 >
61 > Have anyone else successfully built kde4.2?
62 >
63 > Regards
64 > Dirk
65
66 It compiled with zero errors on a 32bit x86 with the necessary ebuilds
67 autounmasked. If you need more info, feel free to email me direct.
68
69
70
71 --
72
73 *****************************************************************************
74
75 From the desk of:
76 Jerome D. McBride
77
78 06:37:10 up 48 days, 12:43, 5 users, load average: 2.87, 1.30, 0.49
79
80 *****************************************************************************

Replies

Subject Author
Re: [gentoo-user] KDE4.2 compile problem Norberto Bensa <nbensa@×××××.com>