[nhc-bugs] Trouble getting nhc98 to work
Malcolm Wallace
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:
> C:/cygwin/usr/local/lib/nhc98/ix86-CYGWIN_NT-5.1/hmake-PRAGMA:
> 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[1]: 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").
Regards,
Malcolm
More information about the Nhc-bugs
mailing list