What steps will reproduce the problem? 1. brew install haskell-platform 2. cabal update 3. cabal install pandoc
What is the expected output? What do you see instead? Compilation of pandoc fails with following message:
src/Text/Pandoc/Readers/TeXMath.hs:50:30: Not in scope: `formula'
What version of the product are you using? On what operating system?
Snow Leopard 10.6.5 pandoc-1.6
Please provide any additional information below.
[snip] [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
Comment #1
Posted on Jan 6, 2011 by Grumpy DogTo fix this:
cabal install texmath-0.4 ghc-pkg hide texmath-0.5 cabal install pandoc
I need to put an upper bound on texmath in pandoc.cabal.
Comment #2
Posted on Jan 6, 2011 by Grumpy DogI've uploaded pandoc-1.6.0.1, which adds upper bounds and should fix the problem. You should now be able to install pandoc with
cabal update cabal install pandoc
without needing to take the steps outlined above. Please advise if this doesn't work.
Comment #3
Posted on Jan 7, 2011 by Massive RhinoSweet! Worked just fine, tnx.
Status: Fixed
Labels:
Type-Defect
Priority-Medium