From: Jacques-Pascal Deplaix <jp.deplaix@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] camomile question
Date: Mon, 18 Nov 2013 17:21:19 +0100 [thread overview]
Message-ID: <528A3E7F.7020608@gmail.com> (raw)
In-Reply-To: <528A3772.6070000@gmail.com>
Note that Batteries >= 2.0 doesn't depend anymore on Camomile.
On 11/18/2013 04:51 PM, Matej Kosik wrote:
> Hi,
>
> When I took my native exectuable to a reasonably similar computer, albeit without Ocaml installation, I have noticed the following problem:
>
> ./main
>
> Fatal error: exception Failure("Cannot find camomile database directory,
> usually located here: '/usr/share/camomile/database'.
> Use environment variable CAMOMILE_DIR or CAMOMILE_DATADIR to locate it precisely.")
>
> There are two solutions:
> - sometimes I can install "libcamomile-ocaml-data" package
> (when I am lucky enough to have the root-access and when given package exists in a given distribution)
> - or I can copy
>
> /usr/share/camomile
>
> from my system to the target system (somewhere) and set CAMOMILE_DIR on the target system to designate the root of the camomile directory.
>
> Is there a way to compile my program so that the above problem would not arise at run-time?
>
> Is it possible:
>
> - to drop dependency on Camomile
> (if I do not need it -- the dependency was introduced by Batteries which I use)
>
> if not, then:
>
> - bundle that data with the executable? Is there an option for that?
>
next prev parent reply other threads:[~2013-11-18 16:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 15:51 Matej Kosik
2013-11-18 16:21 ` Jacques-Pascal Deplaix [this message]
2013-11-18 16:31 ` Matthieu Dubuget
2013-11-18 16:44 ` Daniel Bünzli
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=528A3E7F.7020608@gmail.com \
--to=jp.deplaix@gmail.com \
--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).