我正在尝试在我的机器上设置pecl_http和memcache,但在两种情况下都遇到类似的错误。这是在MAC OS X 10.7.3(lion)上,我也安装了XCODE。在运行这些命令之前,我还安装了Zend Server社区版,并设置了CFLAGS ='-arch i386 - arch x86_64'环境变量。所以请帮助我需要做什么。
bash-3.2# **sudo pecl install pecl_http-1.7.1**
downloading pecl_http-1.7.1.tgz ...
Starting to download pecl_http-1.7.1.tgz (174,098 bytes)
.....................................done: 174,098 bytes
71 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
export PHP_AUTOCONF=/usr/bin/autoconf
?当然,假设$PHP_AUTOCONF
应该是autoconf二进制文件的路径,它应该可以找到,但也许它只需要一点帮助 :-) - prodigitalson