Awkee / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Pandoc fails installing on Snow Leopard 10.6.5 via cabal #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by trust...@gmail.com on 6 Jan 2011 at 9:33

GoogleCodeExporter commented 9 years ago
To 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.

Original comment by fiddloso...@gmail.com on 6 Jan 2011 at 10:40

GoogleCodeExporter commented 9 years ago
I'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.

Original comment by fiddloso...@gmail.com on 6 Jan 2011 at 11:00

GoogleCodeExporter commented 9 years ago
Sweet! Worked just fine, tnx.

Original comment by trust...@gmail.com on 7 Jan 2011 at 12:47