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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 2E85B7EE99 for ; Mon, 9 Dec 2013 16:57:38 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQDAIvnpVJKN1ZKfmdsb2JhbABZhxG2FoFFDgEBCQsMCBQogiUBAQQBI1YFCwsaAiYCAkcQBhuHdAYEshmPMxeBKY00MweCazWBEwOeQheOeA X-IPAS-Result: AkQDAIvnpVJKN1ZKfmdsb2JhbABZhxG2FoFFDgEBCQsMCBQogiUBAQQBI1YFCwsaAiYCAkcQBhuHdAYEshmPMxeBKY00MweCazWBEwOeQheOeA X-IronPort-AV: E=Sophos;i="4.93,858,1378850400"; d="scan'208";a="47852946" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Dec 2013 16:57:37 +0100 Received: from [172.20.10.2] (232-225.197-178.cust.bluewin.ch [178.197.225.232]) by smtp.webfaction.com (Postfix) with ESMTP id F342F66EF07D; Mon, 9 Dec 2013 15:57:34 +0000 (UTC) Date: Mon, 9 Dec 2013 16:57:32 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Sebastien Mondet Cc: Anthony Tavener , "=?utf-8?Q?caml-list=40inria.fr?=" Message-ID: <31F4C46854FA4FEAAD2EA09D32A72E23@erratique.ch> In-Reply-To: References: X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] Library installation procedure (for use with OPAM)? Le lundi, 9 d=C3=A9cembre 2013 =C3=A0 16:23, Sebastien Mondet a =C3=A9crit : > Opam's .install files should be used only to fix packages whose installat= ion is already broken or unsufficient, shouldn't it? Where did you get that from ?=20=20 A .install file is a good way of specifying what you want to install withou= t having to replicate any installation logic in your package which is good = when you develop and distribute many packages and need to scale.=20=20 =20=20 > If you rely *only* on the .install, your package can be installed only wi= th opam, it will break for other users (GODI, WODI, Manual Package Manageme= nt=E2=84=A2, etc.). It can be installed by anything that understands what a .install file is, t= here's nothing specific to opam here. Godi is shutting down, Wodi could be = make to understand .install file. Manual Package Management=E2=84=A2, the f= ile format of .install is very simple you could perfectly develop have a co= mmand line tool that reads it and issues the appropriate cp commands, I'm p= ersonally no longer interested in that form of package management and don't= have the time to support it.=20=20 =20=20 > I think it's good hygiene to at least provide an ocamlfind-based installa= tion of the libraries. As I said `ocamlfind install` doesn't allow you to install binaries, man pa= ges, configuration files, documentation etc. With a .install file you can s= pecify what you want to be installed to the classic unix paths (bin, etc, m= an, share, etc.).=20=20 Best, Daniel