1、安装libxml2
configure && make && make install
libxml2安装中出现的错误:
cannot remove `libtoolT’: No such file or directory
解决方法:
修改configure文件
$ vim configure
屏蔽这一行: R M " RM " RM"cfgfile"
重新再运行 $ ./configure
2、安装libxslt(必须确认当前环境已安装libxml2,否则configure会出错)
a、解压libxslt安装包
b、执行./configure时,通过参数–with-python=dir指定自定义的python全路径