caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Anthony Tavener <anthony.tavener@gmail.com>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: [Caml-list] Library installation procedure (for use with OPAM)?
Date: Sun, 8 Dec 2013 13:55:01 -0700	[thread overview]
Message-ID: <CAN=ouMTAy5naYKR3aNSqT_k1q5vpN=Mxf-VDrSed2bpjeO2DuQ@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2013-12-08 20:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-08 20:55 Anthony Tavener [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN=ouMTAy5naYKR3aNSqT_k1q5vpN=Mxf-VDrSed2bpjeO2DuQ@mail.gmail.com' \
    --to=anthony.tavener@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).