Re: proposal: new ocaml dirs schema
jmarant@nerim.net (Jérôme Marant) writes:
> Well, keep in mind the problems Debian had with multiple Perl installed
> at a time and reasons why it changed. Python provides multiple versions
> but it also provides a dummy package pointing to the standard version of
> Python. I have a pretty good idea of problems that can arise since I
> followed such transitions.
>
> What must be dealt with: all ocaml binaries must be in sync: you
> must ensure that you'll never have ocamlc 3.04 with ocamlrun 3.06
> for instance ; you must *not* use alternatives, it was the cause of
> many problems with Perl. The best way is the Python way as
> explained Stefano with a dummy ocaml and ocaml-base pointing to
> the standard version of ocaml.
Well, let me add an extra example:
A depends on B, and B provides dll.so from 3.04.
Rebuilding B for 3.06 will break A since it will
no longer find dll.so.
So A have to depend on B-3.04.
Cheers,
--
Jérôme Marant
http://marant.org
Reply to: