caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Library installation procedure (for use with OPAM)?
@ 2013-12-08 20:55 Anthony Tavener
  2013-12-09  9:23 ` Stéphane Glondu
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Anthony Tavener @ 2013-12-08 20:55 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

For local libraries, my "make install" amounts to copying the relevant
files into the system OCaml directory (ie. /usr/local/lib64/ocaml).
Terrible, I know.

Now I'm switching to using OPAM for general use, and packaging up local
libraries so that OPAM can be aware of them and install them in its managed
environment. But I figure OPAM will be expecting a more sane,
environment-sensitive install... right? Otherwise it must do some voodoo.

Is there a simple example of an appropriate install process suitable for
use with OPAM? I've tried looking at a few existing packages and the
build+install process, as usual, is convoluted... not as obscure as
autotools, but different for each project. Is findlib still applicable? Or
some other means to query the system install directory?

Maybe someone has blog/page covering "library build/install/packaging
suitable for the OCaml ecosystem, from .ml to OPAM"?

Thank-you for any help!
 -Tony

[-- Attachment #2: Type: text/html, Size: 1137 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-12-10 16:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-08 20:55 [Caml-list] Library installation procedure (for use with OPAM)? Anthony Tavener
2013-12-09  9:23 ` Stéphane Glondu
2013-12-09 11:13 ` John Whitington
2013-12-09 15:04 ` Daniel Bünzli
2013-12-09 15:23   ` Sebastien Mondet
2013-12-09 15:57     ` Daniel Bünzli
2013-12-09 16:39       ` Sebastien Mondet
2013-12-09 17:37         ` Daniel Bünzli
2013-12-09 19:41           ` Stéphane Glondu
2013-12-09 20:04             ` Daniel Bünzli
2013-12-09 20:22               ` Stéphane Glondu
2013-12-09 21:04                 ` Daniel Bünzli
2013-12-09 21:36                   ` Anthony Tavener
2013-12-10  1:12                     ` Francois Berenger
2013-12-10 14:50       ` Daniel Bünzli
2013-12-10 16:49         ` [Caml-list] [ANN] opam-installer (beta) (was Re: Library installation procedure (for use with OPAM)?) Louis Gesbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).