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] 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 <rolandhoepfner@arcor.de>
> 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 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