From: Laurent G. <ml...@ni...> - 2008-12-21 12:11:20
|
Thanks for your answers Justin. On Dec 15, 2008, at 18:23, Justin Bailey wrote: > On Sun, Dec 14, 2008 at 9:16 AM, Laurent Giroud <ml...@ni...> wrote: >> However, it is not possible for me to compile haskelldb-dynamic, >> which >> seems necessary to get the DBDirect program which analyzes the >> database. This is something that I inferred from my research on the >> web since the current documentation (or lack thereof) seems totally >> obsolete on that matter. > > It's probably easier to write your own "DBDirect" like program than > use the one in the distribution. I don't know if I can do that yet, but I'll give it a try if I fail to build it. >> Moreover, I also failed at building a working driver, be it for hdbc, >> hsql (which seems utterly dead and unmaintained): hdbc-odbc doesn't >> build either since Setup.hs wants to use a function which is now >> obsolete. > > I am on Windows and have used HDBC-postgres successfully with > haskelldb. Since I am on mac os x, I started with MySQL which is somehow "officially" supported by Apple, but it's a good idea indeed, I'll try it if I can't get anything to connect with MySQL. >> Are there any plan to update haskelldb so it builds again with cabal >> 1.6 and the recent versions of the modules it depends on or is this >> library not maintained anymore ? > > haskelldb hasn't seen a lot of love lately, but people do still commit > fixes. But as you have found it, it's not updated very frequently. If Do you have any idea of why people submit patches but nobody ends up updating the version on hackage ? > If > you can get it building though, it's a pretty neat library. I used it > to generate SQL queries and then executed those separately, but even > for that it was a great library. It seems to be a great library indeed, that's why I was a bit surprised to see that the hackage version did not build: it would seem to me that it was by far the most interesting of the database library available on Haskell. SQL type safety is such a great feature that I thought nobody would want to use anything but that, apparently I was wrong since the other database libraries (hdbc, takusen) seem to be more active than haskelldb is. Thanks again for your reply ! Cheers, Laurent |