Monday, January 2, 2012

Install HDBC-sqlite3 in windows

HDBC-sqlite3 is a package that provides support for sqlite db interaction for Haskell. To install it in Windows you need to have sqlite source.
1. Download the sqlite source code and extract to any directory, let's say 'C:\sqlite'.
2. Run
cabal update
cabal install HDBC-sqlite3 --extra-lib-dirs=C:\sqlite --extra-include-dirs=C:\sqlite