I think you need to install sqlite3 first. This is just a binding to the C library.<br><br><div class="gmail_quote">On Fri, Feb 20, 2009 at 7:16 PM, David <span dir="ltr">&lt;<a href="mailto:dfkettle@gmail.com">dfkettle@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;ve encountered another problem while trying to install<br>
&#39;HDBC-sqlite3&#39;. I did the install &quot;manually&quot;, instead of using Cabal,<br>
and during the build phase, received the following error message:<br>
<br>
D:\Apps\ghc\ghc-6.10.1\HDBC-sqlite3-2.1.0.0&gt;runghc Setup build<br>
Preprocessing library HDBC-sqlite3-2.1.0.0...<br>
Database\HDBC\Sqlite3\Statement.hsc:41:21: sqlite3.h: No such file or directory<br>
Database\HDBC\Sqlite3\Statement.hsc: In function `main&#39;:<br>
Database\HDBC\Sqlite3\Statement.hsc:137: error: `SQLITE_NULL&#39;<br>
undeclared (first use in this function)<br>
Database\HDBC\Sqlite3\Statement.hsc:137: error: (Each undeclared<br>
identifier is reported only once<br>
Database\HDBC\Sqlite3\Statement.hsc:137: error: for each function it<br>
appears in.)<br>
Database\HDBC\Sqlite3\Statement.hsc:148: error: `SQLITE_ROW&#39;<br>
undeclared (first use in this function)<br>
Database\HDBC\Sqlite3\Statement.hsc:149: error: `SQLITE_DONE&#39;<br>
undeclared (first use in this function)<br>
Database\HDBC\Sqlite3\Statement.hsc:150: error: `SQLITE_ERROR&#39;<br>
undeclared (first use in this function)<br>
compiling dist\build\Database\HDBC\Sqlite3\Statement_hsc_make.c failed<br>
<br>
Is the file &#39;sqlite3.h&#39; missing? Or am I doing something wrong?<br>
<br>
Thanks,<br>
<font color="#888888">David.<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Sebastian Sylvan<br>+44(0)7857-300802<br>UIN: 44640862<br>