As most Mac users know, it takes 12+ hours to build ghc. Once you
sudo port install ghc, you would have to go to bed and
sleep for half a day.
The Haskell Platform is a binary package, so now we don't have to
Installing pandoc via Haskell Platform cabal
cabal update cabal install pandoc
Resolving dependencies... [1 of 1] Compiling Main ( /var/folders/Dz/Dz5WpFSZGUaFLA8jp8kT5E+++TM/-Tmp-/pandoc-1.2.12656/pandoc-1.2.1/Setup.hs, /var/folders/Dz/Dz5WpFSZGUaFLA8jp8kT5E+++TM/-Tmp-/pandoc-1.2.12656/pandoc-1.2.1/dist/setup/Main.o ) Linking /var/folders/Dz/Dz5WpFSZGUaFLA8jp8kT5E+++TM/-Tmp-/pandoc-1.2.12656/pandoc-1.2.1/dist/setup/setup ... Configuring pandoc-1.2.1... Preprocessing library pandoc-1.2.1... Preprocessing executables for pandoc-1.2.1... Building pandoc-1.2.1... src/Text/Pandoc/Shared.hs:118:7: Could not find module `Network.URI': There are files missing in the `network-22.214.171.124' package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. cabal: Error: some packages failed to install: pandoc-1.2.1 failed during the building phase. The exception was: exit: ExitFailure 1 ~/.cabal $ pandoc install network pandoc: install: openBinaryFile: does not exist (No such file or directory) $ ghc-pkg check |& grep network- There are problems in package network-126.96.36.199: import-dirs: /Users/ujihisa/.cabal/lib/network-188.8.131.52/ghc-6.10.3 doesn't exist or isn't a directory library-dirs: /Users/ujihisa/.cabal/lib/network-184.108.40.206/ghc-6.10.3 doesn't exist or isn't a directory include-dirs: /Users/ujihisa/.cabal/lib/network-220.127.116.11/ghc-6.10.3/include doesn't exist or isn't a directory cannot find libHSnetwork-18.104.22.168.a on library path network-22.214.171.124 network-2.2.1 network-126.96.36.199