GHC CVS compiling problem

Simon Marlow simonmar at microsoft.com
Fri Aug 15 04:47:22 EDT 2003


 
> i'm experiencing a problem when trying to compile the CVS tree of ghc.
> i've COed from the cvs the modules "fpconfig", "ghc" and "libraries".
> after having created a "fptools-working" directory with the 
> "lndir" tool
> and set up mk/build.mk (taken from mk/build.mk.sample) 
> , i run "make -f Makefile.config" without problems,
> i've run "autoconf && (cd ghc; autoconf)" successfully, 
> but "./configure --prefix=$TOP/build" fail.
> 
> the useful part of the output is:
> -------
> checking for alex... no
> checking for version of alex... grep: ./alex/mk/version.mk: 
> No such file
> or directory
> configure: error: Alex version 2.0 or later is required to 
> compile GHC.
> -------

I made a change to the build system a couple of days ago that causes the
above complaint if you don't have Alex installed.  The change was a bit
premature, Alex isn't actually required, so I've now removed the failure
case.  Try again.

Cheers,
	Simon

PS. Alex is here: http://www.haskell.org/alex/



More information about the Glasgow-haskell-bugs mailing list