
================================================================ C:\Windows\system32>cabal install SDL Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\LIERYA~1\AppData\Local\Temp\SDL-0.5.93108\SDL-0.5.9\Setup.lhs, C:\Users\LIERYA~1\AppData\Local\Temp\SDL-0.5.93108\SDL-0.5.9\dist\setup\Main.o ) C:\Users\LIERYA~1\AppData\Local\Temp\SDL-0.5.93108\SDL-0.5.9\Setup.lhs:2:2: Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Linking C:\Users\LIERYA~1\AppData\Local\Temp\SDL-0.5.93108\SDL-0.5.9\dist\setup\setup.exe ... Warning: defaultUserHooks in Setup script is deprecated. Configuring SDL-0.5.9... setup.exe: sh: runGenProcess: does not exist (No such file or directory) cabal: Error: some packages failed to install: SDL-0.5.9 failed during the configure step. The exception was: exit: ExitFailure 1 ================================================================ I searched on google, it says some modules (e.g. SDL) requires a unix-shell to run the ./configure script. I do have Cygwin on the machine, but I installed GHC/Haskell Platform on the host machine (not on Cygwin). If I installed the SDL package inside cygwin using cabal, would cabal installs the SDL on the Cygwin environment or on the host machine? (i.e. can I use the resultant SDL-binding outside Cygwin?)