[英]phpize won't work on Mac OS X Lion
我嘗試安裝xdebug但我得到關於'phpize'的關注錯誤消息。 我怎么能解決這個問題?
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
您也可以通過自制軟件安裝autoconf。 趕緊跑
brew install autoconf
一切都會奏效
“無法找到autoconf” - 安裝autoconf並重試。
sudo port install autoconf
但據我所知你需要Xcode和MacPorts。
對我來說,我還沒有同意Xcode許可證: -
$ sudo /usr/bin/m4 --version
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
Hit the Enter key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'
IMPORTANT: BY USING THIS SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE FOLLOWING APPLE TERMS:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.