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
Issues building batteries / installing camlzip
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-05-21 (16:07)
From: Stefano Zacchiroli <zack@u...>
Subject: Re: [Caml-list] Issues building batteries / installing camlzip
On Thu, May 21, 2009 at 03:46:42PM +0100, Malcolm Reynolds wrote:
> which evaluates to /usr/local/lib/ocaml - there is a zip subdirectory
> here, and it contains these files:
> gzip.cmx      libcamlzip.a  zip.cma       zip.cmx       zip.mli
> gzip.cmi      gzip.mli      zip.a         zip.cmi       zip.cmxa
> Does this look reasonable? I'm definitely still missing something,

Yes, you are missing a META file, that "registers" camlzip with
findlib, which is in turn used by the batteries configuration
machinery to decide whether camlzip is installed or not.

> Does anyone have any advice on how to fix this? I wonder whether
> it's due to some OS X idiosyncracy, like having library files end in
> ".dylib" rather that ".a"...

Looks like is more the fact that your camlzip "upstream" is not
shipping META, while both Debian and GODI are doing that. You can take
the META file from one of us/them and add it to your camlzip dir.


Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{,,} -<>-
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime