HToolkit HSQL on Windows/GHC
So far no replies on Haskell-Cafe, and I noticed that a similar problem got no responce on htoolkit-users, so here goes: Is there a way to build the HToolkit HSQL library for GHC (6.0.1 when I tried, 6.2.1 now) on windows (particularly MySQL/Windows XP, but I wont say no to postgresql, ODBC & sqlite)? I assume people have tired and [I hope] succeded, but I got lost [I think] in the nasty place between the unix/cygwin libraries in GHC and the Windows focus of the compiled MySQL client library. Since haskell is mainly a hobby for me, and I don't have a lot of free time I haven't dug very deep, but not being able to interface my two of my favourite constructs (functional programming and relational databases) is getting to me. So any takers? C
Hi Clive, Currently the HSQL supports only ODBC & SQLite under Windows. Probably it will be not so hard to make HSQL working with PostgreSQL and MySQL but requires some hacks in the configure/Makefile scripts. For the time beings you can use ODBC driver for MySQL. Krasimir --- Clive Brettingham-Moore <haskell@brettingham-moore.net> wrote:
So far no replies on Haskell-Cafe, and I noticed that a similar problem got no responce on htoolkit-users, so here goes:
Is there a way to build the HToolkit HSQL library for GHC (6.0.1 when I tried, 6.2.1 now) on windows (particularly MySQL/Windows XP, but I wont say no to postgresql, ODBC & sqlite)? I assume people have tired and [I hope] succeded, but I got lost [I think] in the nasty place between the unix/cygwin libraries in GHC and the Windows focus of the compiled MySQL client library.
Since haskell is mainly a hobby for me, and I don't have a lot of free time I haven't dug very deep, but not being able to interface my two of my favourite constructs (functional programming and relational databases) is getting to me.
So any takers?
C
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
__________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
Hi Clive,
Currently the HSQL supports only ODBC & SQLite under Windows. Probably it will be not so hard to make HSQL working with PostgreSQL and MySQL but requires some hacks in the configure/Makefile scripts. For the time beings you can use ODBC driver for MySQL.
Krasimir
I guess It won't kill me to use ODBC. I've actually tried rather a lot of hacking around with the config an make scripts. I even managed to get it to compile with mySQL support, but There were problems with dependencies at linking. If I wasn't too lazy I'd just put together a dll with visual C for the MySQl calls and redo the library to use it. C
Hi Clive,
Is there a way to build the HToolkit HSQL library for GHC (6.0.1 when I tried, 6.2.1 now) on windows (particularly MySQL/Windows XP, but I wont say no to postgresql, ODBC & sqlite)?
I don't know. What I do know is that wxHaskell works great under Windows and has database access for a number of databases (including MySql): http://wxhaskell.sourceforge.net/doc/Graphics.UI.WXCore.Db.html If you want to try wxHaskell: http://wxhaskell.sourceforge.net/ The good thing is that you also get a powerful GUI library for free. Greetings, Arjan
participants (3)
-
Arjan van IJzendoorn -
Clive Brettingham-Moore -
Krasimir Angelov