[Haskell-cafe] syb-with-class problem.
magicloud.magiclouds at gmail.com
Fri Dec 17 00:21:18 CET 2010
On Thu, Dec 16, 2010 at 9:15 PM, Antoine Latter <aslatter at gmail.com> wrote:
> Hi there,
> 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 184.108.40.206? 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-220.127.116.11. I changed it to use
>> template-haskell-18.104.22.168. 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-22.214.171.124: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
The building problem with 126.96.36.199 is
Language.Haskell.TH.Quote.QuasiQuoter. It changed from 2 params
constructor to 4 params. And I have no idea how to give the 2 new
More information about the Haskell-Cafe