[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2010-11-03 (16:41) |
From: | Stéphane_Glondu <steph@g...> |
Subject: | Re: [Caml-list] Crach de l'installation de pxp |
Le 03/11/2010 16:09, Sebastien Ferre a écrit : > Nous essayons d'installer le package ocaml pxp après avoir installé avec > succès pcre requis. > L'installation de pxp crach avec des problèmes avec pcre ... > [...] > ocamlfind ocamlc -g -package "netstring" -o lexpp -linkpkg uni_types.cmo > uni_lexer.cmo uni_parser.cmo lexpp_file.cmo mll_lexer.cmo > ucs2_to_utf8.cmo main.cmo > /usr/lib/ocaml/site-lib/pcre/libpcre_stubs.a(pcre_stubs.o): In function > `pcre_dealloc_tables': > pcre_stubs.c:(.text+0x1c): undefined reference to `pcre_free' > [...] It looks like you are missing pcre in your link flags. They should be embedded in pcre.{cma,cmxa} (try objinfo on pcre.cma). Could you try the same "ocamlfind ..." commandline with -verbose and see what command(s) are actually called? Does adding "-custom" change anything w.r.t. success or failure? Cheers, -- Stéphane