Browse thread
Building PCRE-OCaml on Win32
-
Roger Levy
- Gerd Stolpmann
-
Peter Jolly
- Igor Pechtchanski
- Roger Levy
[
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: | 2005-11-08 (02:44) |
From: | Igor Pechtchanski <pechtcha@c...> |
Subject: | Re: [Caml-list] Building PCRE-OCaml on Win32 |
On Thu, 27 Oct 2005, 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. FWIW, the experimental 3.08.1-2 version of ocaml on Cygwin does support shared libraries (at least to the extent of allowing loading them from the top-level). I'm slowly working towards adding full shared library support so that all tools do the right thing when building packages. Igor Pechtchanski Volunteer O'Caml maintainer for Cygwin -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA