【发布时间】:2012-04-24 20:36:06
【问题描述】:
所以我安装了 xdebug,但我猜测它的版本错误,因为我下载了预编译版本并且它不起作用所以我决定自己制作。我按照 xdebug 站点上的说明进行操作,在运行 phpize 时出现以下错误:
Cannot find config.m4.
Make sure that you run './phpize' in the top level source directory of the module
当我在目录 /usr/bin 中运行 phpize 时,我得到了同样的错误。
当我尝试查看我正在运行的 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:
另外一件让我停下脚步的事情是我没有 gcc 编译器我现在已经卸载并重新安装了两次 xcode 没有占上风...
【问题讨论】:
-
Lion 还没有达到 10.7.6 版本,它只有 10.7.3。