SHPWORK / SHP

Safe Home Plantform
0 stars 6 forks source link

libxml2安装 #23

Open jinpc0716 opened 10 years ago

jinpc0716 commented 10 years ago

1.libxml2 下载 ftp://ftp.xmlsoft.org/libxml2/ ibxml2-2.9.1.tar.gz

2.解压 gzip -d ibxml2-2.9.1.tar.gz 生成 ibxml2-2.9.1.tar

再解压 tar -zxvf ibxml2-2.9.1.tar

3.cd ibxml2-2.9.1进入目录 root用户执行下面命令,没有开root的su passwd root

1)执行 ./configure

2)make
如果中间遇到 错误Python.h: No such file or directory compilation terminated.

执行sudo apt-get install python-dev

3)make install