haskellcurry

Curry compiler zinc cannot be configured


when I configure curry's compiler zinc, I get this:

checking for Haskell 98 compiler... 
checking for ghc... ghc
checking ghc version... 7.0
checking whether ghc supports Haskell 98... [1 of 1] Compiling Main             ( conftest.hs, conftest.o )
yes
using ghc for compilation
checking how to import IOExts... configure: error: import of IOExts does not work

so what's IOExts? where can I find it?


Solution

  • It's pushing up daisies is what it is. An old library module that existed about five years ago--you can find some information in the documentation for older GHC releases. I'm guessing that the code you're trying to compile is of a similar age.

    Assuming there isn't an updated version of zinc somewhere, your choices are roughly:

    Assuming there aren't other problems, the third is probably easiest as a quick hack. There's a fair chance you'll run into more compatibility issues than just this one, though, so grabbing a copy of GHC 6.4 might be the simplest thing overall, particularly if you're not sufficiently comfortable mucking about with the source code.