<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I shall be happy to receive suggestions about 
building nhc98.<BR>I seem to have run into a few errors. I enclose the report 
below.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Best Regards.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>U.D.Kini<BR>(Bangalore, India)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I try building nhc98 using nhc98-1.16.tar.gz on 
i686-pc-cygwin:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Cygwin ( 1.3.22 )<BR>gcc (3.2-3)<BR>Windows 98 2nd 
Edition<BR>Pentium 3 Processor</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; cd /usr/src</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; tar -xzf 
nhc98-1.16.tar.gz</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; mv nhc98-1.16 nhc98 </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; cd nhc98</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; ./configure 
--prefix=/usr/local/nhc</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; make</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Error1<BR>--------&gt;<BR>cd 
src/prelude/ix86-CYGWIN_98-4.10/NHC; make clean all&nbsp;# Patch 
machine-specific parts.<BR>make[1]: Entering directory 
`/usr/src/nhc98/src/prelude/ix86-CYGWIN_98-4.10/NHC'<BR>rm -f *.hi<BR>rm 
-f&nbsp;&nbsp;&nbsp; DErrNo.hc&nbsp; <BR>rm -f 
E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/obj/prelude/DErrNo/*.o 
*.o<BR>rm -f <BR>rm -f <BR>E:/cygwin/usr/src/nhc98/script/nhc98 -cpp -c +CTS 
-lib&nbsp; -redefine -CTS&nbsp;&nbsp; +RTS -H32M -RTS -o 
E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/obj/prelude/DErrNo/DErrNo.o 
DErrNo.hs<BR>Signal 11<BR>make[1]: *** 
[E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/obj/prelude/DErrNo/DErrNo.o] 
Error 1<BR>make[1]: Leaving directory 
`/usr/src/nhc98/src/prelude/ix86-CYGWIN_98-4.10/NHC'<BR>make: *** 
[targets/ix86-CYGWIN_98-4.10/compiler-gcc] Error 2<BR>--------&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Try to see whether error is serious?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; make -i</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Error1 is repeated<BR>--------&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Error2.<BR>--------&gt;<BR>cd 
src/prelude/ix86-CYGWIN_98-4.10/NHC; make CFG=p clean all<BR>make[1]: Entering 
directory `/usr/src/nhc98/src/prelude/ix86-CYGWIN_98-4.10/NHC'<BR>rm -f 
*.hi<BR>rm -f&nbsp;&nbsp;&nbsp; DErrNo.p.c&nbsp; <BR>rm -f 
E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/objp/prelude/DErrNo/*.p.o 
*.p.o<BR>rm -f <BR>rm -f <BR>E:/cygwin/usr/src/nhc98/script/nhc98 -cpp -p -c 
+CTS -lib&nbsp; -redefine -CTS&nbsp;&nbsp; +RTS -H32M -RTS -o 
E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/objp/prelude/DErrNo/DErrNo.p.o 
DErrNo.hs<BR>Signal 11<BR>make[1]: 
[E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/objp/prelude/DErrNo/DErrNo.p.o] 
Error 1 (ignored)<BR>--------&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Error3.<BR>--------&gt;<BR>cd 
src/prelude/ix86-CYGWIN_98-4.10/NHC; make CFG=z clean all<BR>make[1]: Entering 
directory `/usr/src/nhc98/src/prelude/ix86-CYGWIN_98-4.10/NHC'<BR>rm -f 
*.hi<BR>rm -f&nbsp;&nbsp;&nbsp; DErrNo.z.c&nbsp; <BR>rm -f 
E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/objz/prelude/DErrNo/*.z.o 
*.z.o<BR>rm -f <BR>rm -f <BR>E:/cygwin/usr/src/nhc98/script/nhc98 -cpp -z -c 
+CTS -lib&nbsp; -redefine -CTS&nbsp;&nbsp; +RTS -H32M -RTS -o 
E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/objz/prelude/DErrNo/DErrNo.z.o 
DErrNo.hs<BR>Signal 11<BR>make[1]: 
[E:/cygwin/usr/src/nhc98/targets/ix86-CYGWIN_98-4.10/objz/prelude/DErrNo/DErrNo.z.o] 
Error 1 (ignored)<BR>--------&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>A number of executables and libraries get built. 
So, try</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; make -i install</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Lots of files get installed under 
/usr/local/nhc.The following errors are seen:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>--------&gt;<BR>&nbsp;Adjusting... hmakerc<BR>I/O 
error:<BR>&nbsp; action :&nbsp; openFile ReadMode<BR>&nbsp; on file:&nbsp; 
/cygdrive/c/WINDOWS/TEMP\hmakeconfig.tmp<BR>&nbsp; gave&nbsp;&nbsp; :&nbsp; 
ENOENT (No such file or directory)<BR>I/O error (user-defined), call to function 
`userError':<BR>&nbsp; nhc98 not found<BR>(This error message is 
harmless)<BR>hmake-config: compiler not known:<BR>&nbsp; 
'E:/cygwin/usr/local/nhc/bin/nhc98'<BR>hmake-config: compiler not 
known:<BR>--------&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; export 
PATH=/usr/local/nhc/bin:$PATH</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp; nhc98 --version</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Gives output of version 
information.<BR>--------------------End of 
Report---------------------------------</FONT></DIV></BODY></HTML>