
I'm trying to install SDL through Cabal -- I don't know another way to install it. However, I'm getting this: setup.exe: The package has a './configure' script. This requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. cabal: Error: some packages failed to install: SDL-0.5.10 failed during the configure step. The exception was: exit: ExitFailure 1 I have MinGW and MSYS, so I don't understand why I'm having this problem. Do I need to set something special up so that Cabal can access their tools? -Eitan

Hi Eitan You will probably need to do a manual install. If you download and extract the SDL binding there is a file - WIN32 - in the top level directory describing how to install on Windows. Unfortunately this file might now be out-of-date. I haven't used the Haskell SDL binding myself since version 0.5.3 which was quite a while ago, and then the WIN32 file was a message describing Bit Connor's successful install - it might still be the same file. As the SDL developers distribute a DLL of the C library, you can build the binding with either Cygwin or MinGW. MinGW is probably the better choice these days though. Again, unfortunately I don't have experience of building it with MinGW to share, you might have to do some improvisation to get it to work. Best wishes Stephen

You might try emailing the maintainer directly. The package appears to be
actively maintained.
- Job
On Fri, Jul 30, 2010 at 3:17 AM, Eitan Goldshtrom
I'm trying to install SDL through Cabal -- I don't know another way to install it. However, I'm getting this:
setup.exe: The package has a './configure' script. This requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. cabal: Error: some packages failed to install: SDL-0.5.10 failed during the configure step. The exception was: exit: ExitFailure 1
I have MinGW and MSYS, so I don't understand why I'm having this problem. Do I need to set something special up so that Cabal can access their tools?
-Eitan
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Eitan Goldshtrom
-
Job Vranish
-
Stephen Tetley