[Haskell-cafe] Re: HDBC Windows binaries with SQLite 3 support

ArtemGr artem at bizlink.ru
Mon Mar 5 09:52:53 EST 2007


> Hallo list,
> 
>      I guess the subject line says it all. Can anybody help me?
> 


My instructions (i made it for myself! provided "as is"):

--- SQLite setup (Windows). -------

We'll need "sqlite3.h".
$ wget http://sqlite.org/sqlite-source-3_3_7.zip
Copy "sqlite3.h" to c:\Programs\ghc\include\
Also sqlite3.dll library is needed.
$ wget http://sqlite.org/sqlitedll-3_3_7.zip
Put the library into two places!
into "c:\Programs\ghc" - for compilation.
into "c:\WINDOWS\system32" - for execution.

http://quux.org/devel/hdbc/

$
wget "http://gopher.quux.org:70/devel/hdbc/hdbc_1.0.1.2.tar.gz"
tar -xzf hdbc_1.0.1.2.tar.gz && cd hdbc
runhaskell Setup.lhs configure --enable-library-profiling
runhaskell Setup.lhs build
runhaskell Setup.lhs install

$
wget "http://gopher.quux.org:70/devel/hdbc/hdbc-sqlite3_1.0.1.0.tar.gz"
tar -xzf hdbc-sqlite3_1.0.1.0.tar.gz && cd hdbc-sqlite3
joe HDBC-sqlite3.cabal
-- include-dirs: .,/usr/local/include
-- Extra-Lib-Dirs: /usr/local/lib
runhaskell Setup.lhs configure --enable-library-profiling
runhaskell Setup.lhs build
runhaskell Setup.lhs install
cd testsrc
ghc --make runtests.hs && ./runtests





More information about the Haskell-Cafe mailing list