Op di, 04-07-2006 te 09:09 -0700, schreef Anatoly Yakovenko:
I can't get c2hs to build on windows with ghc-6.4.2
$ runhaskell.exe Setup.hs configure
Setup.hs:11:57: Couldn't match `LocalBuildInfo' against `Distribution.PackageDescription.PackageDescription' Expected type: Args -> InstallFlags -> Distribution.PackageDescription.PackageDescription -> LocalBuildInfo -> IO ExitCode Inferred type: Args -> InstallFlags -> LocalBuildInfo -> IO ExitCode In the `postInst' field of a record In the record update: defaultUserHooks {postInst = addWrapperAndLib}
Any ideas? Update the Setup.hs file with one from the darcs repository of c2hs. Then it should build
Greetings Arjan