2016-10-31 3 views
0

Lives 10.7.5에 Homebrew를 설치했습니다 (지원되지 않는다고 불평했기 때문에 이것이 이유 일 수 있음을 알고 있습니다). 난 판독을 설치하려했는데 크립토나이트가 문제를 일으키는 것 같아.Homebrew를 사용하여 OS X 10.7.5에 pandoc을 설치할 수 없음

~ $ 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가 4GB RAM 인 MBP입니다. 최신 버전은 매우 느리게 실행되므로 필요하지 않으면 라이온에서 업그레이드하지 않는 것이 좋습니다.

업데이트 : 나는 Mavericks로 업그레이드를 마쳤습니다. 모든 것이 잘 작동했습니다 (일부 딸꾹질, 주요한 것 없음). Homebrew가 잘 설치된 후, pandoc은 Homebrew와 함께 설치되었고, 이제는 모든 것이 허밍입니다.

+0

http://pandoc.org/installing.html에서'.dmg'을 얻을 수 있습니다 (아직 사자를 지원하는 판도라 버전이 확실하지 않은 경우 이전 버전을 사용해야 할 수도 있습니다 ...) – mb21

+0

그래, 최근 버전 1.18은 라이온을 지원하지 않습니다. 어쩌면 그것이 설치 될 수 없기 때문에 Homebrew를 사용하여 설치할 수없는 이유 일 수 있습니다. 라이온을 지원하는 버전을 찾아야합니다. – user36386

답변

0

https://discourse.brew.sh/t/how-to-install-old-version-of-a-formula에 영감을 받아 해결 방법을 찾았습니다. 브루 더 이상 Pandoc < 2.0을 제공하지 않기 때문에

, 우리는과 같이 현재 공식으로 몰래해야합니다 Formula/pandoc.rb에서

  • $ cd "$(brew --repo homebrew/core)"
    • https://hackage.haskell.org/package/pandoc-1.19.2.4/pandoc-1.19.2.4.tar.gzurl의 내용과의 내용을 대체 $ brew install pandoc : bbe08c1f7fcfea98b899f9956c04159d493a26f65d3350aa6579aa5b93203556

    sha256 이제 Pandoc를 설치할 수 있습니다.

  • 관련 문제