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 _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs