[Haskell-cafe] Error installing pkg 'HDBC-sqlite3'

David dfkettle at gmail.com
Fri Feb 20 14:16:07 EST 2009

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->runghc Setup build
Preprocessing library HDBC-sqlite3-
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?


More information about the Haskell-Cafe mailing list