<!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> </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> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Best Regards.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>U.D.Kini<BR>(Bangalore, India)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I try building nhc98 using nhc98-1.16.tar.gz on
i686-pc-cygwin:</FONT></DIV>
<DIV> </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> </DIV>
<DIV><FONT face=Arial size=2> cd /usr/src</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> tar -xzf
nhc98-1.16.tar.gz</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> mv nhc98-1.16 nhc98 </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> cd nhc98</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> ./configure
--prefix=/usr/local/nhc</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> make</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Error1<BR>--------><BR>cd
src/prelude/ix86-CYGWIN_98-4.10/NHC; make clean all # 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 DErrNo.hc <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 -redefine -CTS +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>--------></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Try to see whether error is serious?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> make -i</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Error1 is repeated<BR>--------></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Error2.<BR>--------><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 DErrNo.p.c <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 -redefine -CTS +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>--------></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Error3.<BR>--------><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 DErrNo.z.c <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 -redefine -CTS +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>--------></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>A number of executables and libraries get built.
So, try</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> make -i install</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Lots of files get installed under
/usr/local/nhc.The following errors are seen:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>--------><BR> Adjusting... hmakerc<BR>I/O
error:<BR> action : openFile ReadMode<BR> on file:
/cygdrive/c/WINDOWS/TEMP\hmakeconfig.tmp<BR> gave :
ENOENT (No such file or directory)<BR>I/O error (user-defined), call to function
`userError':<BR> nhc98 not found<BR>(This error message is
harmless)<BR>hmake-config: compiler not known:<BR>
'E:/cygwin/usr/local/nhc/bin/nhc98'<BR>hmake-config: compiler not
known:<BR>--------></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> export
PATH=/usr/local/nhc/bin:$PATH</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> nhc98 --version</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Gives output of version
information.<BR>--------------------End of
Report---------------------------------</FONT></DIV></BODY></HTML>