caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christoph Pingel <cip22@denkzeug.de>
To: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] pcre build problems on Mac OS X
Date: Wed, 16 Aug 2006 23:15:12 +0200	[thread overview]
Message-ID: <99C8A602-0EFF-43C0-AD6E-DD736F6160C0@denkzeug.de> (raw)
In-Reply-To: <20060817064820.d62b1b55.mle+ocaml@mega-nerd.com>

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


  reply	other threads:[~2006-08-16 21:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16 15:04 Christoph
2006-08-16 20:48 ` [Caml-list] " Erik de Castro Lopo
2006-08-16 21:15   ` Christoph Pingel [this message]
2006-08-17  2:36   ` skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99C8A602-0EFF-43C0-AD6E-DD736F6160C0@denkzeug.de \
    --to=cip22@denkzeug.de \
    --cc=caml-list@yquem.inria.fr \
    --cc=mle+ocaml@mega-nerd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).