Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] configuration errors under linux
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-01-13 (11:45)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] configuration errors under linux
From: Roland Hopfner <>
> I try to compile ocaml-3.06 and I get an error when I type ./configure!
> My linux box won't find the library labltk! But where can I find that
> library?

The message may be confusing: labltk is included in the distribution,
but since some requirements could not be fulfilled it cannot be
Note that you can perfectly use ocaml without tk support, only
camltk/labltk will be unavailable, and ocamlbrowser too.

> Here is I part of my ./configure output:
> Threads library supported (using bytecode-level scheduling).
> X11 not found, the "graph" library will not be supported.
> NDBM not found, the "dbm" library will not be supported.
> Configuring LablTk...
> X11 not found.
> Configuration failed, LablTk will not be built.

Here is the real answer: X11 was not found.
I have no idea where is your X11, but it is probably not in a standard
place.  See INSTALL for options to explicitly tell configure where to
look for X11 headers/libraries.

> Configuration for the "graph" library:
>         options for compiling ....
>         options for linking ...... not found
> The "labltk" library: not found

Not found is innapropriate. This should be "will not be compiled".

Jacques Garrigue
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: