LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 609|回复: 3

KDE-Workspace编译问题

[复制链接]
发表于 2010-4-2 16:57:09 | 显示全部楼层 |阅读模式
提示如下的出错信息:
Linking CXX shared module ../../../lib/kded_randrmonitor.so
[ 85%] Built target kded_randrmonitor
[ 85%] Built target kcm_keyboard_layout_automoc
Linking CXX shared module ../../lib/kcm_keyboard_layout.so
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::isNewDeviceEvent(_XEvent*)':
/srv/kde442/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:388: undefined reference to `XListInputDevices'
/srv/kde442/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:399: undefined reference to `XFreeDeviceList'
CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)':
/srv/kde442/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:413: undefined reference to `_XiGetDevicePresenceNotifyEvent'
/srv/kde442/kdebase-workspace-4.4.2/kcontrol/kxkb/x11helper.cpp:414: undefined reference to `XSelectExtensionEvent'
collect2: ld 杩斿洖 1
make[2]: *** [lib/kcm_keyboard_layout.so] 閿欒 1
make[1]: *** [kcontrol/kxkb/CMakeFiles/kcm_keyboard_layout.dir/all] 閿欒 2
make: *** [all] 閿欒 2

而另一个旧的lfs系统就能通过。

http://forum.kde.org/viewtopic.php?f=63&t=83166
中有详细描述,最后还是没有解决问题?
能是xorg安装目录的问题?
出问题的安装在/usr/X11R7
没问题的安装在/usr目录下。
今晚做下libXi.a链接看看。
 楼主| 发表于 2010-4-2 19:36:01 | 显示全部楼层
I am newby on KDE4 but I have think that kde-workspace don't link LibXi and
looking over kde-workspace's directory I have found a file named link.txt (the
full path is ../build/kcontrol/kxkb/kcm_keyboard_layout.dir/link.txt). Well,
LibXi is not present... I have simply write at the end of the file
/usr/X11R6/lib/libXi.so and the compilation work fine. For prevent another
error I have do the same on ../build/kcontrol/kxkb/kdeinit_kxkb.dir/link.txt

ls */*.txt
可显示三个文件,在这三个文件中加入/usr/X11R6/lib/libXi.so 问题解决。cmake的bug。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-2 21:51:01 | 显示全部楼层
KDE4.4.2 幻灯显示桌面背景在切换时,键盘输入会顿一下。bug?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-3 09:51:03 | 显示全部楼层
kdenetwork-4.4.2的编译需要一个包-libv4,好不容易找到了,记录下。
http://ace-host.stuart.id.au/russell/files/debian/lenny/libv4l/
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表