> Also in trying to import Fran I got this error message:
>
> [snip]
> Reading file "c:\hugs98\lib\win32\stddis.hs":
> Reading file "c:\hugs98\lib\exts\word.hs":
> Reading file "c:\hugs98\lib\exts\foreign.hs":
> Reading file "c:\hugs98\lib\win32\stddis.hs":
> Parsing
> ERROR "c:\hugs98\lib\win32\stddis.hs": Unable to load GreenCard primitives
>
> That seems pretty weird to me seeing as how `stddis.hs' was read in fine 3
> files earlier, and now when it tries to read it it fails.
Not quite. Hugs works like this:
1) It reads StdDIS and finds that it imports Word and Foreign.
These haven't been loaded yet so it abandons compilation of StdDIS
and:
2) It reads and compiles Word.
3) It reads and compiles Foreign.
4) It now goes back to StdDIS and rereads it.
During parsing, Hugs finds that StdDIS is supposed to be accompanied
by a .dll file (StdDIS.dll) which contains some "GreenCard primitives"
(ie functions written in C and accessed through the so-called
GreenCard interface). From the error message, I'd guess that this
file is either missing or broken.
The .dll file should be in the same directory as the .hs file so
you should check for the existence of:
c:\hugs98\lib\win32\stddis.dll
and, if you're familiar with the appropriate windows tools, you might
even check that it really is a valid .dll file.
I suppose it's also possible that the StdDIS.dll was built for a different
version of windows and just doesn't work on your particular machine.
This isn't too likely but it's worth saying which machine (eg Win95,
NT 5, etc) you're running on.
> Anyways sorry again if this is the wrong place to be posting, and please
> reply to me since I am not on this list.
I'd have opted for hugs-bugs myself - and have copied my reply to there
instead of hugs-users.
--
Alastair Reid [EMAIL PROTECTED] http://www2.cs.utah.edu/~reid/