Problems with configure

"Luis F. Araujo" <[email protected]> Wed, 26 Jan 2005 17:46:37 -0400
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
Hello,

Im trying to install hat in GNU/Linux, and i got this error
when running ./configure:

Configuring for hat... [ 2.01 ]
--------
Looking for already-installed Haskell compilers:
  Looking for ghc...   found 6.2.2
  WARNING: hat-2.02 needs a version of ghc >= 5.04.
  Looking for nhc98... (not found)
  Looking for hmake... head: `-1' option is obsolete; use `-n 1' since 
this will be removed in the future
found 3.08
ERROR: hat needs at least one of ghc or nhc98.


The confusing part for me is that i already have ghc located in:
/usr/bin/ghc, and apparently the binary is found according to the
first message, nevertheless, it exist with that error.

Any help appreciated,
Regards,