Export to GitHub

emgm - issue #23

Can't cabal-install emgm-0.2 with GHC 6.8.3


Posted on Feb 3, 2009 by Helpful Bird

From Andres:

$ cabal --version cabal-install version 0.6.0 using version 1.6.0.1 of the Cabal library $ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.8.3 $ cabal install emgm Resolving dependencies... 'template-haskell-2.3.0.0' is cached. Configuring template-haskell-2.3.0.0... Preprocessing library template-haskell-2.3.0.0... Building template-haskell-2.3.0.0... Language/Haskell/TH/Syntax.hs: unknown flags in {-# OPTIONS #-} pragma: -fno-warn-warnings-deprecations cabal: Error: some packages failed to install: emgm-0.2 depends on template-haskell-2.3.0.0 which failed to install. template-haskell-2.3.0.0 failed during the building phase. The exception was: exit: ExitFailure 1

This is due to cabal-install not dealing with the template-haskell-2.3 hack we have in the emgm.cabal file.

Comment #1

Posted on Feb 3, 2009 by Helpful Bird

I have gotten some useful information from Duncan Coutts in this haskell-cafe thread:

http://thread.gmane.org/gmane.comp.lang.haskell.cafe/47760/focus=51977

It will require some Cabal hacking in the Setup.lhs to fix this reliably for backwards compatibility with Cabal 1.2. I will try to fix this within a week and release 0.2.1.

Status: Accepted

Labels:
Type-Defect Priority-High Usability Milestone-Update-0.2.1