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
[Caml-list] ocamldep 3.07 now saves system dependencies?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] ocamldep 3.07 now saves system dependencies?
From: Richard Jones <>

> I've noticed an apparent difference between ocamldep 3.06 and
> 3.07. The newer version now generates dependencies for certain (but
> not all) system libraries.
> For example dependencies like this:
> main.cmx: browser.cmx database.cmx /usr/lib/ocaml/3.07/lablgtk2/gBin.cmx \
>     /usr/lib/ocaml/3.07/lablgtk2/gButton.cmx \
> when I run this:
> ocamldep -I +lablgtk2 -I ../lablgtk2-mozembed -I +apache -I +postgres -I +pcre > .depend
> This is unfortunate because my Makefile then goes off and tries to
> build system libraries, and fails.

They should go away if you omit all the -I's.
Actually this looks like an improvement to me: if you want to express
dependencies on other directories, you are now able to do so.

Jacques Garrigue

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: