Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texmath-0.8.3 fails to install via cabal #78

Closed
robert-dodier opened this issue Aug 27, 2015 · 2 comments
Closed

texmath-0.8.3 fails to install via cabal #78

robert-dodier opened this issue Aug 27, 2015 · 2 comments

Comments

@robert-dodier
Copy link

Hi, I'm trying to install pandoc via cabal and the installation fails when trying to install texmath. Some possibly relevant version numbers:

$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3

I'm working on Ubuntu 14.04.

Here's what I get:

$ cabal install pandoc
Resolving dependencies...
Configuring texmath-0.8.3...
Building texmath-0.8.3...
Preprocessing library texmath-0.8.3...
[ 1 of 18] Compiling Text.TeXMath.Unicode.ToASCII ( src/Text/TeXMath/Unicode/ToASCII.hs, dist/build/Text/TeXMath/Unicode/ToASCII.o )
[ 2 of 18] Compiling Text.TeXMath.TeX ( src/Text/TeXMath/TeX.hs, dist/build/Text/TeXMath/TeX.o )
[ 3 of 18] Compiling Text.TeXMath.Compat ( src/Text/TeXMath/Compat.hs, dist/build/Text/TeXMath/Compat.o )
[ 4 of 18] Compiling Text.TeXMath.Readers.MathML.EntityMap ( src/Text/TeXMath/Readers/MathML/EntityMap.hs, dist/build/Text/TeXMath/Readers/MathML/EntityMap.o )
Failed to install texmath-0.8.3
cabal: Error: some packages failed to install:
pandoc-1.15.0.6 depends on texmath-0.8.3 which failed to install.
texmath-0.8.3 failed during the building phase. The exception was:
ExitFailure 139

Does anyone have some advice? Thanks for any light you can shed on this problem.

best,

Robert Dodier

@jgm
Copy link
Owner

jgm commented Aug 27, 2015

I haven't seen this before, but it seems others have
encountered a similar problem with other packages:

ekmett/lens#407

Here they suggest ensuring that you haven't installed a new
version of template haskell on top of the one that goes with
your version of the compiler. Can you confirm that?

ghc-pkg list template-haskell

See also lambdabot/lambdabot#36

+++ Robert Dodier [Aug 26 15 18:59 ]:

Hi, I'm trying to install pandoc via cabal and the installation fails
when trying to install texmath. Some possibly relevant version numbers:

$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3

I'm working on Ubuntu 14.04.

Here's what I get:

$ cabal install pandoc
Resolving dependencies...
Configuring texmath-0.8.3...
Building texmath-0.8.3...
Preprocessing library texmath-0.8.3...
[ 1 of 18] Compiling Text.TeXMath.Unicode.ToASCII (
src/Text/TeXMath/Unicode/ToASCII.hs,
dist/build/Text/TeXMath/Unicode/ToASCII.o )
[ 2 of 18] Compiling Text.TeXMath.TeX ( src/Text/TeXMath/TeX.hs,
dist/build/Text/TeXMath/TeX.o )
[ 3 of 18] Compiling Text.TeXMath.Compat ( src/Text/TeXMath/Compat.hs,
dist/build/Text/TeXMath/Compat.o )
[ 4 of 18] Compiling Text.TeXMath.Readers.MathML.EntityMap (
src/Text/TeXMath/Readers/MathML/EntityMap.hs,
dist/build/Text/TeXMath/Readers/MathML/EntityMap.o )
Failed to install texmath-0.8.3
cabal: Error: some packages failed to install:
pandoc-1.15.0.6 depends on texmath-0.8.3 which failed to install.
texmath-0.8.3 failed during the building phase. The exception was:
ExitFailure 139

Does anyone have some advice? Thanks for any light you can shed on this
problem.

best,

Robert Dodier


Reply to this email directly or [1]view it on GitHub.

References

  1. texmath-0.8.3 fails to install via cabal #78

@robert-dodier
Copy link
Author

Thanks for the pointers. They suggest at one point that the problem might be a version mismatch between Template Haskell and GHC -- versions are correctly matched on my system. At another point it's suggested to install from a Git repo, so I tried cloning texmath and then cabal install from there. That worked, which is a little surprising since the Git version is apparently 0.8.3 which is the same as what cabal install texmath was trying to install. Anyway I guess the problem is resolved so I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants