make: *** [ext/dom/node.lo] 错误 1

inux安装PHP ,make 的时候报错:

make: *** [ext/dom/node.lo] Error 1

解决办法:

$ curl -o php-5.2.17.patch https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txt 
$ tar  
jxf php-5.2.17.tar.bz2  
$ cd php-5.2.17 
$ patch -p0 -b <../php-5.2.17.patch  
patching file ext/dom/node.c 
patching file  
ext/dom/documenttype.c 
patching file ext/simplexml/simplexml.c

 

 

 

 

二〇一四年十一月二十五日 16:10:53

点赞