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.