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
Trouble with findlib and threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-22 (11:00)
From: Thomas Petazzoni <thomas.petazzoni@e...>
Subject: Re: [Caml-list] Trouble with findlib and threads

Thanks for your answer.

Gerd Stolpmann wrote:

> This is a configuration issue. I need the output of the configure script
> of findlib to help you. Obviously, findlib did not detect that
> multi-threading is supported.

Here is the output of the configure:

+ ./configure -mandir /usr/share/man -config /usr/lib/ocaml/etc/findlib.conf
Welcome to findlib version 1.1
Configuring core...
Testing threading model...
Configuring libraries...
labltk: found
camlp4: found
Configuration for dbm written to site-lib-src/dbm/META
Configuration for dynlink written to site-lib-src/dynlink/META
Configuration for graphics written to site-lib-src/graphics/META
Configuration for num written to site-lib-src/num/META
Configuration for num-top written to site-lib-src/num-top/META
Configuration for str written to site-lib-src/str/META
Configuration for threads written to site-lib-src/threads/META
Configuration for unix written to site-lib-src/unix/META
Configuration for stdlib written to site-lib-src/stdlib/META
Configuration for bigarray written to site-lib-src/bigarray/META
Configuration for labltk written to site-lib-src/labltk/META
Configuration for camlp4 written to site-lib-src/camlp4/META
Detecting compiler arguments: (extractor built) ok

About the OCAML core installation:
    Standard library:      /usr/lib/ocaml
    Binaries:              /usr/bin
    Manual pages:          /usr/local/man
    Multi-threading type:  vm
The directory of site-specific packages will be
    site-lib:              /usr/lib/ocaml/site-lib
The configuration file is written to:
    findlib config file:   /usr/lib/ocaml/etc/findlib.conf
Software will be installed:
    Libraries:             in <site-lib>/findlib
    Binaries:              /usr/bin
    Manual pages:          /usr/share/man
    topfind script:        /usr/lib/ocaml
Toolbox:                   no

Configuration has been written to Makefile.config

You can now do 'make all', and optionally 'make opt', to build ocamlfind.


Thomas Petazzoni