> I downloaded the latest Hugs source onto a Redhat level 5 and compiled
> it (I used the source release). Everything seemed to go just
> famously; however, when I execute it, I get the following message:
>
> Reading file "/usr/local/lib/hugs/lib/Prelude.hs":
> ERROR "/usr/local/lib/hugs/lib/Prelude.hs": Prelude does not define standard types
>
> FATAL ERROR: Unable to load prelude
>
> I have checked, and the file is definitely installed (i.e., it exists
> in the directory that is listed). I have no idea what happened; when
> I reinstall the old version, it works just fine.
Hi Dave,
The easiest way for this to happen is for June 98 Hugs to try loading
a January 98 Prelude (or t'other way about).
Sadly, the Prelude and libaries don't contain easily identified version
information so, to check, you have to look at file modification dates
or look closely at the output of "make install -n" or check in case
make install is producing some error such as the Hugs executable being
unwritable.
If this is the problem, the fix probably involves a little more care
when running the configure script (being sure to rm config.cache
first, of course).
Alastair