I was able to get the Postgres driver compiled with libdbi and run a
sample program under from a MingW compiled executable.
However, when attempting to compile the MySQL driver, I run into
problems. After having to create a mysql directory in the mysql
includes directory, and copy in the mysql.h file, I get the following
error:
In file included from c:/mysql-5.1.20-beta-win32/include/mysql/mysql.h:67,
from dbd_mysql.c:50:
c:/mysql-5.1.20-beta-win32/include/mysql_com.h:191: error: expected
specifier-qualifier-list before 'SOCKET'
c:/mysql-5.1.20-beta-win32/include/mysql_com.h:366: error: expected
')' before 's'
dbd_mysql.c: In function 'dbd_get_socket':
dbd_mysql.c:227: error: 'NET' has no member named 'fd'
make[3]: *** [dbd_mysql.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Anyone make sense of this?
Thanks,
Duncan McQueen
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libdbi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libdbi-users