Fw: [nhc-users] Problem installing nhc98 1.16 using bootstrap-from-C method

David Bakin davidbak@attbi.com
Wed, 9 Apr 2003 21:13:01 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C2FEDC.CDADE0E0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Sorry for the second message here - I should have said I just installed =
cygwin yesterday and it is v1.3.22-1.  Also, I'm running on XP Pro.  =
Thanks!  -- Dave

----- Original Message -----=20
From: David Bakin=20
To: nhc-users@haskell.org=20
Sent: Wednesday, April 09, 2003 9:10 PM
Subject: [nhc-users] Problem installing nhc98 1.16 using =
bootstrap-from-C method


I'm having trouble building nhc98 using bootstrap-from-C - the following =
shows the error I'm getting.  It is actually executing in hmake3.config =
at the following line (the hmakerc add command)

N:/nhc98-1.16/script/hmake-config =
N:/nhc98-1.16/lib/ix86-CYGWIN_NT-5.1/hmakerc   add =
N:/nhc98-1.16/script/nhc98

davidbak@girlsprout /ndrive/nhc98-1.16/src/hmake
$ make config
sh N:/nhc98-1.16/targets/ix86-CYGWIN_NT-5.1/hmake3.config
hmake-config: Starting new config file in
  N:/nhc98-1.16/lib/ix86-CYGWIN_NT-5.1/hmakerc
I/O error:
  action :  openFile ReadMode
  on file:  /cygdrive/c/TEMP\hmakeconfig.tmp
  gave   :  ENOENT (No such file or directory)
hmake-config: compiler not known:
  'N:/nhc98-1.16/script/nhc98'
make: *** [config] Error 2

As you can see it thinks hmakeconfig.tmp is not there - and in fact it =
is not.  Though it is a temporary file - I'm wondering if the problem is =
in RunAndReadStdout.hs where it does a removeFile - and has the comment =
"file will not be removed until readFile closes it".  Actually I don't =
have the slightest idea if that is the problem or not.

Anyhow, any hints on how I can get past this?

Thanks!  -- Dave
------=_NextPart_000_0009_01C2FEDC.CDADE0E0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Sorry for the second message here - I should have =
said I just=20
installed cygwin yesterday and it is v1.3.22-1.&nbsp; Also, I'm running =
on XP=20
Pro.&nbsp; Thanks!&nbsp; -- Dave</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Ddavidbak@attbi.com href=3D"mailto:davidbak@attbi.com">David =
Bakin</A> </DIV>
<DIV><B>To:</B> <A title=3Dnhc-users@haskell.org=20
href=3D"mailto:nhc-users@haskell.org">nhc-users@haskell.org</A> </DIV>
<DIV><B>Sent:</B> Wednesday, April 09, 2003 9:10 PM</DIV>
<DIV><B>Subject:</B> [nhc-users] Problem installing nhc98 1.16 using=20
bootstrap-from-C method</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT size=3D2>I'm having trouble building nhc98 using =
bootstrap-from-C - the=20
following shows the error I'm getting.&nbsp; It is actually executing in =

hmake3.config at the following line (the hmakerc add =
command)</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>N:/nhc98-1.16/script/hmake-config=20
N:/nhc98-1.16/lib/ix86-CYGWIN_NT-5.1/hmakerc &nbsp;&nbsp;add=20
N:/nhc98-1.16/script/nhc98<BR></FONT></DIV>
<DIV><FONT size=3D2><A =
href=3D"mailto:davidbak@girlsprout">davidbak@girlsprout</A>=20
/ndrive/nhc98-1.16/src/hmake<BR>$ make config<BR>sh=20
N:/nhc98-1.16/targets/ix86-CYGWIN_NT-5.1/hmake3.config<BR>hmake-config: =
Starting=20
new config file in<BR>&nbsp; =
N:/nhc98-1.16/lib/ix86-CYGWIN_NT-5.1/hmakerc<BR>I/O=20
error:<BR>&nbsp; action :&nbsp; openFile ReadMode<BR>&nbsp; on =
file:&nbsp;=20
/cygdrive/c/TEMP\hmakeconfig.tmp<BR>&nbsp; gave&nbsp;&nbsp; :&nbsp; =
ENOENT (No=20
such file or directory)<BR>hmake-config: compiler not known:<BR>&nbsp;=20
'N:/nhc98-1.16/script/nhc98'<BR>make: *** [config] Error 2</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>As you can see it thinks hmakeconfig.tmp is not =
there - and in=20
fact it is not.&nbsp; Though it is a temporary file - I'm wondering if =
the=20
problem is in RunAndReadStdout.hs where it does a removeFile - and has =
the=20
comment "file will not be removed until readFile closes it".&nbsp; =
Actually I=20
don't have the slightest idea if that is the problem or =
not.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Anyhow, any hints on how I can get past =
this?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Thanks!&nbsp; -- Dave</FONT></DIV></BODY></HTML>

------=_NextPart_000_0009_01C2FEDC.CDADE0E0--