[Haskell-cafe] ANN: HDBC v2.0 now available
michael at snoyman.com
Fri Jan 30 18:50:30 EST 2009
2009/1/30 Krzysztof Skrzętnicki <gtener at gmail.com>
> On Sat, Jan 31, 2009 at 00:07, Valentyn Kamyshenko <kamysh at kamysh.org>wrote:
>> Hello John,
>> I'm trying to install the new version of HDBC on my Mac (ghc version is
>> 6.10.1), and get the following error:
>> # cabal upgrade --global
>> Resolving dependencies...
>> 'HDBC-2.0.0' is cached.
>> Configuring HDBC-2.0.0...
>> Preprocessing library HDBC-2.0.0...
>> Preprocessing executables for HDBC-2.0.0...
>> Building HDBC-2.0.0...
>> [1 of 7] Compiling Database.HDBC.SqlValue ( Database/HDBC/SqlValue.hs,
>> dist/build/Database/HDBC/SqlValue.o )
>> [2 of 7] Compiling Database.HDBC.ColTypes ( Database/HDBC/ColTypes.hs,
>> dist/build/Database/HDBC/ColTypes.o )
>> [3 of 7] Compiling Database.HDBC.Statement ( Database/HDBC/Statement.hs,
>> dist/build/Database/HDBC/Statement.o )
>> Type constructor `Exception' used as a class
>> In the instance declaration for `Exception SqlError'
>> cabal: Error: some packages failed to install:
>> HDBC-2.0.0 failed during the building phase. The exception was:
>> exit: ExitFailure 1
> I got the same error: Windows XP, GHC 6.10.1.
> For some reason imported Control.Exception module appears to be 6.8.*
I got that error when using cabal to install. However, when I downloaded the
package and installed it with a ./Setup.lhs configure..., it worked. Maybe
this is a cabal issue instead.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe