
Hello. When trying to compile nhc98-1.12 in Red Hat Linux Skipjack (beta) (also in 7.2), I receive the messages: $ ./configure --prefix=/usr --mandir=/usr/share/man/man1 --docdir=docs_/docs +docs --buildwith=ghc --buildopts=-O [...] $ make 'OPT=-O2 -march=i386 -mcpu=i686' all [...] /rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/script/hmake -hc=/rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/script/nhc98 -K10M +CTS -H20M -CTS HatObserve \ /home/romildo/rpmbuild/BUILD/nhc98-1.12/targets/ix86-Linux/obj/hattools/hatlib.a -d/home/romildo/rpmbuild/BUILD/nhc98-1.12/targets/ix86-Linux/obj/hattools Fail: hmake: the compiler '/rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/script/nhc98' is not known. Stop - hmake dependency error. make[1]: *** [/rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/lib/ix86-Linux/hat-observe] Error 1 make[1]: Leaving directory `/rh/home/romildo/rpmbuild/BUILD/nhc98-1.12/src/hat/tools' make: *** [lib/ix86-Linux/hat-stack] Error 2 Any clues? Romildo PS: In my current system, /home/romildo/rpmbuild is a symbolic link to /rh/home/romildo/rpmbuild -- Prof. José Romildo Malaquias Departamento de Computação http://iceb.ufop.br/~romildo Universidade Federal de Ouro Preto romildo@iceb.ufop.br Brasil romildo@uber.com.br

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
participants (2)
-
José Romildo Malaquias
-
Olaf Chitil