最近重新装了一下fedora 12 ,去掉一些缺省的安装项目,导致 make xconfig出错
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** 没有规则可以创建“scripts/kconfig/qconf.o”需要的目标“scripts/kconfig/.tmp_qtcheck”。 停止。
make: *** [xconfig] 错误 2
分析:缺少qt环境
解决:
yum install qt3
yum install qt3-devel
仍然有错误:
CHECK qt
/usr/lib/qt-3.3/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
/bin/sh: g++: command not found
make[1]: *** [scripts/kconfig/qconf.o] 错误 127
make: *** [xconfig] 错误 2
分析:系统没有安装g++
解决:
yum install gcc-c++
仍然有错误:
HOSTCXX scripts/kconfig/qconf.o
HOSTLD scripts/kconfig/qconf
/usr/bin/ld: cannot find -lXi
collect2: ld 返回 1
make[1]: *** [scripts/kconfig/qconf] 错误 1
make: *** [xconfig] 错误 2
分析:缺少链接库Xi
解决:
yum install libXi
yum install libXi-devel
阅读(3752) | 评论(0) | 转发(0) |