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

Re: Buglet in ocaml-ldconf



On Wed, May 15, 2002 at 12:29:46PM -0600, Matt Armstrong wrote:
> Claudio Sacerdoti Coen <sacerdot@CS.UniBO.IT> writes:
> 
> >  What I found very annoying of Sven solution is that if you install
> >  a package by hand (Bad Thing TM), the next time you install an
> >  ocaml debian package the entry for the hand-installed one
> >  disappears. This means that you have to learn ocaml-ldconf to
> >  understand what is happening...
> 
> Yes, I ran into this myself.  I'd be nice if hand installed packages
> were supported easily (through findlib or other ways), since we can't
> expect all ocaml packages to have .debs.

There is the README.Debian file, the ocaml-ldconf man page and the
debian packaging policy, not speaking about the online help of
ocaml-ldconf, which all tell you explicitly to modify
/etc/ocaml/ld.conf, or are you telling me you did read neither of those,
nor the discution we had here about it previously, nor even the comment
on top of the /usr/lib/ocaml/ld.conf file ?

I wonder what i write documentation for then, maybe i should use my time
for more important things if nobody ever reads it.

> >  I don't by Xavier's argument.
> 
> I don't feel strongly either way.  I think for Debian packaging,
> avoiding unnecessary differences from the standard "ocaml way" is
> probably good.  But it doesn't look like there is a standard "ocaml
> way" right now.

That is most assuredly true, and it seems that upstream's 'one true way'
seem to vary from time to time also.

That said, the ocaml-ldconf only makes a little change, and did not
touch most of the working schedule, apart from the patch about adding
comments to the /usr/lib/ocaml/ld.conf file.

> >> I have the impression that findlib + ld.conf integration could be
> >> better.
> >
> >  What do you mean? findlib already manages ld.conf correctly, adding
> >  and removing lines. The problem is findlib used by hand + ocaml
> >  debian packages.
> 
> findlib touches /var/lib/ocaml/ld.conf, which is a generated file in
> Debian.  Ideally the Debian's findlib should be patched to not do
> this.

Yes, this would be good, and maybe resolve the problems Sergio was
speaking about.

> Perhaps findlib could add entries to a new /etc/ocaml/findlib-ld.conf
> file that ocaml-ldconf reads when creating /var/lib/ocaml/ld.conf.

Why not the simple /etc/ocaml/ld.conf ?

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to debian-ocaml-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: