[nhc-bugs] Trouble getting nhc98 to work
Malcolm.Wallace at cs.york.ac.uk
Fri Jul 21 10:01:09 EDT 2006
Karl Crary <crary at cs.cmu.edu> wrote:
> I was experimenting with nhc98 because I was led to believe that using
> it, I might be able to use the Haskell FFI to link with libraries
> built using Cygwin.
Should be possible, yes.
> First I tried the binary distribution. The configure and install
> process seemed to go smoothly, but in my first attempt to use the
> compiler I get:
> /usr/local/bin/nhc98: line 131:
> No such file or directory
The executable hmake-PRAGMA.exe is certainly included in the tar bundle.
As far as I can see, it should therefore have been installed in the
quoted directory, given the standard installation prefix. Is it there?
If so, then maybe the driver script for nhc98 just needs to know about
the .exe suffix (but that would seem unlikely in Cygwin).
> I then tried to build from source, but with no better luck. Configure
> seems to go smoothly, but the build breaks down quickly:
> make: Entering directory `/c/nhc98-1.18/src/runtime'
> Makefile:27: *** target pattern contains no `%'. Stop.
Did you use a Windows-style pathname at configure-time?
(e.g. --prefix="C:\blah") Replacing that with a Cygwin unix-style
pathname might fix it (e.g. --prefix="/c/blah").
More information about the Nhc-bugs