Fri Jan 23 13:27:07 UTC 2015

```Hi Arunram,

HDBC doesn't work with time 1.5. It does list 1.5 as supported, and it
seems I introduced that bug. For now, specifying something like
'--constraint=time\<1.5' on the command line might work.

Regards,

Erik

On Fri, Jan 23, 2015 at 11:57 AM, Arunram A <arunram.atma at gmail.com> wrote:
> 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.
>
> _______________________________________________