标签:io ar sp for on div cti bs ef
安装php的时候提示libxml2 未安装
从服务器安装libxml2 提示
libxml.c:3821: error: expected ‘=‘, ‘,‘, ‘;‘, ‘asm‘ or ‘__attribute__‘ before ‘libxmlMethods‘
libxml.c:3876: warning: ISO C does not allow extra ‘;‘ outside of a function
libxml.c: In function ‘initlibxml2mod‘:
libxml.c:3908: error: ‘PyObject‘ undeclared (first use in this function)
libxml.c:3908: error: ‘module‘ undeclared (first use in this function)
libxml.c:3914: warning: implicit declaration of function ‘Py_InitModule‘
libxml.c:3914: warning: nested extern declaration of ‘Py_InitModule‘
libxml.c:3914: error: ‘libxmlMethods‘ undeclared (first use in this function)
make[4]: *** [libxml.lo] Error 1
make[4]: Leaving directory `/home/builds/libxml2-2.9.1/python‘
如果没有安装PYthon
请
# ./configure --prefix=/home/builds/libxml2-2.9.1 --with-python=no
# make clean
# make
# make install
关于linux 安装libxml2
标签:io ar sp for on div cti bs ef
原文地址:http://www.cnblogs.com/lairui1232000/p/4107603.html