[nhc-users] hmake and GHC 6.6

Ian Lynagh igloo at earth.li
Sat Oct 28 18:28:03 EDT 2006


Hi guys,

Has compiling hmake 3.12 been tested with GHC 6.6? The webpage lists
"Fix to enable hmake to build with ghc-6.6." under 3.12, but if I grab
the tarball and run:

    ./configure
    make

as INSTALL instructs then I get:

------------------
[...]
cd src/interpreter;    make HC=ghc BUILDCOMP=ghc all
make[1]: Entering directory `/tmp/ian/hmake/hmake-3.12/src/interpreter'
mkdir -p /tmp/ian/hmake/hmake-3.12/targets/x86_64-Linux/obj/interpreter
/tmp/ian/hmake/hmake-3.12/script/hmake -hc=ghc HInteractive -d/tmp/ian/hmake/hmake-3.12/targets/x86_64-Linux/obj/interpreter \
         -i../hmake  -package util -package base -DUSE_READLINE=1 -lreadline

Warning: package(s) util not available (according to ghc-pkg)
MkProg: Can't find module Readline in user directories
        .
        ../hmake
  Or in installed libraries/packages at
        /usr/lib/ghc-6.6/imports
        /usr/lib/ghc-6.6/imports
  Asked for by: SimpleLineEditor.hs
  Fix using the -I, -P, or -package flags.

Stop - hmake dependency error.
------------------

It looks like util should be filtered out in the -ge 605 case of
script/fixghc and some dance or other needs to be done to fix the
readline problems, but mostly I am worred I am missing something as the
webpage implies it should work. I can't see any cabal files (except foe
one for cpphs) or anything, though.


Thanks
Ian



More information about the Nhc-users mailing list