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 AE0C97EE99 for ; Mon, 9 Dec 2013 18:37:19 +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: AkQDAP7+pVJKN1ZKfmdsb2JhbABZgz+DUrYWgUYOAQEJCwwIFCiCJQEBBAEjVgULCxoCJgICRxAGG4d0BgSyHI83F4EpjQ8lMweCazWBEwOZRIR+F454gWc X-IPAS-Result: AkQDAP7+pVJKN1ZKfmdsb2JhbABZgz+DUrYWgUYOAQEJCwwIFCiCJQEBBAEjVgULCxoCJgICRxAGG4d0BgSyHI83F4EpjQ8lMweCazWBEwOZRIR+F454gWc X-IronPort-AV: E=Sophos;i="4.93,859,1378850400"; d="scan'208";a="47872781" 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 18:37:18 +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 D831320B4AD4; Mon, 9 Dec 2013 17:37:16 +0000 (UTC) Date: Mon, 9 Dec 2013 18:37:12 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Sebastien Mondet Cc: Anthony Tavener , "=?utf-8?Q?caml-list=40inria.fr?=" Message-ID: <4F5AD22CADED45DBAD26A92D3F2B704D@erratique.ch> In-Reply-To: References: <31F4C46854FA4FEAAD2EA09D32A72E23@erratique.ch> 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 17:39, Sebastien Mondet a =C3=A9crit : > So, if everybody else have to implement them, opam's install files become= a new standard for the OCaml cummunity?=20=20 Frankly besides maybe wodi on windows I'm not so sure I see something reaso= nably competing with opam at that point, so that "everybody" may not includ= e a lot of persons. Personally I don't have time to care for alternatives a= nd I do what minimizes my admin/maintenance time at most. =20=20 > Do most of us agree? (I'm not against it, I just don't want to rely on 50= different standards). I don't think it's a question of agreeing, usage will tell. Besides I don't= see another standard, maybe `ocamlfind install` but it's limited in what i= t can install (and I hope that eventually the annoying two-headed structure= ocamlfind/opam will disapear, e.g. the notion of ocamlfind package could b= e merged in the compiler). =20=20 > (BTW, since you generate those .install files you could have generated in= stall.sh (http://install.sh) files doing the 'cp's as easily ;) ) Sure but that's one more thing to maintain across all my packages. Besides = I hope that eventually a good build tool will emerge for OCaml and can gene= rate these .install files for me, I'm still not fond of having to maintain = and copy this pkg-builder script across all my packages.=20=20 =20=20 > (a few times a `cp exec $BIN` is also needed indeed). About half of my packages do that. Besides since with package managers we n= o longer see the tarballs I think it's a good practice to at least install = the CHANGES, README and the sample code in the doc directory of a package. > (A while ago, before opam, a new version of GODI broke on our main platfo= rm because of some ocamlnet configuration bug, but I was able to reinstall = ocaml and about 25 third-party libraries and syntax extensions from scratch= without too much pain =E2=86=92 we see great value in that package-managem= ent independence) Why not. I guess you can see the value of having each of these libraries ge= nerating a .install file that you can process with a simple command line to= ol rather than have to deal with the idiosyncrasies of each custom (usually= semi-broken) install procedure. Best, Daniel