On 04/12/10 15:03, William Immendorf wrote:
> On Mon, Apr 12, 2010 at 2:37 PM, lux-integ<[email protected]> wrote:
>> CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function
>> `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
>> $SOURCES/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:413: undefined
>> reference to `_XiGetDevicePresenceNotifyEvent'
>> $SOURCES/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:414: undefined
>> reference to `XSelectExtensionEvent'
>> CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function
>> `X11Helper::isNewDeviceEvent(_XEvent*)':
>> $SOURCES/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:388: undefined
>> reference to `XListInputDevices'
>> $SOURCES/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:399: undefined
>> reference to `XFreeDeviceList'
> Hmm... You might want to try this:
>
> ln -sfv $XORG_PREFIX/lib/libXi.so /usr/lib
>
> CMAKE, unfountrantly, always assumes that X.org is in /usr, and you
> have to satisfy it.
>
Actually, it is the FindX11.cmake (and probably other) file(s) that
contains the search path:
SET(X11_INC_SEARCH_PATH
/usr/pkg/xorg/include
/usr/X11R6/include
/usr/X11R7/include
/usr/include/X11
/usr/openwin/include
/usr/openwin/share/include
/opt/graphics/OpenGL/include
You can modify them, or setting: CMAKE_INCLUDE_PATH & CMAKE_LIBRARY_PATH
to include your Xorg 'include' and 'lib' directories should also work.
Note that this file should be patched so that everything else comes
before X11R6 because most systems have a: "/usr/X11R6" link and CMake
doesn't seem to use the actual directory when it found it with a link as
Autotools does.
--
James Tyrer
Linux (mostly) From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page