[Haskell-beginners] Installing HDBC
Kathleen Lynch
kmandpjlynch at verizon.net
Tue Feb 1 20:20:22 CET 2011
I entered the command you gave me: cabal install HDBC-sqlite3
It returned the following error:
Resolving dependencies...
Configuring HDBC-sqlite3-2.3.1.0...
cabal: Missing dependency on a foreign library:
* Missing C library: sqlite3
I then went to the link you provided:
http://hackage.haskell.org/package/HDBC-sqlite3
I extracted the tar file, HDBC-sqlite3-2.3.1.0.tar, and tried to un-tar it
but get the following message:
"Error reading header after processing 0 entries"
I'd appreciate any help...
----- Original Message -----
From: "Daniel Fischer" <daniel.is.fischer at googlemail.com>
To: "Kathleen Lynch" <kmandpjlynch at verizon.net>
Cc: <beginners at haskell.org>
Sent: Tuesday, February 01, 2011 1:33 PM
Subject: Re: [Haskell-beginners] Installing HDBC
> On Tuesday 01 February 2011 19:03:32, Kathleen Lynch wrote:
>> ...I got everything installed but am getting the following message:
>>
>> Prelude> :module Database.HDBC.Sqlite3
>> <no location info>:
>> Could not find module `Database.HDBC.Sqlite3':
>> it is not a module in the current program, or in any known
>> package.
>
> It's in http://hackage.haskell.org/package/HDBC-sqlite3
>
> $ cabal install HDBC-sqlite3
>
> (similarly for mysql, postgresql, odbc). I suppose those packages depend
> on
> having the foreign library installed, so they come alone. It's a bit
> annoying (especially if one is not told which packages one needs), but
> having to install multiple databases when one wants to use only one would
> be at least as bad.
>
> Cheers,
> Daniel
More information about the Beginners
mailing list