Installation pecl install trader以错误结尾:`phpize';失败

Installation pecl install trader以错误结尾:`phpize';失败,installation,pecl,Installation,Pecl,我正在尝试安装trader扩展。 我成功地安装了pear/pecl。 当第一次运行命令“pecl install trader”时,我在文件夹上遇到一些不可写的问题,所以我手动授予这些读/写权限。 现在我正处于“错误:`phpize'失败”的时刻 请问如何解决这个问题? 我在Mac10.6.8上运行mamp服务器 您应该更具体地了解PEAR/PECL和PHP版本 问题的根源是缺少包含C头文件的PHP开发包 computer-van-gebruiker:~ Gebruiker$ sudo pe

我正在尝试安装trader扩展。 我成功地安装了pear/pecl。 当第一次运行命令“pecl install trader”时,我在文件夹上遇到一些不可写的问题,所以我手动授予这些读/写权限。 现在我正处于“错误:`phpize'失败”的时刻

请问如何解决这个问题? 我在Mac10.6.8上运行mamp服务器



您应该更具体地了解PEAR/PECL和PHP版本


问题的根源是缺少包含C头文件的PHP开发包

computer-van-gebruiker:~ Gebruiker$ sudo pecl install trader
Password:
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update

Warning: Invalid argument supplied for foreach() in PEAR/Downloader.php on line 593

Warning: Invalid argument supplied for foreach() in /usr/local/pear/share/pear/PEAR/Downloader.php on line 593
downloading trader-0.4.0.tgz ...
Starting to download trader-0.4.0.tgz (298,434 bytes)
...........................done: 298,434 bytes

Warning: Invalid argument supplied for foreach() in PEAR/PackageFile/v2/Validator.php on line 870

Warning: Invalid argument supplied for foreach() in /usr/local/pear/share/pear/PEAR/PackageFile/v2/Validator.php on line 870
332 source files, building
running: phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

ERROR: `phpize' failed