[Haskell-beginners] Installing HDBC
kmandpjlynch at verizon.net
Wed Feb 2 19:35:16 CET 2011
Your info helped...I can't thank you enough...
I can now connect to the database shown in "Real World Haskell" - I was just
about ready to give up...
Now if I can only get GTK and my Mac to work...well we'll start that
tomorrow...enuf to do today...
If anyone want to get a task force started in regard to installing Sqlite3
and GTK, I'll definitely participate...
----- Original Message -----
From: "Patrick LeBoutillier" <patrick.leboutillier at gmail.com>
To: "Kathleen Lynch" <kmandpjlynch at verizon.net>
Cc: <beginners at haskell.org>
Sent: Tuesday, February 01, 2011 9:49 PM
Subject: Re: [Haskell-beginners] Installing HDBC
Grab this: http://www.sqlite.org/sqlite-dll-win32-x86-3070500.zip
Extract the sqlite3.dll file from inside, copy it to c:\users\user and
Extract the sqlite3.h file from inside, copy it to c:\users\user
> cabal install
> HDBC-sqlite3 --extra-include-dirs=C:\Users\User --extra-lib-dirs=C:\Users\User
I have only installed it though, I didn't run it.
On Tue, Feb 1, 2011 at 5:00 PM, Kathleen Lynch <kmandpjlynch at verizon.net>
> ...I put it in my PATH [C:\users\user] and put the file Sqlite3 in that
> folder [C:\users\user] where I'm running Cabal and extended the Cabal
> command as follows - nothing helps...
> cabal install HDBC-sqlite3 --extra-include-dirs=C:\Users\User
> ...At this point, I'm unable to install Sqlite3 and GTK...
> ...I know this is 'open source' but it really shouldn't be this hard to do
> these installations...
> ...I'll go back to my Monads and see if I can figure them out and then
> a look at F# - I might have better luck there...
> ----- 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-22.214.171.124...
>> 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
> 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
>> I then went to the link you provided:
>> I extracted the tar file, HDBC-sqlite3-126.96.36.199.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
> Beginners mailing list
> Beginners at haskell.org
Rosemère, Québec, Canada
More information about the Beginners