On Sat, Apr 20, 2002 at 03:12:17PM +0200, Sven wrote: > > 2) We can put them in another directory and add it to the path in > > /etc/ocamlfind.conf. In this case, findlib helps again: you > > can add a "metadir" entry in /etc/ocamlfind.conf; when you do > > findlib install, findlib will automatically install the META file > > in the metadir. > > This would have been the /usr/lib/ocaml/meta dir solution ? Sure, anyway after a rapid look to the FHS, the best place will be /usr/share, now we can choose between /usr/share/ocaml/findlib, /usr/share/ocaml/meta, /usr/share/ocaml-findlib or whatever you want. > Does the actual findlib package does this kind of thing ? i just checked and > it doesn't do it like that. What is the format of this exactly ? Which kind of things? I can't follow you here. Ocamlfind have a "path" variable and use it, looking rapidly at the source code I find out that the path separator is OS dependent and on unix systems the standard ":" separator is used. I haven't checked if multiple paths are looked for, but if this is not the case, we have found a bug! > > 3) We can add /usr/lib/ocaml/lablgtk to the path in /etc/ocamlfind.conf > > and leave META.* into lablgtk. > > An ugly solution, since we will finish adding a lot of paths everywhere. > > Maybe going for the 2nd solution would be the best solution, but it will be a > post woody thing. IMO, solution (2) is the good one. I will look at it, but some reminders from this list are helpful :-), after the woody release. Cheers. -- Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney
Attachment:
pgpnGV1JsHneA.pgp
Description: PGP signature