
http://darcs.haskell.org/~lemmih/hsSDL/ http://darcs.haskell.org/%7Elemmih/hsSDL/
How do I use this? I've seen instructions floating around somewhere that if a library has a "Setup.hs", you're supposed to do runhaskell Setup configure runhaskell Setup build runhaskell Setup install However, the first command prints a huge stream of text and then complains about "can't find sh". (Well, why would you? It's Windows...)

There should be a WIN32 file with instructions for installing on windows.

Yeah I missed that too at first sight... A hint to the author: rename this into README.WIN32.txt or something :-) But I don't think the author of that library reads this mailing list? I find it a petty the library does not work with GHCi :-( It has to do with the threaded RTS I guess. Any hints how I could fix this? Cheers, Peter Andrew Coppin wrote:
Bit Connor wrote:
There should be a WIN32 file with instructions for installing on windows.
Thanks. I didn't spot that...
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Peter Verswyvelen wrote:
Yeah I missed that too at first sight... A hint to the author: rename this into README.WIN32.txt or something :-)
But I don't think the author of that library reads this mailing list?
Mmm... I suppose technically somebody could submit a Darcs patch? ;-) [Darcs even has special support for renaming files...]
I find it a petty the library does not work with GHCi :-( It has to do with the threaded RTS I guess. Any hints how I could fix this?
Yeah, lots of things seem to dislike running in GHCi. (I'm guessing this is to do with trying to talk to C from inside an interpreter... I don't really know for sure why it doesn't work, but it doesn't surprise me.)

On Oct 19, 2007, at 15:14 , Andrew Coppin wrote:
Peter Verswyvelen wrote:
I find it a petty the library does not work with GHCi :-( It has to do with the threaded RTS I guess. Any hints how I could fix this?
Yeah, lots of things seem to dislike running in GHCi. (I'm guessing this is to do with trying to talk to C from inside an interpreter... I don't really know for sure why it doesn't work, but it doesn't surprise me.)
Could be that (but I think unlikely), or threading (common; gtk2hs has hacks specifically for ghci/runghc), or special initialization needed for windowing programs (I think Windows requires this, and I know OSX does). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

I find it a petty the library does not work with GHCi :-( It has to do with the threaded RTS I guess. Any hints how I could fix this?
Not sure how useful this is, but it works for me. I have a toy project that uses OpenGL and SDL and I have no problems running it from within GHCi in Linux. Perhaps the problem can be narrowed down to Windows. My versions: GHC-6.6.1 SDL-0.4.0
participants (5)
-
Andrew Coppin
-
Bit Connor
-
Brandon S. Allbery KF8NH
-
Peter Verswyvelen
-
Roel van Dijk