|
发表于 2007-8-2 11:29:29
|
显示全部楼层
主要有两个问题:一个是QT,另一个是KDE
./confiure时 Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries)
not found. Please check your installation!
而且明明安装了QT(qt ,qt-devel两个软件),后来看到config.log,原来它找的路径不同,你需要在 configure时参数没有写全,我发现是把includes、libraries都写全才行的!还有可能出现 checking for moc... not found
configure: error: No Qt meta object compiler (moc) found!
Please check whether you installed Qt correctly.
You need to have a running moc binary.
configure tried to run and the test didn't
succeed. If configure shouldn't have tried this one, set
the environment variable MOC to the right one before running
t这也是遇到的一个问题,只要把qt-3.3/bin加进来就可以了。
$./configure --prefix=`kde-config --prefix` --with-qt-dir=/usr/lib/qt-3.3/
--with-qt-includes=/usr/lib/qt-3.3/include/
--with-qt-libraries=/usr/lib/qt-3.3/lib/
configure可以了。
2.kde问题
checking for KDE... configure:error:
in the prefix,you've chosen, are no KDE headers installed.This will fail.
So, check this plese and use another prefix!
这是没安装KDE,用FC的话直接yum -y install kdebase kdelibs-devel等一阵时间就OK |
|