[nhc-bugs] Error compiling nhc98-1.12 in Linux

Olaf Chitil olaf@cs.york.ac.uk
Mon, 06 May 2002 14:03:58 +0100


Hello José,

Malcolm is on holidays until end of next week, and I am unfortunately
not familiar with the make files of nhc98.

I hope the following is helpful nonetheless. To simplify compatiblity
with windows, absolute path names are used as far as possible. This
means that symbolic links are expanded as well. Unfortunately it seems
that at a few places in the make files this expansion is not done.

> Fail: hmake: the compiler '/rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/script/nhc98' is not known.

> PS: In my current system, /home/romildo/rpmbuild is a symbolic
>     link to /rh/home/romildo/rpmbuild

The file
/home/romildo/rpmbuild/BUILD/nhc98-1.12/lib/ix86-Linux/hmakerc
should have an entry for every installed Haskell compiler. It probably
has an entry for /home/romildo/rpmbuild/BUILD/nhc98-1.12/script/nhc98
but no entry
for /rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/script/nhc98. Add such an
entry from hand to the file by copying and modifying the other entry
appropriately. I hope this will help.

Ciao,
Olaf

-- 
OLAF CHITIL, 
 Dept. of Computer Science, The University of York, York YO10 5DD, UK. 
 URL: http://www.cs.york.ac.uk/~olaf/
 Tel: +44 1904 434756; Fax: +44 1904 432767