本文介绍了phpize在Mac OS X Lion上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试安装xdebug,但收到有关"phpize"的以下错误消息.我该如何解决这个问题?

I try to install xdebug but I get the follow error message about 'phpize'.How can I fix this thing?

leny:~ nick$ sudo pecl install xdebug
Password:
downloading xdebug-2.1.2.tgz ...
Starting to download xdebug-2.1.2.tgz (304,229 bytes)
............done: 304,229 bytes
66 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

推荐答案

找不到自动配置"-安装自动配置并重试.

"Cannot find autoconf" - Install autoconf and retry.

sudo port install autoconf,但据我所知,您需要Xcode和MacPorts.

sudo port install autoconf but you need Xcode and MacPorts as far as I know.

这篇关于phpize在Mac OS X Lion上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-18 07:33