Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compile ocaml and tk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Compile ocaml and tk
From: Vincent Barichard <barichar@info.univ-angers.fr>

> I'm trying to compil the camltk418 library under a linux environment.
> TCL/TK is installed under the repertory /usr/local/lib. When I do the
> configure make ..., everything go well. But when I launch any binary from
> the example directory, I have the following message :
> 
> Uncaught exception: Protocol.TkError("Can't find a usable init.tcl in the
> following directories: \n    /usr/lib/tcl8.3  [...]
> 
> How can I make the compiler looking at the right place i.e in
> /usr/local/lib ?

You can set the environment variables TCL_LIBRARY and TK_LIBRARY to
their proper values.

      Jacques Garrigue
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners