报错信息如下:
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/root/XML-Parser-2.44/Expat'
make: *** [subdirs] Error 2
解决办法安装expat:
1 2 3 4 5 |
wget https://down.whsir.com/downloads/expat-2.1.0.tar.gz tar zxf expat-2.1.0.tar.gz cd expat-2.1.0 ./configure --prefix=/usr make && make install |
原文链接:编译XML-Parser报错,转载请注明来源!