[Bug 231576] New: kdebase-workspace fails to compile, incorrect CMakeLists.txt
Alexey Chernov
4ernov at gmail.com
Sun Mar 21 19:03:02 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=231576
Summary: kdebase-workspace fails to compile, incorrect
CMakeLists.txt
Product: kde
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: 4ernov at gmail.com
Version: (using KDE 4.4.1)
Compiler: GCC 4.4.3 Target: x86_64-unknown-linux-gnu Configured with:
../gcc-4.4.3/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++,fortran --disable-multilib --disable-bootstrap Thread
model: posix
OS: Linux
Installed from: Compiled From Sources
kdebase-workspace source package fails to compile because CMake incorrectly
recognizes necessary requirement on XInput library. It fails to find XInput
library of required version 1.2.0 or later though it's installed and prints to
the output the following message:
"_XiGetDevicePresenceNotifyEvent is not found, libXi version 1.2.0 or later is
required to keep layouts with keyboard hotplugging"
Everything configures OK but build fails with linker error.
If to comment out the following strings in
kdebase-workspace/kcontrol/kxkb/CMakeLists.txt (line 60 to 64):
if( X11_Xinput_FOUND AND XiGetDevicePresenceNotifyEvent_EXISTS )
set(XiGetDevicePresence_FOUND 1)
else( X11_Xinput_FOUND AND XiGetDevicePresenceNotifyEvent_EXISTS )
MESSAGE(STATUS "_XiGetDevicePresenceNotifyEvent is not found, libXi version
1.2.0 or later is required to keep layouts with keyboard hotplugging")
endif( X11_Xinput_FOUND AND XiGetDevicePresenceNotifyEvent_EXISTS )
and add
set(XiGetDevicePresence_FOUND HAVE_XINPUT 1)
everything configures ok and builds ok with no one problem.
Maybe this caused by the fact that I compiled Xserver without HAL support. But
as it works ok without this check I think it should be fixed or make optional.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list