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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id B8D02BB83 for ; Wed, 16 Aug 2006 23:15:43 +0200 (CEST) Received: from h74556 (muse-net.info [81.169.166.31]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k7GLFco2028284 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 16 Aug 2006 23:15:43 +0200 Received: from [82.212.6.167] (helo=[192.168.0.100]) by h74556 with esmtpa (Exim 4.44) id 1GDSow-00017i-Iq; Wed, 16 Aug 2006 23:21:02 +0200 In-Reply-To: <20060817064820.d62b1b55.mle+ocaml@mega-nerd.com> References: <98E052F2-D3D4-4653-B558-628D92ED7525@denkzeug.de> <20060817064820.d62b1b55.mle+ocaml@mega-nerd.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <99C8A602-0EFF-43C0-AD6E-DD736F6160C0@denkzeug.de> Cc: caml-list@yquem.inria.fr Content-Transfer-Encoding: 7bit From: Christoph Pingel Subject: Re: [Caml-list] pcre build problems on Mac OS X Date: Wed, 16 Aug 2006 23:15:12 +0200 To: Erik de Castro Lopo X-Mailer: Apple Mail (2.752.2) X-Miltered: at concorde with ID 44E38AFB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; pcre:01 pcre:01 ocaml:01 traceback:01 gmake:01 usr:01 lib':01 gmake:01 usr:01 lib':01 ocamldep:01 mli:01 ocamldep:01 ocamlc:01 -fpic: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.5 required=5.0 tests=FROM_ENDS_IN_NUMS autolearn=disabled version=3.0.3 Thanks, Erik, I just figured that one out by myself - I embarassingly forgot step one from the install instructions. :-) Works just fine now. best regards, Christoph Am 16.08.2006 um 22:48 Uhr schrieb Erik de Castro Lopo: > Hi Christoph, > > I must admit that I've never built PCRE from scratch but I might > still be able to help. > > Christoph wrote: > >> Trying to 'make' or 'gmake' pcre on ocaml 3.09.2, I get the following >> traceback: >> >> gmake[1]: Entering directory `/usr/local/work/pcre-ocaml-5.11.1/lib' >> gmake[2]: Entering directory `/usr/local/work/pcre-ocaml-5.11.1/lib' >> ocamldep pcre.mli > ._bcdi/pcre.di >> ocamldep pcre.ml > ._d/pcre.d >> gmake[2]: Leaving directory `/usr/local/work/pcre-ocaml-5.11.1/lib' >> gmake[2]: Entering directory `/usr/local/work/pcre-ocaml-5.11.1/lib' >> ocamlc -c -cc "cc" -ccopt "-fPIC -O2 \ >> -DPIC \ >> -o pcre_stubs.o " pcre_stubs.c >> pcre_stubs.c:40:18: error: pcre.h: No such file or directory > > Thats probably because you haven't install PCRE first. > > > >> Looking into the distribution, I see that pcre.h is only in the 'win' >> directory - is that how it's supposed to be? > > Probably. Building any Unix software on windows is a royal PITA > so people often include a bunch of special files for building > under windows. > > For sane systems like Unix and MaxOSX, building PCRE support for > Ocaml probably requires that the PCRE library is already installed > on the system. You can get that library here: > > http://www.pcre.org/ > > There may also be instructions with the Ocaml bindings. You should > read the Unix section of those instructions. > > Erik > -- > +-----------------------------------------------------------+ > Erik de Castro Lopo > +-----------------------------------------------------------+ > "Every time you get a windows programmer asking you to write some > ass-backward workaround, think of it as a crack junkie asking you > to help stuff his pipe because his hands are too shaky." > -- Conrad Parker > > _______________________________________________ > 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