Running Ocamlbrowser with OCaml 3.11.2 on Cygwin 1.72

After building OCaml 3.11.2 from source on Cygwin 1.72 I tried running ocamlbrowser and got the error:

Fatal error: exception Protocol.TkError("Can't find a usable init.tcl in the following directories:
C:/cygwin/share/tcl8.4 
C:/cygwin/home/rettkeg/ocaml/build/ocaml-3.11.2/share/tcl8.4 
C:/cygwin/home/rettkeg/ocaml/build/ocaml-3.11.2/usr/share/tcl8.4 
C:/cygwin/home/rettkeg/o

The solution is can be found here:

export TCL_LIBRARY=/usr/share/tcl8.4

Leave a Reply

Your email address will not be published. Required fields are marked *