
Hello. When compiling nhc98-1.10 on my Red Hat Linux 7.2 box with ghc-5.02 (after applying the patch that enables the detection of ghc) compilation stops with an error message: $ ./configure --prefix=/usr --mandir=/usr/share/man/man1 --docdir=docs_/docs +docs --buildwith=ghc --buildopts=-O [...] $ make 'OPT=-O2 -march=i386 -mcpu=i686' all [...] /home/romildo/rpms/BUILD/nhc98-1.10/script/hmake -nhc98 -K10M +CTS -H20M -CTS Hatobserve /home/romildo/rpms/BUILD/nhc98-1.10/targets/ix86-Linux/obj/hat/hatlib.a -d/home/romildo/rpms/BUILD/nhc98-1.10/targets/ix86-Linux/obj/hat hmake: Sorry, I do not know about your installation of nhc98 make[1]: *** [/home/romildo/rpms/BUILD/nhc98-1.10/lib/ix86-Linux/hat-observe] Error 1 make[1]: Leaving directory `/home/romildo/rpms/BUILD/nhc98-1.10/src/tracer/hat' make: *** [lib/ix86-Linux/hat-stack] Error 2 Any clues? Romildo -- Prof. José Romildo Malaquias Departamento de Computação Universidade Federal de Ouro Preto Brasil http://iceb.ufop.br/~romildo romildo@iceb.ufop.br romildo@uber.com.br

When compiling nhc98-1.10 on my Red Hat Linux 7.2 box with ghc-5.02 (after applying the patch that enables the detection of ghc) compilation stops with an error message:
.... hmake -nhc98 Hatobserve .... hmake: Sorry, I do not know about your installation of nhc98
Ah, that is unfortunate. Some of the hat tools (hat-observe and hat-detect) must be compiled with nhc98, but the hmake in your build tree does not yet know about the fresh nhc98, because hmake was configured _before_ you built nhc98! A workaround is: make install # install the fresh nhc98 script/confhc # detect compilers again, including the fresh nhc98 ./configure # propagate the new hmake configuration make all # finish off the build (just the hat tools) make install # and do the final install For the future, I shall try to think of a clean way to enable hmake to have automatic knowledge of the fresh nhc98 in the build tree. Regards, Malcolm
participants (2)
-
José Romildo Malaquias
-
Malcolm Wallace