Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Building PCRE-OCaml on Win32
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Peter Jolly <peter@j...>
Subject: Re: [Caml-list] Building PCRE-OCaml on Win32
Roger Levy wrote:
> Installing library with ocamlfind
> ocamlfind install  pcre META pcre.mli pcre.cmi pcre.cma pcre.cmxa pcre.a 
> libpcre_stubs.a
> ocamlfind: 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.