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

Re: Buglet in ocaml-ldconf

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.

>  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.

>> 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

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.

>> Also, findlib seems to like to putting things in /usr/lib/ocaml
>> instead of /usr/local/lib/ocaml.
>  You can tell him where you want the libraries to be installed.
>  What is the best default?

I'm not sure.  The ocamlfind manpage gives
/usr/local/lib/ocaml/site-lib as an example.  It may be as simple as
adjusting the default /etc/ocamlfind.conf to point to
/usr/local/lib/ocaml instead of /usr/lib/ocaml.

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

Reply to: