From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id EF12E7EE99 for ; Sun, 8 Dec 2013 21:55:04 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of anthony.tavener@gmail.com) identity=pra; client-ip=209.85.215.169; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="anthony.tavener@gmail.com"; x-sender="anthony.tavener@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of anthony.tavener@gmail.com designates 209.85.215.169 as permitted sender) identity=mailfrom; client-ip=209.85.215.169; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="anthony.tavener@gmail.com"; x-sender="anthony.tavener@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ea0-f169.google.com) identity=helo; client-ip=209.85.215.169; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="anthony.tavener@gmail.com"; x-sender="postmaster@mail-ea0-f169.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0CAF3cpFLRVdeplGdsb2JhbABZhBK6HwgWDgEBAQEHCwsJEiMHgmwBGx4DEgkBBl0BEQEFASKIAgEDD6JIgwWMWYMJg2QKGScNZIYDEQEFDJM+A4lCjlKQJhgphHUc X-IPAS-Result: Av0CAF3cpFLRVdeplGdsb2JhbABZhBK6HwgWDgEBAQEHCwsJEiMHgmwBGx4DEgkBBl0BEQEFASKIAgEDD6JIgwWMWYMJg2QKGScNZIYDEQEFDJM+A4lCjlKQJhgphHUc X-IronPort-AV: E=Sophos;i="4.93,852,1378850400"; d="scan'208";a="39928704" Received: from mail-ea0-f169.google.com ([209.85.215.169]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 08 Dec 2013 21:55:01 +0100 Received: by mail-ea0-f169.google.com with SMTP id l9so1217380eaj.0 for ; Sun, 08 Dec 2013 12:55:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=YK/cvnGAMzJ3f79AZRCCNExtOk3s2Y4FBw48cL1DsR4=; b=FOVJa1WunZO+Lf5scQkiEju2inGHIfTXY6wULofIycl+QK0JxDACt0XsRARKz78c21 tPDUC+OicWa0VVsu1wQK+s/GUDCCklKadxSkzlDMcJc96RvZ/81e3ea3Z15+2Cb9qkad iYJiJkDP4VPslM7ys500K/rCbTABNoifa61k7S+CzCbp2fJnkxhsJ0BVQACcZiARKioX JiZiERi8DuJOqEJwAD5uVxBWteP5P/xed2XhnYG3cOmtEMoopIOx4Y29aZueWCWyf+Zl UY56t3+TigsppwJnM7cySJhvl2Yd5ghBHPgGUBjy0mbphFiol7Ru7lGBZrc68SjgJvoM fklQ== MIME-Version: 1.0 X-Received: by 10.14.109.5 with SMTP id r5mr373594eeg.110.1386536101337; Sun, 08 Dec 2013 12:55:01 -0800 (PST) Received: by 10.15.90.202 with HTTP; Sun, 8 Dec 2013 12:55:01 -0800 (PST) Date: Sun, 8 Dec 2013 13:55:01 -0700 Message-ID: From: Anthony Tavener To: "caml-list@inria.fr" Content-Type: multipart/alternative; boundary=001a11c2a336c9dbe004ed0c17f8 Subject: [Caml-list] Library installation procedure (for use with OPAM)? --001a11c2a336c9dbe004ed0c17f8 Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c2a336c9dbe004ed0c17f8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
For local libraries, my "make install" amou= nts 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 environme= nt. 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 pro= cess suitable for use with OPAM? I've tried looking at a few existing p= ackages and the build+install process, as usual, is convoluted... not as ob= scure as autotools, but different for each project. Is findlib still applic= able? Or some other means to query the system install directory?

Maybe someone has blog/page covering "librar= y build/install/packaging suitable for the OCaml ecosystem, from .ml to OPA= M"?

Thank-you for any help!
=A0-Tony
--001a11c2a336c9dbe004ed0c17f8--