我正在尝试在 CentOS 5.6 上构建 qt,但由于系统没有所需的库而失败。
我正在尝试使用 Fedora qt 源 rpm 文件中的源文件和规范文件进行构建。
$ rpmbuild -ba qt.spec
失败消息如下所示,
pkgconfig(alsa) is needed by qt-4.8.2-4.noarch
pkgconfig(dbus-1) is needed by qt-4.8.2-4.noarch
pkgconfig(fontconfig) is needed by qt-4.8.2-4.noarch
pkgconfig(glib-2.0) is needed by qt-4.8.2-4.noarch
pkgconfig(icu-i18n) is needed by qt-4.8.2-4.noarch
pkgconfig(NetworkManager) is needed by qt-4.8.2-4.noarch
pkgconfig(openssl) is needed by qt-4.8.2-4.noarch
pkgconfig(libpng) is needed by qt-4.8.2-4.noarch
pkgconfig(libpulse) is needed by qt-4.8.2-4.noarch
pkgconfig(xtst) is needed by qt-4.8.2-4.noarch
pkgconfig(zlib) is needed by qt-4.8.2-4.noarch
pkgconfig(ice) is needed by qt-4.8.2-4.noarch
pkgconfig(sm) is needed by qt-4.8.2-4.noarch
pkgconfig(xcursor) is needed by qt-4.8.2-4.noarch
pkgconfig(xext) is needed by qt-4.8.2-4.noarch
pkgconfig(xfixes) is needed by qt-4.8.2-4.noarch
pkgconfig(xft) is needed by qt-4.8.2-4.noarch
pkgconfig(xi) is needed by qt-4.8.2-4.noarch
pkgconfig(xinerama) is needed by qt-4.8.2-4.noarch
pkgconfig(xrandr) is needed by qt-4.8.2-4.noarch
pkgconfig(xrender) is needed by qt-4.8.2-4.noarch
pkgconfig(xt) is needed by qt-4.8.2-4.noarch
pkgconfig(xv) is needed by qt-4.8.2-4.noarch
pkgconfig(x11) is needed by qt-4.8.2-4.noarch
pkgconfig(xproto) is needed by qt-4.8.2-4.noarch
pkgconfig(gl) is needed by qt-4.8.2-4.noarch
pkgconfig(glu) is needed by qt-4.8.2-4.noarch
pkgconfig(gstreamer-0.10) is needed by qt-4.8.2-4.noarch
pkgconfig(gstreamer-plugins-base-0.10) is needed by qt-4.8.2-4.noarch
pkgconfig(gtk+-2.0) is needed by qt-4.8.2-4.noarch
pkgconfig(sqlite3) is needed by qt-4.8.2-4.noarch
但是上面的大部分(alsa-devel,fontconfig ...等)已经安装了。和 .pc 文件位于 '/usr/lib64/pkgconfig/'
我认为 rpmbuild 无法识别 'pkgconfig(...)'。
有人可以知道原因吗?请帮帮我~
提前致谢。