[Haskell-beginners] Installing HDBC

Kathleen Lynch kmandpjlynch at verizon.net
Tue Feb 1 22:39:02 CET 2011


...almost a rhetorical question - but does Haskell support "Microsoft SQL 
Server 2005 Compact Edition"?

----- 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 3:07 PM
Subject: Re: [Haskell-beginners] Installing HDBC


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