caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Roger Levy <rlevy@inf.ed.ac.uk>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Building PCRE-OCaml on Win32
Date: Thu, 27 Oct 2005 21:58:03 +0200	[thread overview]
Message-ID: <1130443083.15589.76.camel@localhost.localdomain> (raw)
In-Reply-To: <4361306F.9060208@inf.ed.ac.uk>

Also look into /usr/lib/ocaml/site-lib/stublibs and delete the
PCRE-related DLL files.

Gerd

Am Donnerstag, den 27.10.2005, 20:54 +0100 schrieb Roger Levy:
> I'm having difficulty installing PCRE-OCaml in my Cygwin OCaml 
> installation.  I have the packages OCaml 3.08.1-1, libpcre 6.3-1, and 
> pcre 6.3-1 all from a default recent Cygwin installation, so it seems to 
> me that I should be able to install PCRE-OCaml (I'm getting the most 
> recent version, 5.10.1) straight away.  Here is what I get, though:
> 
> =====
> 
> /tmp/pcre-ocaml-5.10.1 $ make
> [everything succeeds, though there is one warning:
> pcre_stubs.c:1: warning: -fPIC ignored for target (all code is position 
> independent)
> ]
> 
> /tmp/pcre-ocaml-5.10.1 $ make install
> make[1]: Entering directory `/tmp/pcre-ocaml-5.10.1/lib'
> 
> 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: Package pcre is already installed; please remove it first - 
> (directory /usr/lib/ocaml/site-lib/pcre already exists)
> make[1]: *** [libinstall] Error 2
> make[1]: Leaving directory `/tmp/pcre-ocaml-5.10.1/lib'
> make: *** [install] Error 2
> 
> =====
> 
> If I try to uninstall, however, I get the following problem:
> 
> =====
> 
> /tmp/pcre-ocaml-5.10.1 $ make uninstall
> make[1]: Entering directory `/tmp/pcre-ocaml-5.10.1/lib'
> 
> Uninstalling library with ocamlfind
> ocamlfind remove  pcre
> ocamlfind: Package `pcre' not found
> make[1]: *** [libuninstall] Error 2
> make[1]: Leaving directory `/tmp/pcre-ocaml-5.10.1/lib'
> make: *** [uninstall] Error 2
> 
> =====
> 
> Now, the directory /usr/lib/ocaml/site-lib/pcre is actually empty; if I 
> delete it and try to install, the following happens:
> 
> =====
> 
> $ make install
> make[1]: Entering directory `/tmp/pcre-ocaml-5.10.1/lib'
> 
> 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
> make[1]: *** [libinstall] Error 2
> make[1]: Leaving directory `/tmp/pcre-ocaml-5.10.1/lib'
> make: *** [install] Error 2
> 
> =====
> 
> Any suggestions? I really hate using the str library for regular 
> expressions, since it has global state.
> 
> I notice that Brian Donovan asked the same thing (though he was trying 
> to install it using the MSVC and Win32 makefiles, both of which failed) 
> about 18 months ago, and didn't seem to get a satisfactory reply!
> 
> http://caml.inria.fr/pub/ml-archives/caml-list/2004/05/55a1a6ea9c641248fdc4da86e52f58b9.en.html
> 
> Many thanks in advance for any help!
> 
> Best,
> 
> Roger
> 
> _______________________________________________
> 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
> 
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Telefon: 06151/153855                  Telefax: 06151/997714
------------------------------------------------------------


  reply	other threads:[~2005-10-27 19:58 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 ` Gerd Stolpmann [this message]
2005-10-27 20:06   ` [Caml-list] " Roger Levy
2005-10-27 20:16 ` Peter Jolly
2005-10-27 21:30   ` Roger Levy
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=1130443083.15589.76.camel@localhost.localdomain \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=rlevy@inf.ed.ac.uk \
    /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).