安装qt-x11-opensource-src-4.5.3配置完gmake时出现错误undefined reference to 'FcFreeTypeQueryFace

来源:互联网 发布:let it die2016 编辑:程序博客网 时间:2024/06/06 02:03

安装qt-x11-opensource-src-4.5.3配置完gmake时出现错误

undefined reference to 'FcFreeTypeQueryFace‘

make[1]: *** [.obj/release-shared/qpdf.o] 错误 1
make[1]:正在离开目录 `/usr/local/qt/qt-x11-opensource-src-4.5.3/src/gui'
make: *** [sub-gui-make_default-ordered] 错误 2

找了很多资料,原来是和fontconfig的版本有关系,我直接从http://www.fontconfig.org/release/下载最新版本

拷贝到/home

root@  #tar xvzf fontconfig-2.10.93.tar.gz

root@  #cd fontconfig-2.10.93

root@  #./configure --sysconfdir=/etc --prefix=/usr--mandir=/usr/share/man

root@  #make

root@  #make install

在进入home下的qt-x11-opensource-src-4.5.3

root@  #cd /home/qt-x11-opensource-src-4.5.3

root@  #gmake       时间比较长,慢慢等

root@  #gmake install

原创粉丝点击