[Haskell-cafe] HDBC installation error

Arunram A arunram.atma at gmail.com
Fri Jan 23 10:57:16 UTC 2015


Hi,

I am trying to install HDBC, using the following command.

cabal install hdbc

and getting the following error. 

Preprocessing library HDBC-2.4.0.0...
[1 of 8] Compiling Database.HDBC.Locale ( Database\HDBC\Locale.hs, 
dist\build\Database\HDBC\Locale.o )
[2 of 8] Compiling Database.HDBC.SqlValue ( Database\HDBC\SqlValue.hs, 
dist\build\Database\HDBC\SqlValue.o )

Database\HDBC\SqlValue.hs:265:29:
    Ambiguous occurrence `defaultTimeLocale'
    It could refer to either `Data.Time.defaultTimeLocale',
                             imported from `Data.Time' at 
Database\HDBC\SqlValue.hs:20:1-16
                             (and originally defined in 
`time-1.5:Data.Time.Form at.Locale')
                          or `Database.HDBC.Locale.defaultTimeLocale',
                             imported from `Database.HDBC.Locale' at 
Database\HDBC\SqlValue.hs:22:30-46
                             (and originally defined in `System.Locale')
                             
Seems to be some kind of import conflict.  But, I am not able to identify 
the problem and resolve the issue.

May I get a clarity on what the problem could be and is there a known 
solution for this?

Thanks!

Regards,
Arunram A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20150123/5039bf18/attachment.html>


More information about the Haskell-Cafe mailing list