器量大者,福泽必厚
全部博文(587)
分类: LINUX
2013-08-29 14:22:00
make[3]: *** [varnishadm] Error 1
make[3]: Leaving directory `/home/liuxiaojie/varnish-3.0.3/bin/varnishadm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/liuxiaojie/varnish-3.0.3/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/liuxiaojie/varnish-3.0.3'
make: *** [all] Error 2
见附件!
原因:pcre版本的问题(其实我已经安装了,见附件!)
我的pcre版本:
解决方法:升级pcre,我下载的版本为:pcre-8.20.tar.gz
tar zxvf pcre-8.20.tar.gz
cd pcre-8.20
./configure --prefix=/usr/local/pcre
cd /usr/local/pcre/
export PKG_CONFIG_PATH=/usr/local/pcre/lib/pkgconfig/
安装varnish3.0.3步骤:
./configure --enable-debugging-symbols --enable-developer-warnings --enable-dependency-tracking --prefix=/usr/local/varnish3
make
make install