내 인생에서는 pandoc을 설치하는 방법을 알 수 없습니다. 나는 그것의 Github 저장소에 권장 된 접근 방식과 pandoc 사이트에서 권장되는 3 가지 접근 방식 을 모두 시도했다 . 우분투 12.04에 설치하고 있으므로 처음으로했습니다 sudo apt-get install haskell-platform
.
각 단계에서 오류가 발생한 위치는 다음과 같습니다.
1) Github 저장소에 권장 된대로 설치 :
# cabal install --enable-tests
Registering zlib-conduit-1.0.0...
cabal: Error: some packages failed to install:
http-conduit-1.9.4.5 depends on mime-types-0.1.0.3 which failed to install.
mime-types-0.1.0.3 failed during the building phase. The exception was:
ExitFailure 9
pandoc-1.12 depends on mime-types-0.1.0.3 which failed to install.
2) Pandoc 사이트의 기본 설치 방법 :
# cabal install pandoc
[35 of 45] Compiling Text.Pandoc.Parsing ( src/Text/Pandoc/Parsing.hs, dist/build/Text/Pandoc/Parsing.o )
cabal: Error: some packages failed to install:
pandoc-1.11.1 failed during the building phase. The exception was:
ExitFailure 9
3) "내 배포판에 GHC 6.12가있는 경우"
# cabal install cabal-install
[46 of 67] Compiling Distribution.Simple.LocalBuildInfo ( Distribution/Simple/LocalBuildInfo.hs, dist/build/Distribution/Simple/LocalBuildInfo.o )
cabal: Error: some packages failed to install:
Cabal-1.16.0.3 failed during the building phase. The exception was:
ExitFailure 9
cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install.
4) 타르볼 설치 :
# cabal install pandoc
[23 of 45] Compiling Text.Pandoc.Writers.Texinfo ( src/Text/Pandoc/Writers/Texinfo.hs, dist/build/Text/Pandoc/Writers/Texinfo.o )
cabal: Error: some packages failed to install:
pandoc-1.11.1 failed during the building phase. The exception was:
ExitFailure 9
sudo apt-get install pandoc