【发布时间】:2015-09-30 17:25:08
【问题描述】:
尝试在我的 Mac (Yosemite 10.10.5) 上安装 imagemagick(将与 PaperClip gem 一起使用)引发错误“libtool”会发生什么?
$ brew update
$ brew install imagemagick
==> Installing dependencies for imagemagick: libtool, jpeg, libpng, libti
==> Installing imagemagick dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6.yosemite.bott
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Error: Failed to download resource "libtool"
Download failed: https://homebrew.bintray.com/bottles/libtool-2.4.6.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Trying a mirror...
==> Downloading https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Error: Failed to download resource "libtool"
Download failed: https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
【问题讨论】:
-
您是否下载、安装和更新了 Xcode 命令行工具?
-
我猜最近有一个 XCode 上传...我可能需要更新 CL 工具...检查谢谢...
-
就是这样 .. OS X 已更新,但我忘记更新 CL 工具...感谢您让我上轨道...
-
即使在 OS X CL 更新之后,也不会出现与 brew install imagemagick ownloading ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz curl 相同的错误消息:(4) 在此 libcurl 中未找到内置的请求功能、协议或选项构建时的决定。正在尝试镜像... ==> 正在下载 ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz curl:(4) 由于构建时间决定,在此 libcurl 中未找到内置的请求功能、协议或选项。
-
我在 cactuslab.com/imagemagick 找到了一个包,它将 imagemagick 安装到 /opt 中,然后将 bin 添加到 $PATH... 现在正在运行
标签: imagemagick homebrew osx-yosemite