From: bacam@z273.org.uk (Brian Campbell)
To: Geoffrey Alan Washburn <geoffw@cis.upenn.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Pretty printing Toploop errors?
Date: Sun, 30 Jul 2006 20:40:28 +0100 [thread overview]
Message-ID: <20060730194028.GA10266@z273.org.uk> (raw)
In-Reply-To: <44B4E2AB.8000207@cis.upenn.edu>
On Wed, Jul 12, 2006 at 07:53:15AM -0400, Geoffrey Alan Washburn wrote:
> Jonathan Roewen wrote:
> >>worked. However, is there some other library I could link against that
> >>wouldn't require end-users having access to the OCaml sources?
> >
> >Have you tried toplevellib.cma?
>
> I am, but if I only link against that ocamlc claims that it cannot
> find the Errors module. If I add drivers/errors.cmo it works, but that is
> only in available in the actual OCaml source tree. Is there something
> else I should be trying?
You might have solved this in the meantime, but in case you haven't:
The problem is that the interface file errors.cmi isn't installed along
with ocaml. You could keep a copy of errors.mli with your program and
use that to make a suitable errors.cmi for compiling against. At least,
that seems to work for me.
Brian
next prev parent reply other threads:[~2006-07-30 19:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-10 10:06 [Caml-list] " Keiko Nakata
2006-07-11 13:16 ` Geoffrey Alan Washburn
2006-07-12 11:15 ` [Caml-list] " Jonathan Roewen
2006-07-12 11:53 ` Geoffrey Alan Washburn
2006-07-30 19:40 ` Brian Campbell [this message]
2006-08-01 14:36 ` Geoffrey Alan Washburn
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=20060730194028.GA10266@z273.org.uk \
--to=bacam@z273.org.uk \
--cc=caml-list@inria.fr \
--cc=geoffw@cis.upenn.edu \
/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