caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Stefano Zacchiroli <zack@cs.unibo.it>
To: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocaml-Weblib?
Date: Fri, 30 Aug 2002 22:01:52 +0200	[thread overview]
Message-ID: <20020830200152.GC5906@cs.unibo.it> (raw)
In-Reply-To: <Pine.LNX.3.95.1020830181105.1396A-100000@first.in-berlin.de>

On Fri, Aug 30, 2002 at 06:16:02PM +0200, Oliver Bandel wrote:
> But when typing "make" the result was, that pcre was'nt found.

Uhm ... reporting the error message can help here, but anyway ...

The problem is that probably you installed pcre and thus the META file
that ocamlfind is looking for in a directory unknown to ocamlfind.
You can fix the problem changing the "path" setting in
/etc/ocamlfind.conf, just add to hit the directory _above_ the directory
where you installed pcre. (e.g. you have installed pcre in
/usr/local/lib/ocaml/pcre, then add /usr/local/lib/ocaml to the path
value in ocamlfind.conf; this value is a ":" separated list of dirs).

> What is the best installing directory for stuff like pcre,
> which normally will be searched by default?
> 
> When directly using pcre from within Ocaml-Programs, I had
> the ssame problem, that the pcre-stuff was not in the
> default-search-path of the compilers.

Usually is better to install them in a subdir of the ocaml library
directory (which you can get typing "ocamlc -where"). Don't know which
is your setup but on debian this directory is /usr/lib/ocaml and by
default from the ocaml sources I guess it can be /usr/local/lib/ocaml,
but I'm not sure.

Cheers.

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-08-30 20:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 18:49 Oliver Bandel
2002-08-22  0:28 ` Gerd Stolpmann
2002-08-23 23:38   ` Oliver Bandel
2002-08-24 13:39     ` Gerd Stolpmann
2002-08-25 19:30       ` Oliver Bandel
2002-08-25 19:55       ` Oliver Bandel
2002-08-25 21:06         ` Alain Frisch
2002-08-25 21:33           ` Oliver Bandel
2002-08-25 23:37             ` Stefano Zacchiroli
2002-08-30 16:16               ` Oliver Bandel
2002-08-30 20:01                 ` Stefano Zacchiroli [this message]
2002-09-01 16:45                 ` Oliver Bandel
2002-09-02  7:22                   ` Stefano Zacchiroli
2002-09-02 10:47                     ` Oliver Bandel
2002-09-02 12:54                       ` Stefano Zacchiroli
2002-09-02 22:15                       ` Gerd Stolpmann
2002-09-02 23:24                         ` Oliver Bandel
2002-09-03  0:44                           ` Gerd Stolpmann
2002-09-03 11:21                             ` Oliver Bandel
2002-08-25 21:45           ` Gerd Stolpmann
2002-08-25 21:47         ` Gerd Stolpmann
2002-08-24 10:46   ` Dmitry Bely
2002-08-30 16:45     ` Alan Schmitt
2002-08-30 21:33       ` Oliver Bandel
2002-08-31  6:13         ` [Caml-list] Ocaml-Weblib? Michaël Grünewald
2002-08-31  8:16         ` [Caml-list] Ocaml-Weblib? Alan Schmitt
2002-09-05 20:13       ` Dmitry Bely
2002-09-06  5:02         ` Alan Schmitt
2002-09-06 17:32           ` Dmitry Bely
2002-09-07  9:37             ` Alan Schmitt

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=20020830200152.GC5906@cs.unibo.it \
    --to=zack@cs.unibo.it \
    --cc=caml-list@inria.fr \
    /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).