[nhc-bugs] Error compiling nhc98-3.06: ghc is not known
Jose Romildo Malaquias
romildo@uber.com.br
Tue, 13 Aug 2002 13:29:32 -0300
On Tue, Aug 13, 2002 at 11:23:59AM +0100, Malcolm Wallace wrote:
> Jose Romildo Malaquias <romildo@uber.com.br> writes:
>
> > Fail: hmake: the compiler 'ghc' is not known.
>
> What does the following command report?
>
> cd /home/romildo/rpmbuild/BUILD/hmake-3.06;
> script/hmake-config lib/ix86-Linux/hmakerc list
$ cd /home/romildo/rpmbuild/BUILD/hmake-3.06
$ script/hmake-config lib/ix86-Linux/hmakerc list
Config file is:
lib/ix86-Linux/hmakerc
Known compilers:
nhc98 (v1.14)
ghc-5.04 (5.04)
ghc (5.04)
/usr/bin/nhc98 (v1.14)
/usr/bin/ghc-5.04 (5.04)
/usr/bin/ghc (5.04)
Default compiler:
ghc
$ ls -l /usr/bin/ghc*
lrwxrwxrwx 1 root root 8 Jul 12 17:16 /usr/bin/ghc -> ghc-5.04*
-rwxr-xr-x 1 root root 136 Jul 12 03:18 /usr/bin/ghc-5.04*
lrwxrwxrwx 1 root root 12 Jul 12 17:16 /usr/bin/ghc-pkg -> ghc-pkg-5.04*
-rwxr-xr-x 1 root root 165 Jul 12 03:18 /usr/bin/ghc-pkg-5.04*
lrwxrwxrwx 1 root root 9 Jul 12 17:16 /usr/bin/ghci -> ghci-5.04*
-rwxr-xr-x 1 root root 151 Jul 12 03:18 /usr/bin/ghci-5.04*
-rwxr-xr-x 1 root root 6733 Jul 12 03:18 /usr/bin/ghcprof*
> If ghc is not on the list, then something probably went wrong with
> the script targets/ix86-Linux/hmake3.config - can you send the
> contents of that script as well?
ghc is on the list (4 times), as well as nhc98 (2 times).
The script is attached.
ghc has been installed from
ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-5.04-1.i386.rpm
nhc98 v1.14 and hmake-3.05 are also installed.
Regards,
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