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
Strange, occasional build failure with ocamlmklib / ranlib
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-06-02 (14:53)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Strange, occasional build failure with ocamlmklib / ranlib
On Tue, Jun 02, 2009 at 03:46:27PM +0100, Richard Jones wrote:
> I just want to post this here in case it rings a bell with anyone:
> ocamlfind ocamlc -c guestfs.mli
> ocamlfind ocamlc -c
> ocamlfind ocamlopt -c
> ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmo
> -L../src/.libs -lguestfs
> ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmx
> -L../src/.libs -lguestfs
> ranlib: './libmlguestfs.a': No such file

I think I've solved this -- the therapeutic effect of posting on
caml-list works!

I think those two invocations of ocamlmklib are being run in parallel,
so one is deleting the output file of the other.



Richard Jones
Red Hat