[Haskell-beginners] Installing HDBC
Daniel Fischer
daniel.is.fischer at googlemail.com
Tue Feb 1 21:07:01 CET 2011
On Tuesday 01 February 2011 20:20:22, Kathleen Lynch wrote:
> 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
That means you don't have the C library installed, or at least that cabal
can't find it. You have to install it otherwise or put it in a directory in
your %PATH%. I'm not familiar with Windows, so I can't tell you how to do
that. You could search on the haskellwiki, perhaps there are instructions
there.
>
> 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"
If cabal complains about a missing foreign dependency, trying a manual
install won't help, runhaskell ./Setup configure won't look anywhere cabal
doesn't.
More information about the Beginners
mailing list