Difficulties compiling hmake / HaXml

Simon Marlow simonmar@microsoft.com
Wed, 28 Mar 2001 10:40:16 +0100


> I want to use HaXml, and since hmake is required first, I'm=20
> currently trying to build hmake with GHC. Unfortunately=20
> "make" fails; I get the above errors message.
>
> What am I doing wrong here?
>=20
> I use GHC4.08.2 (InstallShield version) under WinNT4/Cygwin1.1.8.

If you have GHC 4.08.2, then you already have HaXML :-)  It's in
-package text.  You should also have the HaXML utilities: DrIFT,
DtdToHaskell, XTract.
=20
> make[1]: Entering directory `/test-hmake/hmake-2.02/src/interpreter'
> mkdir -p=20
> /test-hmake/hmake-2.02/targets/ix86-CYGWIN_NT-4.0/obj/interpreter
> /test-hmake/hmake-2.02/script/hmake -ghc HInteractive=20
> -d/test-hmake/hmake-2.02/t
> argets/ix86-CYGWIN_NT-4.0/obj/interpreter
>=20
> Fail: Can't find module Posix in
>         .
>   Or in standard libraries at
>         /ghc/ghc-4.08.2/lib/imports/std
>         /ghc/ghc-4.08.2/lib/imports/data
>         /ghc/ghc-4.08.2/lib/imports/lang
>         /ghc/ghc-4.08.2/lib/imports/posix
>         /ghc/ghc-4.08.2/lib/imports/net
>         /ghc/ghc-4.08.2/lib/imports/num
>         /ghc/ghc-4.08.2/lib/imports/text
>         /ghc/ghc-4.08.2/lib/imports/util
>         /ghc/ghc-4.08.2/lib/imports/win32
>         /ghc/ghc-4.08.2/lib/imports/concurrent
>   Asked for by: HmakeConfig.hs
> [Check settings of -I or -P flags?]

Hmake needs Posix, which isn't supported on Windows, sorry.

Cheers,
	Simon