[nhc-bugs] Error compiling nhc98-3.06: ghc is not known

Jose Romildo Malaquias romildo@uber.com.br
Mon, 12 Aug 2002 14:33:20 -0300


Hello.

Just compiling hmake-3.06 in my Red Hat Linux 7.3 box with
GHC 5.04, and found the following:

================================
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 5.04
$ ./configure --prefix=/usr --mandir=/usr/share/man/man1 --buildwith=ghc --buildopts=-O
[...]
$ make 'OPT=-O2 -march=i386 -mcpu=i686'
[...]
cd src/interpreter;    make HC=ghc install
make[1]: Entering directory `/home/romildo/rpmbuild/BUILD/hmake-3.06/src/interpreter'
mkdir -p /home/romildo/rpmbuild/BUILD/hmake-3.06/targets/ix86-Linux/obj/interpreter
/home/romildo/rpmbuild/BUILD/hmake-3.06/script/hmake -ghc HInteractive -d/home/romildo/rpmbuild/BUILD/hmake-3.06/targets/ix86-Linux/obj/interpreter  -O \
	-i../hmake  -package lang -package util -DUSE_READLINE=1 -lreadline -lncurses

Fail: hmake: the compiler 'ghc' is not known.

Stop - hmake dependency error.
make[1]: *** [/home/romildo/rpmbuild/BUILD/hmake-3.06/lib/ix86-Linux/HInteractive] Error 1
make[1]: Leaving directory `/home/romildo/rpmbuild/BUILD/hmake-3.06/src/interpreter'
make: *** [targets/ix86-Linux/hi-ghc] Error 2
error: Bad exit status from /home/romildo/rpmbuild/tmp/rpm-tmp.30745 (%build)

Any clue?
================================

Romildo
-- 
Prof. José Romildo Malaquias
Departamento de Computação - Universidade Federal de Ouro Preto
http://www.decom.ufop.br/prof/romildo/	romildo@iceb.ufop.br
http://uber.com.br/romildo/		romildo@uber.com.br