Re: Bug#143415: META file for lablgl
> I also belive that it would be clearer if the directories that contain
> the META file where somwhere else (say /usr/share/findlib or something
> like that) but this may need to modify findlib, and i don't know if this
> is usefull.
>
> > Any comment on those ? Remi, Stefano, Claudio, Gerd ?
We already asked Gerd for the modfication some monthes ago and he did it.
These are the rules followed by findlib to get the META file for a
library foo:
* Search in OCAMLPATH a directory that have a subdirectory foo in which
there is a META file.
* Search in OCAMLPATH a file META.foo. In this case, in the META file
there must be the entry "directory" that specifies where the library
is actually installed
OCAMLPATH can be set as a shell variable; otherwise it reflects
the entry path in /etc/ocamlfind.conf.
So:
1) We can put all the META.lablgtk, META.lablglade, META....
directly in /usr/lib/ocaml
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.
3) We can add /usr/lib/ocaml/lablgtk to the path in /etc/ocamlfind.conf
and leave META.* into lablgtk.
For more informations on /etc/ocamlfind.con:
http://www.ocaml-programming.de/packages/documentation/findlib/r1007.html
Ciao!
C.S.C.
--
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
PhD Student in Computer Science at University of Bologna
E-mail: sacerdot@cs.unibo.it
http://caristudenti.cs.unibo.it/~sacerdot
----------------------------------------------------------------
--
To UNSUBSCRIBE, email to debian-ocaml-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: