LinuxSir.cn,穿越时空的Linuxsir!

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

编译KDE3.3.2出错,请大家帮助!

[复制链接]
发表于 2004-12-10 20:45:13 | 显示全部楼层 |阅读模式
checking for uic... /usr/local/qt/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /opt/kde3/lib, headers /opt/kde3/include
checking if UIC has KDE plugins available...

configure: error: you need to install kdelibs first.

我编译成功了kdelibs,并且他已经找到了位置/opt/kde3,为什么configure不过去呢,多谢了!
我configure --prefix=/opt/kde3和直接configure效果一样!
请大家帮忙!
发表于 2004-12-10 20:50:29 | 显示全部楼层
是不是应该
--prefix=/opt
??
 楼主| 发表于 2004-12-10 21:20:50 | 显示全部楼层
最初由 orphen 发表
是不是应该
--prefix=/opt
??

好像还是不行
发表于 2004-12-10 22:02:35 | 显示全部楼层
/opt/kde3/lib
加入 /etc/ld.so.conf 没?
 楼主| 发表于 2004-12-10 23:03:18 | 显示全部楼层
用ldconfig可以吗?
 楼主| 发表于 2004-12-11 10:10:11 | 显示全部楼层
请大家帮帮忙!
发表于 2004-12-11 11:38:27 | 显示全部楼层
在/etc/ld.so.conf 中必须有/opt/kde3/lib路径
然后运行ldconfig
另外应该有 export
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/kde3/lib/pkgconfig
这样的语句。
发表于 2004-12-12 17:17:08 | 显示全部楼层
看文档不仔细。:beat :p :p

我发现本版块有相当多的兄弟编译LFS(BLFS)中出的错是看文档
不仔细,没有严格按文档编译造成的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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