【发布时间】:2016-10-31 19:32:36
【问题描述】:
我刚刚在 Lion 10.7.5 上安装了 Homebrew(它确实抱怨它不受支持,所以我知道这可能是原因)。我尝试安装 pandoc,显然 cryptonite 引起了问题。
~ $ brew install pandoc
Warning: You are using macOS 10.7.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Using the sandbox
==> Downloading https://hackage.haskell.org/package/pandoc-1.18/pandoc-1.18.tar.
Already downloaded: /Users/username/Library/Caches/Homebrew/pandoc-1.18.tar.gz
==> cabal sandbox init
==> cabal update
==> cabal install --jobs=4 --max-backjumps=100000 --only-dependencies --constrai
Last 15 lines from /Users/username/Library/Logs/Homebrew/pandoc/03.cabal:
Installed pandoc-types-1.17.0.4
Downloading texmath-0.8.6.7...
Configuring texmath-0.8.6.7...
Building texmath-0.8.6.7...
Installed texmath-0.8.6.7
cabal: Error: some packages failed to install:
connection-0.2.6 depends on cryptonite-0.20 which failed to install.
cryptonite-0.20 failed during the building phase. The exception was:
ExitFailure 1
http-client-tls-0.3.3 depends on cryptonite-0.20 which failed to install.
tls-1.3.8 depends on cryptonite-0.20 which failed to install.
x509-1.6.4 depends on cryptonite-0.20 which failed to install.
x509-store-1.6.2 depends on cryptonite-0.20 which failed to install.
x509-system-1.6.4 depends on cryptonite-0.20 which failed to install.
x509-validation-1.6.5 depends on cryptonite-0.20 which failed to install.
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues
Warning: You are using macOS 10.7.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
我希望我可以在 10.7.5 上安装 pandoc。这是 2011 年初的 MBP,具有 4 GB RAM。较新的版本运行速度很慢,所以我宁愿不要从 Lion 升级,除非我必须这样做。
更新:我最终升级到小牛队。一切正常(有些小问题,没什么大不了的)。 Homebrew 安装正常,然后 pandoc 与 Homebrew 一起安装,现在一切正常。
【问题讨论】:
-
从pandoc.org/installing.html 获取
.dmg(不确定哪个pandoc 版本仍支持lion,您可能需要购买旧版本...) -
是的,最新版本 1.18 不支持 Lion。也许这就是它无法使用 Homebrew 安装的原因,因为它根本无法安装。我需要找出支持 Lion 的版本。