Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Batteries and portability
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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:
  But the patch has a [small] runtime cost.