Browse thread
Batteries and portability
[
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: | dmitry grebeniuk <gdsfh1@g...> |
| Subject: | Re: [Caml-list] Batteries and portability |
> When trying to execute a compiled program on another machine, I get the
> following error:
>
> Fatal error: exception
> Sys_error("/usr/share/camomile/database/general_category.mar: No such
> file or directory")
>
> I don't think I'm using camomille and I'm not compiling with -linkall
This error appears because of camomile's
module initialization (module Default with default config
values). If you really don't use camomile and it is not used
in batteries indirectly, you can defer initialization.
Apply the patch to camomile:
http://overbld.abcname.net/files/camomile-noprecomp.html
But the patch has a [small] runtime cost.