[Haskell-beginners] Installing HDBC
Kathleen Lynch
kmandpjlynch at verizon.net
Tue Feb 1 19:03:32 CET 2011
...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.
...I have the file 'sqlite3' installed in the folder:
C:\users\user\downloads\sqlite-linux-x486-3070400
I'd appreciate any help...
----- Original Message -----
From: "Daniel Fischer" <daniel.is.fischer at googlemail.com>
To: <beginners at haskell.org>
Cc: "Kathleen Lynch" <kmandpjlynch at verizon.net>
Sent: Monday, January 31, 2011 10:54 AM
Subject: Re: [Haskell-beginners] Installing HDBC
> On Monday 31 January 2011 16:39:30, Kathleen Lynch wrote:
>> Good morning,
>> I'm trying to install Sqlite on a Windows PC...
>> I'm using "Real World Haskell" as a guide in regard to this...
>> It indicates that HDBC must be installed first and points to
>> http://hackage.haskell.org/.
>>
>> I displayed this url and see the following in regard to downloading
>> HDBC: Downloads
>> a.. HDBC-2.2.6.1.tar.gz (Cabal source package)
>> b.. package description (included in the package)
>> If I'm correct, tar is a Unixy thing...
>
> Windows can handle .tar.gz, but if you have the cabal executable (you
> should have it if you've installed the Haskell platform, otherwise you'll
> probably need it sooner or later anyway:
> http://www.haskell.org/cabal/download.html
> ), simply "cabal install HDBC" [1] in a command shell should work (unless
> there are some foreign [C] libraries missing, in which case you'd need to
> install those first).
>
> [1] before you can cabal install something, you first need to call "cabal
> update" to let cabal know what is available on hackage
This returned a null result - but the "cabal install HDBC' did install HDBC.
In ghci: I can execute: :m Database.HDBC
I then downloaded Sqlite3 using:
Precompiled Binaries For Windows
sqlite-shell-win32-x86-3070400.zip
(275.08 KiB) A command-line shell for accessing and modifying SQLite
databases. This program is compatible with all versions of SQLite through
3.7.4 and beyond.
However, looks like I need to do something else, when I execute: :m
Database.HDBC Database.HDBC.Sqlite3
it doesn't find Sqlite3 - the following message appears:
<no location info>:
Could not find module `Database.HDBC.Sqlite3':
it is not a module in the current program, or in any known package.
I'd appreciate any help
>
>>
>> Can someone tell me how to download this to a Windows Vista PC?
>>
>> Thank you
>
More information about the Beginners
mailing list