
I'm trying to build http://www.cs.york.ac.uk/fp/darcs/Blobs using GHC 6.8.2. It looks like a good Haskell program to learn from. So far I managed to modify the source code so it makes use of the new HaXML libraries, and after a lot of hacking I could build and link to wxHaskell, but my app crashes (I do get a window however, woohoo) Maybe someone else managed already? Thanks, Peter

Peter Verswyvelen wrote:
I'm trying to build http://www.cs.york.ac.uk/fp/darcs/Blobs using GHC 6.8.2. It looks like a good Haskell program to learn from.
So far I managed to modify the source code so it makes use of the new HaXML libraries, and after a lot of hacking I could build and link to wxHaskell, but my app crashes (I do get a window however, woohoo)
Maybe someone else managed already?
Thanks, Peter
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi Peter, I have Blobs compiling and running in my machine. Its an Kubuntu Gutsy with GHC 6.6.1 and HaXml 1.19.SOMETHING (I'm using a repository version but not yet the current one) This implies some minor changes that I've as local patches, that I can send to you as soon as I find how to get a file per patch from the repository. The big issue is always to be able to get wxHaskell compiled and working properly. I'm currently using a recent (1 or 2 weeks old) version of wxHaskell from its official repository (darcs get http://darcs.haskell.org/wxhaskell) and wxGTK 2.6.3 You can find more information in INblobs (INblobs is done on top of Bblobs) webpage : http://haskell.di.uminho.pt/jmvilaca/INblobs/ or in the wxHaskell mailing list wxhaskell-users@lists.sourceforge.net What versions of wxWidgets are you using and in which platform? best Miguel Vilaca

Hi Miguel! Thanks for the reply! Yes, I also took the latest darcs version of wxHaskell, HaXml 1.19.2, and polyparse. I had to do some minor tweaks to the Blobs source code (mainly Text.Parse stuff, no big deal really). I used wxGTK 2.6.4, --with-opengl and --disable-sharing (otherwise I got link errors when linking Blobs). However I'm using GHC 6.8.2 on Fedora 8. BTW what do you think is the best distro for doing Haskell development? Now I just switched from Windows to Linux, so this is all very very new to me. However I do like the Linux way of settings things up, so I'm planning to dig a bit deeper in the Linux world. Not easy because I know a lot about Windows development, so giving that up is hard. I'll take a look at the website you mentioned. The fact to you have it running gives me confidance it is possible :) Cheers, Peter On Thu, 2008-01-17 at 14:51 +0000, Miguel Vilaça wrote:
Peter Verswyvelen wrote:
I'm trying to build http://www.cs.york.ac.uk/fp/darcs/Blobs using GHC 6.8.2. It looks like a good Haskell program to learn from.
So far I managed to modify the source code so it makes use of the new HaXML libraries, and after a lot of hacking I could build and link to wxHaskell, but my app crashes (I do get a window however, woohoo)
Maybe someone else managed already?
Thanks, Peter
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi Peter, I have Blobs compiling and running in my machine. Its an Kubuntu Gutsy with GHC 6.6.1 and HaXml 1.19.SOMETHING (I'm using a repository version but not yet the current one) This implies some minor changes that I've as local patches, that I can send to you as soon as I find how to get a file per patch from the repository.
The big issue is always to be able to get wxHaskell compiled and working properly. I'm currently using a recent (1 or 2 weeks old) version of wxHaskell from its official repository (darcs get http://darcs.haskell.org/wxhaskell) and wxGTK 2.6.3
You can find more information in INblobs (INblobs is done on top of Bblobs) webpage : http://haskell.di.uminho.pt/jmvilaca/INblobs/ or in the wxHaskell mailing list wxhaskell-users@lists.sourceforge.net
What versions of wxWidgets are you using and in which platform?
best Miguel Vilaca

Sorry guys, this email also got in my personal email box, I did not mention to send this to the cafe. And with this message this is double spam, duh. On Thu, 2008-01-17 at 20:10 +0100, Peter Verswyvelen wrote:
Hi Miguel!
Thanks for the reply!
Yes, I also took the latest darcs version of wxHaskell, HaXml 1.19.2, and polyparse.
I had to do some minor tweaks to the Blobs source code (mainly Text.Parse stuff, no big deal really).
I used wxGTK 2.6.4, --with-opengl and --disable-sharing (otherwise I got link errors when linking Blobs).
However I'm using GHC 6.8.2 on Fedora 8. BTW what do you think is the best distro for doing Haskell development?
Now I just switched from Windows to Linux, so this is all very very new to me. However I do like the Linux way of settings things up, so I'm planning to dig a bit deeper in the Linux world. Not easy because I know a lot about Windows development, so giving that up is hard.
I'll take a look at the website you mentioned.
The fact to you have it running gives me confidance it is possible :)
Cheers, Peter
On Thu, 2008-01-17 at 14:51 +0000, Miguel Vilaça wrote:
Peter Verswyvelen wrote:
I'm trying to build http://www.cs.york.ac.uk/fp/darcs/Blobs using GHC 6.8.2. It looks like a good Haskell program to learn from.
So far I managed to modify the source code so it makes use of the new HaXML libraries, and after a lot of hacking I could build and link to wxHaskell, but my app crashes (I do get a window however, woohoo)
Maybe someone else managed already?
Thanks, Peter
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi Peter, I have Blobs compiling and running in my machine. Its an Kubuntu Gutsy with GHC 6.6.1 and HaXml 1.19.SOMETHING (I'm using a repository version but not yet the current one) This implies some minor changes that I've as local patches, that I can send to you as soon as I find how to get a file per patch from the repository.
The big issue is always to be able to get wxHaskell compiled and working properly. I'm currently using a recent (1 or 2 weeks old) version of wxHaskell from its official repository (darcs get http://darcs.haskell.org/wxhaskell) and wxGTK 2.6.3
You can find more information in INblobs (INblobs is done on top of Bblobs) webpage : http://haskell.di.uminho.pt/jmvilaca/INblobs/ or in the wxHaskell mailing list wxhaskell-users@lists.sourceforge.net
What versions of wxWidgets are you using and in which platform?
best Miguel Vilaca
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Peter Verswyvelen wrote:
However I'm using GHC 6.8.2 on Fedora 8. BTW what do you think is the best distro for doing Haskell development?
they all suck if you want to be able to try/use the latest stuff, in my experience; just install a GHC and cabal stuff in your home directory (you can install more than one GHC-version there if you want to test things with multiple versions...). There's a semi-good reason for this: distros don't like to package broken things, and usually something breaks with each different version of GHC, but not necessarily something you're relying on, and as you're doing Haskell development you may be able to help fix it. so that is, you compile (configure) things with --prefix=$HOME (or --prefix=$HOME/unix or so if you don't like your home-directory being cluttered with names like "bin", "lib" etc.). and when using cabal you also, if it's a system-wide-installed ghc, need to give --user when configuring. And then you add "whatever-you-put-for-prefix/bin" to your path, e.g. in ~/.bashrc adding PATH="$HOME/bin:$PATH" so that the programs (ghc, happy, alex, xmonad, whatever) will be found if you want to run them. Did I leave anything important out? now, there might be a distro system that actually worked well for this. Maybe in a couple years and once cabal-install is reasonably stable, some unconventional distro like GoboLinux or NixOS might meet my standards :-) ~Isaac
participants (3)
-
Isaac Dupree
-
Miguel Vilaça
-
Peter Verswyvelen