[nhc-bugs] confhc does not recognize ghc 5.*

José Romildo Malaquias romildo@uber.com.br
Tue, 23 Oct 2001 09:50:54 -0200

On Tue, Oct 23, 2001 at 10:53:29AM +0100, Malcolm Wallace wrote:
> Mieszko Lis <elf@sandburst.com> writes:
> > i ran into a compiler-detection bug in building nhc98 (the 1.10 tarball, 
> > but the same bug seems to be in cvs and earlier versions): the build 
> > process fails to detect the default ghc 5.02 installation on my debian 
> > linux machine as well as the ghc 5.00.2 installation on a redhat 7.1 box 
> > nearby.
> > 
> > the problem turns out to be that script/confhc looks through the ghc 
> > executable for the wrong stuff (at least in the installations i 
> > mentioned above).  i attached a patch  (against the cvs tree) to fix 
> > this at least on these debian and redhat installations.

I confirm the bug with my fresh new Red Hat Linux 7.2 system with
ghc-5.02 . The supplied patch also corrects it.


Prof. José Romildo Malaquias
Departamento de Computação
Universidade Federal de Ouro Preto
romildo@iceb.ufop.br romildo@uber.com.br