[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ocaml 3.04-3 uploaded

On Wed, Jan 23, 2002 at 11:00:53AM +0100, Denis Barbier wrote:
> On Wed, Jan 23, 2002 at 09:35:18AM +0100, Sven wrote:
> [...]
> > Mmm, what do i have to look for, i plan to do this this week still, but mostly
> > work at home which is offline.
> Currently debhelper scripts do not pass -p flag to update-ocamlld, you will
> have to slightly modify them.
> I could provide another version of debhelper stuff if you want.

Denis, it is not working ...

I will rewrite stefano's program to conform with the new plan, but i don't
understand how dh_ocamlld is supposed to work.

I guess you would say :

dh_ocamlld -p<package> directory


dh_ocamlld -p<package> directory1 directory2 ...

or even if you say :

dh_ocamlld -p<package>

then the directory list would be taken from the file debian/<package>.ldconf
or something such. I suppose this is the right syntax, as most others dh_xxx
scripts work like that also, as i undertand.

But it is not working, using dh_ocamlld -pocaml-base doesn't touch the
postinst/rm, but addind a directory, either with -a<dir> or with I<dir> or
with just <dir> is not working well, yielding errors of the kind :

debian/dh_ocamlld       \
        -pocaml-base /usr/lib/ocaml/ /usr/lib/ocaml/labltk
sed: -e expression #1, char 10: Unknown option to 's'

And using either versions of dh_ocamlld don't work (the one with multiple -a,
and the other one with multiple calls to ocaml-ldconf).

Could you have a look at it, the files are at :


check the ocaml 3.04-6 version i was working on. It does only contain the
dh_ocamlld stuff, and not yet the ocaml-ldconf part, (well it contains
stefano's dh_ocaml.ml file, renamed to ocaml-ldconf, but it will not work (at
least i don't think it will) and i will be working more on it, once the
dh_ocamlld issues are solved).

But then maybe i severly misunderstood something ?


Sven Luther

Reply to: