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.
Created attachment 41813 [details] config file with commented check section
Well, and will there be any responce on this bug? It still exists in 4.4.2 and it completely ruins the compilation of the whole KDE actually.
Not reproducible for 4.5 branch.