When trying to install pandoc
via Haskell's cabal
, installation fails badly.
(Using fresh install of Haskell Platform installed via brew install haskell-platform
)
cabal update
cabal install pandoc
Resolving dependencies...
Downloading binary-0.5.0.2...
Configuring binary-0.5.0.2...
Preprocessing library binary-0.5.0.2...
Building binary-0.5.0.2...
[1 of 4] Compiling Data.Binary.Builder ( src/Data/Binary/Builder.hs, dist/build/Data/Binary/Builder.o )
src/Data/Binary/Builder.hs:1:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
src/Data/Binary/Builder.hs:60:0:
Warning: The import of Data.Word' is redundant except perhaps to import instances from
Data.Word'
To import instances alone, use: import Data.Word()
src/Data/Binary/Builder.hs:70:0:
Warning: The import of Data.ByteString.Lazy.Internal' is redundant except perhaps to import instances from
Data.ByteString.Lazy.Internal'
To import instances alone, use: import Data.ByteString.Lazy.Internal()
[2 of 4] Compiling Data.Binary.Get ( src/Data/Binary/Get.hs, dist/build/Data/Binary/Get.o )
src/Data/Binary/Get.hs:1:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
src/Data/Binary/Get.hs:99:0:
Warning: The import of GHC.Int' is redundant except perhaps to import instances from
GHC.Int'
To import instances alone, use: import GHC.Int()
[3 of 4] Compiling Data.Binary.Put ( src/Data/Binary/Put.hs, dist/build/Data/Binary/Put.o )
src/Data/Binary/Put.hs:1:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[4 of 4] Compiling Data.Binary ( src/Data/Binary.hs, dist/build/Data/Binary.o )
src/Data/Binary.hs:1:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
src/Data/Binary.hs:66:0:
Warning: The import of System.IO' is redundant except perhaps to import instances from
System.IO'
To import instances alone, use: import System.IO()
Registering binary-0.5.0.2...
Installing library in /Users/d2s/.cabal/lib/binary-0.5.0.2/ghc-6.12.3
Registering binary-0.5.0.2...
Downloading digest-0.0.0.9...
Configuring digest-0.0.0.9...
Preprocessing library digest-0.0.0.9...
Building digest-0.0.0.9...
[1 of 2] Compiling Data.Digest.Adler32 ( dist/build/Data/Digest/Adler32.hs, dist/build/Data/Digest/Adler32.o )
[2 of 2] Compiling Data.Digest.CRC32 ( dist/build/Data/Digest/CRC32.hs, dist/build/Data/Digest/CRC32.o )
Registering digest-0.0.0.9...
Installing library in /Users/d2s/.cabal/lib/digest-0.0.0.9/ghc-6.12.3
Registering digest-0.0.0.9...
Downloading utf8-string-0.3.6...
Configuring utf8-string-0.3.6...
Preprocessing library utf8-string-0.3.6...
Building utf8-string-0.3.6...
[1 of 7] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o )
Codec/Binary/UTF8/String.hs:1:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[2 of 7] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o )
Codec/Binary/UTF8/Generic.hs:37:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[3 of 7] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, dist/build/Data/String/UTF8.o )
Data/String/UTF8.hs:43:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[4 of 7] Compiling System.IO.UTF8 ( System/IO/UTF8.hs, dist/build/System/IO/UTF8.o )
System/IO/UTF8.hs:35:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
System/IO/UTF8.hs:39:26:
Warning: In the use of `bracket'
(imported from Control.Exception, but defined in base:Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[5 of 7] Compiling System.Environment.UTF8 ( System/Environment/UTF8.hs, dist/build/System/Environment/UTF8.o )
System/Environment/UTF8.hs:1:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[6 of 7] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, dist/build/Data/ByteString/UTF8.o )
Data/ByteString/UTF8.hs:37:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
[7 of 7] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o )
Data/ByteString/Lazy/UTF8.hs:38:0:
Warning: Module Prelude' is deprecated: You are using the old package
base' version 3.x.
Future GHC versions will not support base version 3.x. You
should update your code to use the new base version 4.x.
Registering utf8-string-0.3.6...
Installing library in /Users/d2s/.cabal/lib/utf8-string-0.3.6/ghc-6.12.3
Registering utf8-string-0.3.6...
Downloading xml-1.3.7...
Configuring xml-1.3.7...
Preprocessing library xml-1.3.7...
Building xml-1.3.7...
[1 of 7] Compiling Text.XML.Light.Types ( Text/XML/Light/Types.hs, dist/build/Text/XML/Light/Types.o )
[2 of 7] Compiling Text.XML.Light.Proc ( Text/XML/Light/Proc.hs, dist/build/Text/XML/Light/Proc.o )
[3 of 7] Compiling Text.XML.Light.Output ( Text/XML/Light/Output.hs, dist/build/Text/XML/Light/Output.o )
[4 of 7] Compiling Text.XML.Light.Lexer ( Text/XML/Light/Lexer.hs, dist/build/Text/XML/Light/Lexer.o )
Text/XML/Light/Lexer.hs:7:0:
Warning: The import of ord' from module
Data.Char' is redundant
[5 of 7] Compiling Text.XML.Light.Input ( Text/XML/Light/Input.hs, dist/build/Text/XML/Light/Input.o )
[6 of 7] Compiling Text.XML.Light.Cursor ( Text/XML/Light/Cursor.hs, dist/build/Text/XML/Light/Cursor.o )
[7 of 7] Compiling Text.XML.Light ( Text/XML/Light.hs, dist/build/Text/XML/Light.o )
Registering xml-1.3.7...
Installing library in /Users/d2s/.cabal/lib/xml-1.3.7/ghc-6.12.3
Registering xml-1.3.7...
Downloading texmath-0.5...
[1 of 1] Compiling Main ( /var/folders/E5/E5GdjIotHKKA+D2JnZBot++++TI/-Tmp-/texmath-0.517467/texmath-0.5/Setup.hs, /var/folders/E5/E5GdjIotHKKA+D2JnZBot++++TI/-Tmp-/texmath-0.517467/texmath-0.5/dist/setup/Main.o )
Linking /var/folders/E5/E5GdjIotHKKA+D2JnZBot++++TI/-Tmp-/texmath-0.517467/texmath-0.5/dist/setup/setup ...
Configuring texmath-0.5...
Preprocessing library texmath-0.5...
Preprocessing executables for texmath-0.5...
Building texmath-0.5...
[1 of 5] Compiling Text.TeXMath.Macros ( Text/TeXMath/Macros.hs, dist/build/Text/TeXMath/Macros.o )
[2 of 5] Compiling Text.TeXMath.Types ( Text/TeXMath/Types.hs, dist/build/Text/TeXMath/Types.o )
[3 of 5] Compiling Text.TeXMath.MathML ( Text/TeXMath/MathML.hs, dist/build/Text/TeXMath/MathML.o )
[4 of 5] Compiling Text.TeXMath.Parser ( Text/TeXMath/Parser.hs, dist/build/Text/TeXMath/Parser.o )
[5 of 5] Compiling Text.TeXMath ( Text/TeXMath.hs, dist/build/Text/TeXMath.o )
Registering texmath-0.5...
Installing library in /Users/d2s/.cabal/lib/texmath-0.5/ghc-6.12.3
Registering texmath-0.5...
Downloading zip-archive-0.1.1.6...
Configuring zip-archive-0.1.1.6...
Preprocessing library zip-archive-0.1.1.6...
Preprocessing executables for zip-archive-0.1.1.6...
Building zip-archive-0.1.1.6...
[1 of 1] Compiling Codec.Archive.Zip ( Codec/Archive/Zip.hs, dist/build/Codec/Archive/Zip.o )
Registering zip-archive-0.1.1.6...
Installing library in /Users/d2s/.cabal/lib/zip-archive-0.1.1.6/ghc-6.12.3
Registering zip-archive-0.1.1.6...
Downloading pandoc-1.6...
[1 of 1] Compiling Main ( /var/folders/E5/E5GdjIotHKKA+D2JnZBot++++TI/-Tmp-/pandoc-1.617467/pandoc-1.6/Setup.hs, /var/folders/E5/E5GdjIotHKKA+D2JnZBot++++TI/-Tmp-/pandoc-1.617467/pandoc-1.6/dist/setup/Main.o )
Linking /var/folders/E5/E5GdjIotHKKA+D2JnZBot++++TI/-Tmp-/pandoc-1.617467/pandoc-1.6/dist/setup/setup ...
Configuring pandoc-1.6...
Preprocessing library pandoc-1.6...
Preprocessing executables for pandoc-1.6...
Building pandoc-1.6...
[ 1 of 32] Compiling Text.Pandoc.UUID ( src/Text/Pandoc/UUID.hs, dist/build/Text/Pandoc/UUID.o )
[ 2 of 32] Compiling Text.Pandoc.XML ( src/Text/Pandoc/XML.hs, dist/build/Text/Pandoc/XML.o )
[ 3 of 32] Compiling Text.Pandoc.UTF8 ( src/Text/Pandoc/UTF8.hs, dist/build/Text/Pandoc/UTF8.o )
[ 4 of 32] Compiling Text.Pandoc.CharacterReferences ( src/Text/Pandoc/CharacterReferences.hs, dist/build/Text/Pandoc/CharacterReferences.o )
[ 5 of 32] Compiling Text.Pandoc.Blocks ( src/Text/Pandoc/Blocks.hs, dist/build/Text/Pandoc/Blocks.o )
[ 6 of 32] Compiling Paths_pandoc ( dist/build/autogen/Paths_pandoc.hs, dist/build/Paths_pandoc.o )
[ 7 of 32] Compiling Text.Pandoc.Definition ( src/Text/Pandoc/Definition.hs, dist/build/Text/Pandoc/Definition.o )
[ 8 of 32] Compiling Text.Pandoc.Shared ( src/Text/Pandoc/Shared.hs, dist/build/Text/Pandoc/Shared.o )
[ 9 of 32] Compiling Text.Pandoc.Templates ( src/Text/Pandoc/Templates.hs, dist/build/Text/Pandoc/Templates.o )
[10 of 32] Compiling Text.Pandoc.Writers.Native ( src/Text/Pandoc/Writers/Native.hs, dist/build/Text/Pandoc/Writers/Native.o )
[11 of 32] Compiling Text.Pandoc.Writers.RST ( src/Text/Pandoc/Writers/RST.hs, dist/build/Text/Pandoc/Writers/RST.o )
[12 of 32] Compiling Text.Pandoc.Writers.LaTeX ( src/Text/Pandoc/Writers/LaTeX.hs, dist/build/Text/Pandoc/Writers/LaTeX.o )
[13 of 32] Compiling Text.Pandoc.Writers.ConTeXt ( src/Text/Pandoc/Writers/ConTeXt.hs, dist/build/Text/Pandoc/Writers/ConTeXt.o )
[14 of 32] Compiling Text.Pandoc.Writers.MediaWiki ( src/Text/Pandoc/Writers/MediaWiki.hs, dist/build/Text/Pandoc/Writers/MediaWiki.o )
[15 of 32] Compiling Text.Pandoc.Parsing ( src/Text/Pandoc/Parsing.hs, dist/build/Text/Pandoc/Parsing.o )
[16 of 32] Compiling Text.Pandoc.Readers.RST ( src/Text/Pandoc/Readers/RST.hs, dist/build/Text/Pandoc/Readers/RST.o )
[17 of 32] Compiling Text.Pandoc.Readers.LaTeX ( src/Text/Pandoc/Readers/LaTeX.hs, dist/build/Text/Pandoc/Readers/LaTeX.o )
[18 of 32] Compiling Text.Pandoc.Readers.HTML ( src/Text/Pandoc/Readers/HTML.hs, dist/build/Text/Pandoc/Readers/HTML.o )
[19 of 32] Compiling Text.Pandoc.Readers.Markdown ( src/Text/Pandoc/Readers/Markdown.hs, dist/build/Text/Pandoc/Readers/Markdown.o )
[20 of 32] Compiling Text.Pandoc.Writers.Markdown ( src/Text/Pandoc/Writers/Markdown.hs, dist/build/Text/Pandoc/Writers/Markdown.o )
[21 of 32] Compiling Text.Pandoc.S5 ( src/Text/Pandoc/S5.hs, dist/build/Text/Pandoc/S5.o )
[22 of 32] Compiling Text.Pandoc.Highlighting ( src/Text/Pandoc/Highlighting.hs, dist/build/Text/Pandoc/Highlighting.o )
[23 of 32] Compiling Text.Pandoc.Readers.TeXMath ( src/Text/Pandoc/Readers/TeXMath.hs, dist/build/Text/Pandoc/Readers/TeXMath.o )
src/Text/Pandoc/Readers/TeXMath.hs:50:30: Not in scope: `formula'
src/Text/Pandoc/Readers/TeXMath.hs:54:18:
Not in scope: type constructor or class `Exp'
src/Text/Pandoc/Readers/TeXMath.hs:59:16:
Not in scope: type constructor or class `Exp'
src/Text/Pandoc/Readers/TeXMath.hs:60:14:
Not in scope: data constructor `ENumber'
src/Text/Pandoc/Readers/TeXMath.hs:61:14:
Not in scope: data constructor `EIdentifier'
src/Text/Pandoc/Readers/TeXMath.hs:62:14:
Not in scope: data constructor `EMathOperator'
src/Text/Pandoc/Readers/TeXMath.hs:63:14:
Not in scope: data constructor `ESymbol'
src/Text/Pandoc/Readers/TeXMath.hs:64:17:
Not in scope: data constructor `Op'
src/Text/Pandoc/Readers/TeXMath.hs:65:17:
Not in scope: data constructor `Bin'
src/Text/Pandoc/Readers/TeXMath.hs:66:17:
Not in scope: data constructor `Rel'
src/Text/Pandoc/Readers/TeXMath.hs:67:17:
Not in scope: data constructor `Pun'
src/Text/Pandoc/Readers/TeXMath.hs:72:14:
Not in scope: data constructor `EStretchy'
src/Text/Pandoc/Readers/TeXMath.hs:73:14:
Not in scope: data constructor `EGrouped'
src/Text/Pandoc/Readers/TeXMath.hs:74:14:
Not in scope: data constructor `ESpace'
src/Text/Pandoc/Readers/TeXMath.hs:75:14:
Not in scope: data constructor `EBinary'
src/Text/Pandoc/Readers/TeXMath.hs:76:14:
Not in scope: data constructor `ESub'
src/Text/Pandoc/Readers/TeXMath.hs:80:14:
Not in scope: data constructor `ESuper'
src/Text/Pandoc/Readers/TeXMath.hs:84:14:
Not in scope: data constructor `ESubsup'
src/Text/Pandoc/Readers/TeXMath.hs:89:14:
Not in scope: data constructor `EDown'
src/Text/Pandoc/Readers/TeXMath.hs:89:41:
Not in scope: data constructor `ESub'
src/Text/Pandoc/Readers/TeXMath.hs:90:14:
Not in scope: data constructor `EUp'
src/Text/Pandoc/Readers/TeXMath.hs:90:39:
Not in scope: data constructor `ESuper'
src/Text/Pandoc/Readers/TeXMath.hs:91:14:
Not in scope: data constructor `EDownup'
src/Text/Pandoc/Readers/TeXMath.hs:91:45:
Not in scope: data constructor `ESubsup'
src/Text/Pandoc/Readers/TeXMath.hs:92:14:
Not in scope: data constructor `EText'
cabal: Error: some packages failed to install:
pandoc-1.6 failed during the building phase. The exception was:
ExitFailure 1