编译pcre make make pcre 出错

3)编译pcre 
make 
make pcre时会出错 
libtool: compile: unrecognized option `-DHAVE_CONFIG_H' 
libtool: compile: Try `libtool --help' for more information. 
make[1]: *** [pcrecpp.lo] Error 1 
make[1]: Leaving directory `/home/mfcai/pcre-8.10' 
make: *** [all] Error 2 
安装build-essential 
apt-get install build-essential 

然后再次 ./configure 


make

make install

猜你喜欢

转载自wanxiaotao12-126-com.iteye.com/blog/1873126