From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 10256BB9A for ; Tue, 8 Nov 2005 03:44:57 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jA82iu6Y006539 for ; Tue, 8 Nov 2005 03:44:56 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA24639 for ; Tue, 8 Nov 2005 03:44:55 +0100 (MET) Received: from slinky.cs.nyu.edu (SLINKY.CS.NYU.EDU [128.122.20.14]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jA82isZK027885 for ; Tue, 8 Nov 2005 03:44:55 +0100 Received: from localhost (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id jA82imc9003193; Mon, 7 Nov 2005 21:44:52 -0500 (EST) Date: Mon, 7 Nov 2005 21:44:48 -0500 (EST) From: Igor Pechtchanski Reply-To: caml-list@inria.fr To: Peter Jolly Cc: Roger Levy , caml-list@inria.fr Subject: Re: [Caml-list] Building PCRE-OCaml on Win32 In-Reply-To: <436135B7.3070607@jollys.org> Message-ID: References: <4361306F.9060208@inf.ed.ac.uk> <436135B7.3070607@jollys.org> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 43701128.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43701126.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 pcre-ocaml:01 ocamlfind:01 ocamlfind:01 pcre:01 pcre:01 mli:01 cmi:01 cmxa:01 libpcre:01 stubs:01 dllpcre:01 stubs:01 dllpcre:01 ocaml:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 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