Linux 编译各种错误集锦
问题1:
1. Perl is not installed
2. apxs was not found. Try to pass the path using —with-apxs2=/path/to/apxs
3. Apache was not built using —enable-so (the apxs usage page is displayed)
解决办法:
yum install -y perl*
yum install -y httpd-devel
问题2:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this scrip
yum install autoconf(centos可能安装的时候回自动安装m4)
Ubuntu:
sudo apt-get install m4(autoconf可能依赖m4)
sudo apt-get install autoconf
还没有评论,来说两句吧...