[Haskell-cafe] HDBC installation error
hesselink at gmail.com
Fri Jan 23 13:27:07 UTC 2015
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.
On Fri, Jan 23, 2015 at 11:57 AM, Arunram A <arunram.atma at gmail.com> wrote:
> I am trying to install HDBC, using the following command.
> cabal install hdbc
> and getting the following error.
> Preprocessing library HDBC-22.214.171.124...
> [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 )
> Ambiguous occurrence `defaultTimeLocale'
> It could refer to either `Data.Time.defaultTimeLocale',
> imported from `Data.Time' at
> (and originally defined in
> `time-1.5:Data.Time.Form at.Locale')
> or `Database.HDBC.Locale.defaultTimeLocale',
> imported from `Database.HDBC.Locale' at
> (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?
> Arunram A.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe