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

Sebastian Sylvan sylvan at student.chalmers.se
Fri Feb 20 14:25:18 EST 2009

I think you need to install sqlite3 first. This is just a binding to the C

On Fri, Feb 20, 2009 at 7:16 PM, David <dfkettle at gmail.com> wrote:

> 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?
> Thanks,
> David.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

Sebastian Sylvan
UIN: 44640862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090220/14e88cb4/attachment.htm

More information about the Haskell-Cafe mailing list