QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2433|回复: 10

suse10.1编译没通过:(

[复制链接]
发表于 2006-5-12 19:19:04 | 显示全部楼层 |阅读模式
eva0.41

./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib64/qt3/ --with-qt-includes=/usr/lib64/qt3/include/ --with-qt-librries=/usr/lib64/qt3/lib64/

是64的机子,其中/usr/lib64/qt3链接到/usr/lib/qt3

提示:
checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found.
发表于 2006-5-12 20:04:31 | 显示全部楼层
这个,,, 你多试试, 看看是不是哪个字母打错了。  
回复

使用道具 举报

 楼主| 发表于 2006-5-12 20:18:18 | 显示全部楼层
开始是用
./configure --prefix=`kde-config --prefix`
提示缺少qt-mt,
然后指定qt-dir,还是一样的提示

ps,`kde-config --prefix`是/opt/kde3
回复

使用道具 举报

发表于 2006-5-12 20:37:41 | 显示全部楼层
辛苦你了, 这个应该就是安装目录的问题, 我也没办法帮上忙。 看看谁有相关经验,帮忙看看。

那个, 我看你楼顶的帖子,最后参数是 --with-qt-librries, 我没指定过lib目录, 不过你看看这个是不是拼写有误? 我不确定啊, 错了也别BS 我  
回复

使用道具 举报

 楼主| 发表于 2006-5-13 17:04:59 | 显示全部楼层
--with-qt-librries少个字母--with-qt-libraries,呵呵

现在变成提示
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
So, check this please and use another prefix!

我指定
--with-kde=/opt/KDE3/ --with-kde-includes=/opt/KDE3/include/ --with-kde-libraries=/opt/KDE3/lib64/
还不行

64位的机子搞的那些library都有两个lib和lib64,很晕
回复

使用道具 举报

 楼主| 发表于 2006-5-13 17:11:25 | 显示全部楼层
可能lib文件缺少吧,我再试试看
回复

使用道具 举报

发表于 2006-5-13 18:08:22 | 显示全部楼层
这个是我当初在suse10.0时用的./configure参数,试试看
./configure --with-qt-dir=/usr/lib/qt3 --with-qt-includes=/usr/lib/qt3/include --with-qt-libs=/usr/lib/qt3/lib64 --enable-libsuffix=64 --prefix=`kde-config --prefix`
回复

使用道具 举报

发表于 2006-5-13 18:46:05 | 显示全部楼层
你那些 kdelibs-devel 里的头文件都装了么?
回复

使用道具 举报

 楼主| 发表于 2006-5-13 20:22:31 | 显示全部楼层
[quote:91f4576294="三翻领"]这个是我当初在suse10.0时用的./configure参数,试试看
./configure --with-qt-dir=/usr/lib/qt3 --with-qt-includes=/usr/lib/qt3/include --with-qt-libs=/usr/lib/qt3/lib64 --enable-libsuffix=64 --prefix=`kde-config --prefix`[/quote]
行了~
回复

使用道具 举报

发表于 2006-5-15 00:19:37 | 显示全部楼层
三兄的贴应该置顶,用SUSE64的朋友挺多的。
回复

使用道具 举报

发表于 2006-5-28 21:56:54 | 显示全部楼层
真的好厉害,看到这个64位才编译好
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-27 21:16 , Processed in 0.193493 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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