Giter Site home page Giter Site logo

Comments (2)

jgm avatar jgm commented on June 23, 2024

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. #78

from texmath.

robert-dodier avatar robert-dodier commented on June 23, 2024

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.

from texmath.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.