首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

redhat装配fontconfig

2013-01-06 
redhat安装fontconfig为安装gd库,安装libxml2fontfree安装fontconfig 时./configure --prefix/usr/local/

redhat安装fontconfig
为安装gd库,安装libxml2  fontfree  安装fontconfig 时

./configure --prefix=/usr/local/fontconfig --with-freetype-config=/usr/local/freetype/bin/freetype-config


checking expat.h usability... no 
checking expat.h presence... no 
checking for expat.h... no 
checking xmlparse.h usability... no 
checking xmlparse.h presence... no 
checking for xmlparse.h... no 
configure: error: Cannot find usable expat library. This could mean that your version is too old.
 
我google了很多,下载expat2.0.1装了 也重装了libxml2 还是报这个错误。
很少纠结,求助中。。。
[解决办法]
你可以手动传expat目录进去.
在fontconfig
./configure ........ \   
    --with-expat=$EXPAT_PATH/bin \
    --with-expat-includes=$EXPAT_PATH/include \
    --with-expat-lib=$EXPAT_PATH/lib

热点排行