Hi Dave,
You're getting very weird behaviour so I can only suggest grasping at
the following straws:
1) Check you're using compatible hugs and runhugs binaries:
which hugs runhugs
# check they're in the same directory
ls -l `which runhugs hugs`
# check they have similar creation date/times
2) Delete old copies and try again
rm -f `which hugs runhugs`
rm -f `which hugs runhugs` # replicated to flush out all copies on your path
rm -f `which hugs runhugs`
which hugs runhugs
cd .../hugs/src/unix
./configure --prefix=...
cd ..
make install
Alastair
ps Just noticed you're using the 981112 beta. Hmmm, I didn't generate
that release and didn't use it much so it's possible hugs/runhugs
don't match. Anyone else on this list know what's up?
> I have built hugs 981112 Beta on a Linux Redhat 5.0 system. Everything
> is working great with Hugs; however, when I attempt to use runhugs, I
> get the following error:
>
> [dlb@hudson haskell]$ runhugs Main.lhs
> runhugs: Error occurred
> Reading file "/usr/local/lib/hugs/lib/Prelude.hs":
> Reading file "/usr/local/lib/hugs/lib/hugs/Dynamic.hs":
> Reading file "IOExts":
> ERROR "IOExts": Unable to open file "IOExts"
>
> Somhow, "runhugs" doesn't know where to look for IOExts while regular
> hugs does. Is there something in the build procedure that I am
> missing?