caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Stéphane Glondu" <steph@glondu.net>
To: Sebastien Ferre <Sebastien.Ferre@irisa.fr>
Cc: OCaml List <caml-list@yquem.inria.fr>, Yves Bekkers <bekkers@irisa.fr>
Subject: Re: [Caml-list] Crach de l'installation de pxp
Date: Wed, 03 Nov 2010 17:41:40 +0100	[thread overview]
Message-ID: <4CD190C4.8050702@glondu.net> (raw)
In-Reply-To: <4CD17B44.8050306@irisa.fr>

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


      reply	other threads:[~2010-11-03 16:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03 15:09 Sebastien Ferre
2010-11-03 16:41 ` Stéphane Glondu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD190C4.8050702@glondu.net \
    --to=steph@glondu.net \
    --cc=Sebastien.Ferre@irisa.fr \
    --cc=bekkers@irisa.fr \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).