[Haskell] building c2hs on winows
Arjan Oosting
arjanoosting at home.nl
Tue Jul 4 20:24:07 EDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dit berichtdeel is digitaal ondertekend
Url : http://www.haskell.org//pipermail/haskell/attachments/20060705/798662e1/attachment.bin
More information about the Haskell
mailing list