[nhc-users] Hat + GHC + -package util
Jyrinx
jyrinx_list@mindspring.com
17 Mar 2002 01:53:53 -0800
My program uses the GetOpt module from the util package in ghc (thus I
can't do this with nhc98). It builds just dandy (with ghc) with "hmake
Dicedist -package util", but if I try to compile for Hat:
--- snip ---
[jyrinx@kryptonitespoon dicedist]$ hmake -T -hat -package util -package
hat Dicedist # or any of several variations I've tried
Fail: Can't find module GetOpt in
.
Or in standard libraries at
/usr/lib/ghc-5.02.2/imports/std
/usr/lib/ghc-5.02.2/imports/lang
/usr/lib/ghc-5.02.2/imports/concurrent
/usr/lib/ghc-5.02.2/imports/data
/usr/lib/ghc-5.02.2/imports/net
/usr/lib/ghc-5.02.2/imports/posix
/usr/lib/ghc-5.02.2/imports/text
/usr/lib/ghc-5.02.2/imports/util
/usr/lib/ghc-5.02.2/imports/hssource
/usr/lib/ghc-5.02.2/imports/greencard
/usr/lib/ghc-5.02.2/imports/xlib
/usr/lib/ghc-5.02.2/imports/HGL
/usr/lib/ghc-5.02.2/imports/hat
Asked for by: Dicedist.hs
[Check settings of -I or -P flags?]
Stop - hmake dependency error.
--- snip ---
This is a fresh build of nhc98; I haven't reconfigured anything except
that the default compiler is ghc.
What should I try next? Thanks for any suggestions!
Jyrinx
jyrinx_list@mindspring.com