On 11/1/06, Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> wrote:
"Alexey Rodriguez" <mrchebas@gmail.com> wrote:
> I have been trying to build hmake 3.12 using ghc-6.6 on a Fedora Core
> Linux running on a dual 64-bit Opteron machine. However, I had the
> following error related to the readline library:
> ...
> I googled for this error and I saw the following thread in which
> Malcolm suggested having a fix.
>
http://www.nabble.com/hmake-and-GHC-6.6-t2531880.html
> I tried to locate hmake's repository but to no avail. There is no link
> to it from www.haskell.org/hmake and the hmake in the nhc repository
> is the same as the hmake I downloaded.
hmake does indeed live in the nhc98 darcs repository at
http://darcs.haskell.org/nhc98
From there, you can do a 'make hmakeDist' which will package up a
tarball of just the parts needed to build hmake. I will also make a
proper bugfix release soon.
Finally I got it to build with a two line change.
> P.S. A related question, has any of you tried to build ghc using hat?
> I am trying to do this to study ghc's internals
I'm pretty sure you will not get ghc to build with Hat. The source code
of ghc uses many glasgow extensions, not all of which are (yet) handled
by Hat's parser. The unsupported ones include at least unboxed types,
and pattern guards. (MPTC, fundeps, existentials etc are OK however).
Oh, that's such a pity. I'll have to read the sources in the usual style.
Thanks!
Alexey