From: Duncan M. <dwm...@gm...> - 2007-08-26 20:31:18
|
On sqlite - I am trying to find a source package that includes sqlite.h. The package I donloaded and compiled only had sqlite3.h The libdbi driver fails to compile because it can't find sqlite.h On 7/16/07, Markus Hoenicka <mar...@mh...> wrote: > Hi Duncan, > > Duncan McQueen writes: > > #ifdef __MINGW32__ > > #include <winsock.h> > > #endif > > > > However, could a similar change be committed to the code? This will > > allow the MinGW platform to compile this driver. > > > > I've committed the fix you suggested. It can't do any harm on other > systems, so if that's all it takes to make the driver work on MinGW > we're all done. > > I wasn't quite sure where to put the above lines though. According to > your compiler log the file must be included before mysql.h, but does > winsock.h itself have any dependencies? I've put the conditional in > front of all includes, hoping that there are no such > dependencies. Could you please check the version from the CVS > repository to make sure it works? > > BTW I recall you compiled the PostgreSQL driver without a hitch. Is > there any chance to test the sqlite/sqlite3 drivers as well? I reckon this > should not be too hard as sqlite/sqlite3 also compile as Win32 > apps. With these drivers being ok we could claim full MinGW support > for the core drivers. > > regards, > Markus > > -- > Markus Hoenicka > mar...@ca... > (Spam-protected email: replace the quadrupeds with "mhoenicka") > http://www.mhoenicka.de > > |