From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 67CCEBBAF for ; Mon, 5 Oct 2009 09:39:18 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgACAHM/yUpRZ90vkWdsb2JhbACadwEBAQEJCwoHEwO0U4QqBIFS X-IronPort-AV: E=Sophos;i="4.44,505,1249250400"; d="scan'208";a="47935611" Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]) by mail4-smtp-sop.national.inria.fr with ESMTP; 05 Oct 2009 09:39:18 +0200 Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20091005073914.LKLN17029.mtaout01-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com> for ; Mon, 5 Oct 2009 08:39:14 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout01-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20091005073914.DWKS13254.aamtaout01-winn.ispmail.ntl.com@romulus.metastack.com> for ; Mon, 5 Oct 2009 08:39:14 +0100 Received: from Tenor ([172.16.0.8]) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id n957d9Mb009009 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 5 Oct 2009 08:39:10 +0100 From: "David Allsopp" To: References: <20091004190509.GA31372@annexia.org> <20091004193740.GB28561@annexia.org> <20091004203355.GA1917@annexia.org> <20091004203516.GB1917@annexia.org> <007f01ca4537$a65fbb50$f31f31f0$@metastack.com> In-Reply-To: Subject: RE: [Caml-list] Dynlink and ocamlfind for camlp4 3.11? Date: Mon, 5 Oct 2009 08:39:09 +0100 Message-ID: <008e01ca458e$ed8501f0$c88f05d0$@metastack.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcpFO0eXlsxatqeHQf6JFEsThtJk0AAUKZ4w Content-Language: en-gb Organization: MetaStack Solutions Ltd. X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.0 c=1 a=TLNnZyDONCQA:10 a=7GW_G_cECkpk6UQ0AqoA:9 a=vQygpbOCPqqpiQagFCsmfkbxAzUA:4 X-Spam: no; 0.00; dynlink:01 ocamlfind:01 camlp:01 pcre:01 pcre:01 dynlink:01 --prefix:01 --version:01 findlib:01 topfind:01 ocaml:01 ocaml:01 cygwin:01 mingw:01 pcre-ocaml:01 > I tried, and it works fine until the require of "json-static". It breaks when loading "pcre.cma". > > Now we can say that pcre package has some problem, but dynlink is loaded successfully. Hmm - a few other things to check: 1. Are you definitely using Cygwin's PCRE and which version (run pcre-config --prefix and pcre-config --version) 2. Which version of ocaml-pcre is findlib trying to load (#use "topfind";; #list;; from within ocaml) 3. Did you install the (very out-of-date) OCaml package which comes with Cygwin? 4. Did you install plain GODI or did you pass -w32port mingw to the first script? I'm using pcre-ocaml 6.0.1 / PCRE 7.9 with no problems with the MinGW port of OCaml 3.11.1 (not via GODI, though) David