【发布时间】:2012-11-20 19:25:46
【问题描述】:
我正在尝试使用 Homebrew 安装 php 和 php-cgi。
brew install https://github.com/ampt/homebrew/raw/php/Library/Formula/php.rb
使用此方法会返回以下错误。
==> make
clang: clangerror: : linker command failed with exit code 1 (use -v to see invocation)error:
linker command failed with exit code 1 (use -v to see invocation)
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sapi/cgi/php-cgi] Error 1
我更新了 Homebrew 和 XCode 命令行工具。 brew doctor 给我的唯一警告是一些 Python“配置”脚本存在于我的系统或 Homebrew 目录之外。
有人知道问题可能是什么吗?在哪里可以找到更详细的错误消息?
【问题讨论】:
标签: php macos installation makefile homebrew