[Haskell] building c2hs on winows

Anatoly Yakovenko aeyakovenko at gmail.com
Tue Jul 4 12:09:32 EDT 2006


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?

Thanks,
Anatoly


More information about the Haskell mailing list