caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Roger Levy <rlevy@inf.ed.ac.uk>
To: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Building PCRE-OCaml on Win32
Date: Thu, 27 Oct 2005 22:30:52 +0100	[thread overview]
Message-ID: <4361470C.5030903@inf.ed.ac.uk> (raw)
In-Reply-To: <436135B7.3070607@jollys.org>

Peter Jolly wrote:
> Roger Levy wrote:
> 
>>Installing library with ocamlfind
>>ocamlfind install  pcre META pcre.mli pcre.cmi pcre.cma pcre.cmxa pcre.a 
>>libpcre_stubs.a dllpcre_stubs.so
>>ocamlfind: dllpcre_stubs.so: No such file or directory
> 
> 
> This is your problem.  It is attempting to install a .so file, which
> _cannot_ exist, since (a) Cygwin uses .dll for shared libraries rather
> than .so, and (b) the Cygwin port of OCaml does not support shared
> libraries in any case.
> 
> Rebuild PCRE for static linking only, and it should install happily.

Thank you!  This worked.  (FWIW: I did this by uncommenting the line

export STATIC = yes

in the top-level Makefile.conf)

I don't understand how to refer to the pcre module with ocamlc or the
toplevel, but I suspect this is more of a newbie question so I'm moving
it into the caml-beginnners list.

Many thanks.

Roger


  reply	other threads:[~2005-10-27 21:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27 19:54 Roger Levy
2005-10-27 19:58 ` [Caml-list] " Gerd Stolpmann
2005-10-27 20:06   ` Roger Levy
2005-10-27 20:16 ` Peter Jolly
2005-10-27 21:30   ` Roger Levy [this message]
2005-11-08  2:44   ` Igor Pechtchanski
  -- strict thread matches above, loose matches on Subject: below --
2004-05-13 22:32 HENRIKSON, JEFFREY
2004-05-11 19:43 brian donovan
2004-05-12 17:25 ` Markus Mottl
2004-05-15 12:31 ` Eugene Kotlyarov

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=4361470C.5030903@inf.ed.ac.uk \
    --to=rlevy@inf.ed.ac.uk \
    --cc=caml-list@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).