From: Victor B. <vi...@dt...> - 2004-03-02 01:24:51
|
Hi, I have problem getting HSQL to compile with MySQL support on windows with cygwin and ghc. I talked with Bj=F6rn about it, and he sugested changing line 320 in configure.ac to: AC_CHECK_HEADER(mysql.h,, AC_MSG_ERROR([mysql.h header not found]),[# include <winsock.h>]) It did help some (I can run ./configure --enable-mysql with no visible errors), but it still doesn't compile but instead gives me this error: [...] /cygdrive/c/ghc/ghc-6.2/bin/hsc2hs src/HSQL/MySQL.hsc -D_WIN32_ -I/cygdrive/c/mysql/include src\HSQL\MySQL.hsc:33:19: mysql.h: No such file or directory [...] I have attaced config.log and a copy of the error that might be of some help (if attachments is allowed on the mailinglists :) I have checked that the path to mysql.h is correct, and I can compile a small c-file which include mysql.h if I give it -I/cygdrive/c/mysql/include as argument which is precisly the same argument as hsc2hs is given. I can also compile with ODBC-support without problem. /Victor |