On Tue, Sep 8, 2009 at 6:22 PM, Srikanth Raju <span dir="ltr"><<a href="mailto:srikiraju@gmail.com">srikiraju@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hello,<br>
The attached patch is modified with these changes<br>
* Remove sqlite3_next_stmt(), it should now work with older versions of<br>
sqlite on mac osx.<br></blockquote><div><br>I can confirm that with this removed, it now compiles fine on OSX.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


* Use the non pkgconfig configure in <a href="http://configure.ac" target="_blank">configure.ac</a>, since Apple version<br>
does not have the the .pc file.<br></blockquote><div><br>This new version didn't quite work for me. It complained about HAVE_SQLITE not being defined. I needed to change the code to read:<br><br>...<br>        AC_DEFINE([SQLITE_MODULE], 1, [Define if you want to use SQLite module]) ],<br>

        AC_MSG_ERROR([sqlite3 is required for sqlite module]) )<br>  fi<br>  AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" = "yes"])<br>fi<br><br>where I have added the AM_CONDITIONAL... line. I'm not sure if that is the right way to fix things, but it worked for me. Maybe someone who has a better knowledge of the build sytem than I do would have a different/better fix.<br>

<br>Regards,<br>Barry<br></div></div>