
I think you need to install sqlite3 first. This is just a binding to the C
library.
On Fri, Feb 20, 2009 at 7:16 PM, David
I've encountered another problem while trying to install 'HDBC-sqlite3'. I did the install "manually", instead of using Cabal, and during the build phase, received the following error message:
D:\Apps\ghc\ghc-6.10.1\HDBC-sqlite3-2.1.0.0>runghc Setup build Preprocessing library HDBC-sqlite3-2.1.0.0... Database\HDBC\Sqlite3\Statement.hsc:41:21: sqlite3.h: No such file or directory Database\HDBC\Sqlite3\Statement.hsc: In function `main': Database\HDBC\Sqlite3\Statement.hsc:137: error: `SQLITE_NULL' undeclared (first use in this function) Database\HDBC\Sqlite3\Statement.hsc:137: error: (Each undeclared identifier is reported only once Database\HDBC\Sqlite3\Statement.hsc:137: error: for each function it appears in.) Database\HDBC\Sqlite3\Statement.hsc:148: error: `SQLITE_ROW' undeclared (first use in this function) Database\HDBC\Sqlite3\Statement.hsc:149: error: `SQLITE_DONE' undeclared (first use in this function) Database\HDBC\Sqlite3\Statement.hsc:150: error: `SQLITE_ERROR' undeclared (first use in this function) compiling dist\build\Database\HDBC\Sqlite3\Statement_hsc_make.c failed
Is the file 'sqlite3.h' missing? Or am I doing something wrong?
Thanks, David. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Sebastian Sylvan +44(0)7857-300802 UIN: 44640862