English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2009-06-11 (15:59)
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.