Re: debian ocaml packaging policy :: findlib->site-lib
On 30-12-2008, Stéphane Glondu <steph@glondu.net> wrote:
> Stefano Zacchiroli a écrit :
>> Proposal ahead. What if we provide a symbolic link as follows:
>>
>> `ocamlc -where`/site-lib -> `ocamlc -where`
>>
>> ?
>
> I am not so fond of this. IMHO, Makefiles should be made in such a way
> that changing the location of an installed library is easy (for example,
> by using Makefile variables), and we should not resort to such a hack to
> (try to) be compatible with as much Makefiles as possible. After all,
> one could have installed the library in e.g. /usr/local, or even a
> different, non-standard, location (e.g. because the user compiling
> cannot perform system-wide installations)...
Full ACK with Stephane. The link is just a compatibility hack, writing
it into policy is another hack.
I do think that there is way to determine everything using a simple
ocamlfind invocation, that can go deeper using Findlib call.
Honestly, findlib is well enough made to provide a good solution to most
problem.
Regards
Sylvain Le Gall
Reply to: