English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] summary of answers for LablTk error
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-03-08 (10:35)
From: rakesh@a...
Subject: [Caml-list] summary of answers for LablTk error
Thanks to all those who replied to my question - particularly the 
person who said - (Note: Please Pierre, come back, this list needs 
Nice welcome to the list!

	My question:
	I get the following error when trying to install OCaml on a 
sun sparc station.

 > Options for linking with X11: -cclib -lX11
 > NDBM found (in /usr/include)
 > Configuring LablTk...
 > tcl.h not found.
 > Configuration failed, LablTk will not be built.
The answers from John Gerard Malecki, Brian Rogoff, Sven LUTHER, 
Xavier Rival, Alan Schmitt

	The reason:

Maybe tcl/tk is not installed. Or maybe it is installed but without 
the development headers. In any case, you may build ocaml, you just 
won't have access to tk bindings.

1- Configure the system. From the top directory, do:
-tkdefs <cpp flags>             (default: none)
-tklibs <flags and libraries>   (default: determined automatically)

Find out where your Tcl stuff is installed and configure with the 
correct options. 


rakesh malhotra
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr