[Haskell-cafe] syb-with-class problem.
aslatter at gmail.com
Thu Dec 16 14:15:32 CET 2010
The only version of template haskell which will work is the version
that the compiler was built against. So if you're working with ghc-7,
it is 2.5 or nothing.
Why doesn't HStringTemplate work with 22.214.171.124? What error were you getting?
On Thu, Dec 16, 2010 at 6:23 AM, Magicloud Magiclouds
<magicloud.magiclouds at gmail.com> wrote:
> I am trying to make happstack work in my box, which is using ghc 7.
> While compiling HStringTemplate, which I did a little modification
> to make it work, I found that it does not work with
> template-haskell-126.96.36.199. I changed it to use
> template-haskell-188.8.131.52. This step worked fine.
> Then I got another error:
> $ cabal install
> Resolving dependencies...
> Configuring syb-with-class-0.6.1.1...
> Preprocessing library syb-with-class-0.6.1.1...
> Building syb-with-class-0.6.1.1...
> [1 of 4] Compiling Data.Generics.SYB.WithClass.Context (
> dist/build/Data/Generics/SYB/WithClass/Context.o )
> [2 of 4] Compiling Data.Generics.SYB.WithClass.Basics (
> dist/build/Data/Generics/SYB/WithClass/Basics.o )
> [3 of 4] Compiling Data.Generics.SYB.WithClass.Derive (
> dist/build/Data/Generics/SYB/WithClass/Derive.o )
> Bad interface file:
> Something is amiss; requested module
> template-haskell-184.108.40.206:Language.Haskell.TH differs from name found
> in the interface file template-haskell:Language.Haskell.TH
> cabal: Error: some packages failed to install:
> HStringTemplate-0.6.3 depends on syb-with-class-0.6.1.1 which failed to
> syb-with-class-0.6.1.1 failed during the building phase. The exception was:
> ExitFailure 1
> How to resolve this?
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe