“制作”使用 MAMP 安装 ssh2 时失败
我正在尝试安装 ssh2 软件包,但它总是失败并出现以下错误:
make: *** [ssh2.lo] Error 1
ERROR: `make' failed
我尝试过 pecl install ssh2-0.11.3
以及下载该软件包并尝试手动编译,但我总是最终出现同样的错误。
我在 Mac OS X 10.7 上使用 MAMP Pro 2.0.5 和 PHP 5.3.6。谷歌搜索后,我发现了一些建议,但它们似乎都指的是该软件包的旧版本,指的是已经修复的错误。
关于我可以在哪里尝试解决此问题有什么建议吗?
I'm trying to install the ssh2 package but it invariably fails with this error:
make: *** [ssh2.lo] Error 1
ERROR: `make' failed
I've tried pecl install ssh2-0.11.3
as well as downloading the package and trying to compile manually, but I always wind up with the same error.
I'm using MAMP Pro 2.0.5 on Mac OS X 10.7 with PHP 5.3.6. Googling around, I've found a handful of suggestions, but they all seem to refer to older versions of the package, referring to bugs that have already been fixed.
Any suggestions on where I can try looking to resolve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能是因为你没有编译器。
如果您尚未安装 Xcode,请尝试安装它并重试。这将为您提供最常用的编译工具。
It's probably because you don't have a compiler.
If you do not have Xcode installed, try installing this and try again. This will give you the most common compiling tools.