Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] ocamlbuild
On Mon, 2007-09-17 at 13:56 +0200, Nicolas Pouillard wrote:
> Excerpts from skaller's message of Wed Sep 05 10:36:46 +0200 2007:
> > hi .. I've got an ocamlbuild project which is hanging
> > forever. Top shows 100% CPU and 2% memory. Any ideas how 
> > this could happen?
> > 
> > I have a suspicion ocamlbuild can't handle directories
> > properly..
> > 
> 
> Are  you  on  windows? If yes what kind of environment you have and what OCaml
> you have.
> 
> If  it's  Unix,  have  you symbolic links that make cycles (this case has been
> handled, but I cannot see something else).
> 
> Can you also try it with -no-sanitize.

Our build system is portable, we need Ocamlbuild code to also be
entirely portable. We know at present it doesn't work on Windows.
But the problem is on Linux.

Now, I have no idea what the problem was because I deleted the entire
workspace and re-created it from the repository and it went away.
We don't make any symbolic links because the script is portable,
and you can't make them on Windows.

So just keep an eye out for someone having a similar problem.

Erick reports another issue: ocamlbuild tries to rebuild 
libraries a code depends on -- but not the system libraries.

The idea of building a library is to *avoid* having to do
any dependency checking on the module level. Is there some
way to fix this? I.e, to 'make' a library, and then have
it treated as a 'system' library.


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net