“制作”使用 MAMP 安装 ssh2 时失败

发布于 2024-12-28 18:45:57 字数 327 浏览 6 评论 0原文

我正在尝试安装 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

陌伤ぢ 2025-01-04 18:45:57

可能是因为你没有编译器。

如果您尚未安装 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文