FranTK installation

Stephan Haugh coelacanth@blueyonder.co.uk
Mon, 30 Sep 2002 12:23:26 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C2687C.2D82DEA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

New to Haskell AND FranTK I am trying to install both. So far I have:

1. installed Hugs98 (seems to work)
2. installed TCL/TK (demos work fine)
3. installed FranTK

that is were I am stuck. Since I am running Windows, I have modified
tclhugs98.bat to point to the right directories.

When I start

tclhugs98 ..\demos\demos.lhs

Hugs is really starting to load the files, but when it reaches
frantk/src/TclHaskellSrc/Utils.hs it halts with the following message:


ERROR "F:\Haskell\frantk\src\TclHaskellSrc\Utils.hs":61 - Definition of
variable "updateIORef" clashes with import

Variable updateIORef is indeed mentioned in the file BaseTypes.hs, and =
IORef.hs, which are
loaded earlier on.=20

I tried commenting updateIORef out of IORef.hs. That helps to load =
another dozen files or so.

But then it hangs again, this time with the message:

ERROR "F:\Haskell\frantk\src\FranSrc\MutSet.hs":40 - Cannot use type =
synonym in instance head

Now I am really stuck.


Has anybody managed to run the FranTK demo? Why is trying to start Hugs =
in Hugs-mode rather then Haskell98?

I am grateful for any help .

Cheers,
Stephan



------=_NextPart_000_001A_01C2687C.2D82DEA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>New to Haskell AND FranTK I am trying =
to install=20
both. So far I have:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1. installed Hugs98 (seems to =
work)<BR>2. installed=20
TCL/TK (demos work fine)<BR>3. installed FranTK</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>that is were I am stuck. Since I am =
running=20
Windows, I have modified<BR>tclhugs98.bat to point to the right=20
directories.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I start</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>tclhugs98 =
..\demos\demos.lhs</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hugs is really starting to load the =
files, but when=20
it reaches<BR>frantk/src/TclHaskellSrc/Utils.hs it halts with the =
following=20
message:</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=3DArial size=3D2>
<DIV><BR>ERROR "F:\Haskell\frantk\src\TclHaskellSrc\Utils.hs":61 - =
Definition=20
of<BR>variable "updateIORef" clashes with import</DIV>
<DIV>&nbsp;</DIV>
<DIV>Variable updateIORef is indeed mentioned in the file BaseTypes.hs, =
and=20
IORef.hs, which are<BR>loaded earlier on. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried commenting updateIORef out of IORef.hs. That helps to load =
another=20
dozen files or so.</DIV>
<DIV>&nbsp;</DIV>
<DIV>But then it hangs again, this time with the message:</DIV>
<DIV>&nbsp;</DIV>
<DIV>ERROR "F:\Haskell\frantk\src\FranSrc\MutSet.hs":40 - Cannot use =
type=20
synonym in instance head</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now I am really stuck.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Has anybody managed to run the FranTK demo? Why is trying to start =
Hugs in=20
Hugs-mode rather then Haskell98?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am grateful for any help .</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers,<BR>Stephan</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_001A_01C2687C.2D82DEA0--