Browse thread
pcre build problems on Mac OS X
-
Christoph
-
Erik de Castro Lopo
- Christoph Pingel
- skaller
-
Erik de Castro Lopo
[
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: | -- (:) |
| From: | Christoph Pingel <cip22@d...> |
| Subject: | Re: [Caml-list] pcre build problems on Mac OS X |
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. > > <snip> > >> 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