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 -----
From: David Bakin
To: nhc-users@haskell.org
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