oops, forgot to reply to all. haven't used a mailing list in a while. =P
this did not solve my problem. also, dons suggested using runhaskell
Setup.hs --constraint='base<4', which worked for him apparently. neither
suggestion has changed my error message at all, and I've cleaned and
reconfigured between each attempt. any other ideas?
also, this section of the .cabal may be relevant:
Build-Depends: base,
haskell98, mtl, HUnit,
QuickCheck >= 1.0 && < 2.0
If flag(splitBase)
Build-Depends: base >= 3, containers, random
Else
Build-Depends: base < 3
On Sat, Jan 31, 2009 at 5:21 PM, Krzysztof Skrzętnicki <[email protected]>wrote:
> This error is due to usage of old base package in version 3.In .cabal file
> add dependency on base-4, in form "base >= 4".
> All best
>
> Christopher Skrzętnicki
>
> 2009/2/1 Ezekiel Smithburg <[email protected]>
>
>> this is the error message i get:
>>
>> ezekiel-smithburgs-macbook-pro-15% runhaskell Setup.* build
>> Preprocessing library testpack-1.0.0...
>> Building testpack-1.0.0...
>> [1 of 3] Compiling Test.QuickCheck.Instances (
>> src/Test/QuickCheck/Instances.hs, dist/build/Test/QuickCheck/Instances.o )
>> [2 of 3] Compiling Test.QuickCheck.Tools ( src/Test/QuickCheck/Tools.hs,
>> dist/build/Test/QuickCheck/Tools.o )
>> [3 of 3] Compiling Test.HUnit.Tools ( src/Test/HUnit/Tools.hs,
>> dist/build/Test/HUnit/Tools.o )
>>
>> src/Test/HUnit/Tools.hs:28:36:
>> Class `Control.Exception.Exception' used as a type
>> In the type `Control.Exception.Exception'
>> In the type `Control.Exception.Exception -> IO a -> IO ()'
>> In the type `String
>> -> Control.Exception.Exception -> IO a -> IO ()'
>>
>> what should i do? need this in order to build hdbc 2.0, which i'm hoping
>> solves a problem i was having earlier (memory leak).
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>>
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe