LinuxSir.cn,穿越时空的Linuxsir!

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

求助:SuSE 10.1 x86_64编译qterm-0.4.0和eva报错!

[复制链接]
发表于 2006-8-31 22:21:42 | 显示全部楼层 |阅读模式
SuSE-10.1-x86_64,qt3相关的均已装,包括32bit的,但是在编译qterm-0.4.0和eva-0.4.1的时候在检查qt是出错,log如下:
configure:29200: checking for Qt
configure: 29265: /usr/lib/qt3/include/qstyle.h
taking that
tried NO
configure:29383: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib/qt3/lib -L/usr/X11R6/lib64     conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/qt3/lib/libqt-mt.so when searching for -lqt-mt
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
configure:29386: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030100 && QT_VERSION < 0x040000)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:29426: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
发表于 2006-8-31 22:31:47 | 显示全部楼层
./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-8-31 23:57:41 | 显示全部楼层
果然版主,问题迎刃而解哈
但是除了前面两个指定qt3的目录,接着两个是不是因为x86-64才需要特别指定的呢?
想知道个为什么?呵呵
回复 支持 反对

使用道具 举报

发表于 2006-9-1 01:55:02 | 显示全部楼层
Post by xcc360
果然版主,问题迎刃而解哈
但是除了前面两个指定qt3的目录,接着两个是不是因为x86-64才需要特别指定的呢?
想知道个为什么?呵呵

是的
64位专用
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-1 11:55:46 | 显示全部楼层
Post by Thruth
是的
64位专用
明白了,今天尝试编译ntfs-3g,结果提示fuse没有找到,但是DVD镜像里的fuse相关都装上了,版本是2.5.2,高于2.5.0的,怎么解决呢?忘了看置顶了……
回复 支持 反对

使用道具 举报

发表于 2006-9-1 12:27:57 | 显示全部楼层
什么时候提示的?
./configure?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-1 12:55:01 | 显示全部楼层
恩,
./configure

configure:20014: checking for fuse >= 2.5.0
configure:20054: error: ntfs-3g requires FUSE version >= 2.5.0. See http://fuse.sourceforge.net/ how to install FUSE.
回复 支持 反对

使用道具 举报

发表于 2006-9-1 13:29:28 | 显示全部楼层
rpm -qa fuse*

输出什么
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-1 13:45:19 | 显示全部楼层
fuse-2.5.2-10
fuse_kio-0.0.cvs2005.12.08-16
是不是因为缺了fuse-devel?
回复 支持 反对

使用道具 举报

发表于 2006-9-1 15:04:28 | 显示全部楼层
没错
就是缺那个
回复 支持 反对

使用道具 举报

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

本版积分规则

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