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 9FBCC7F0A3 for ; Mon, 31 Aug 2015 19:26:20 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.17,442,1437429600"; d="scan'208";a="144304102" Received: from wencory.loria.fr (HELO [152.81.3.42]) ([152.81.3.42]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 31 Aug 2015 19:26:20 +0200 To: caml-list@inria.fr References: <1C02B1E2-D17D-4008-998E-B17048C62DFA@gmail.com> <55E47B7E.6050901@glondu.net> <55E47D5A.6080806@inria.fr> From: =?UTF-8?Q?St=c3=a9phane_Glondu?= X-Enigmail-Draft-Status: N1110 Message-ID: <55E48E3C.4090202@glondu.net> Date: Mon, 31 Aug 2015 19:26:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.1.0 MIME-Version: 1.0 In-Reply-To: <55E47D5A.6080806@inria.fr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] We need a rich standard library distributed with OCaml, really Le 31/08/2015 18:14, Francois Berenger a écrit : >>> Depending on external libraries used to be a problem when there was no >>> consensus on OCaml packaging (no longer than a few years ago people >>> where reluctant to even use ocamlfind). We now have a reasonable >>> consensus on a packaging story, and installing third-party libraries >>> has never been as easy as it is today -- except on Windows, meh. >>> I think you should embrace the idea of depending on software outside >>> the OCaml distribution. >> >> Depending on a multitude of external libraries makes packaging more >> difficult. I am talking about "system" packaging (deb, rpm...) here, not >> OPAM. And "install OPAM first" is not a very satisfactory way of >> installing some software written in OCaml in a stable environment. > > Why not? Packages in OPAM do not benefit from QA done in e.g. Debian or Fedora. Besides, a regular Debian user (for example) is used to Debian policies, not OPAM ones. Don't assume that anyone wanting to use software written in OCaml is part of the OCaml community. I am happy as a Debian user to not have to deal with CPAN / CTAN / PyPI / whatever. > In my experience, opam installs are quite reproducible. In my experience, they are not... > You can even specify the version number you want to install. ... but I've never tried that. Aren't old versions of packages removed at some point? > [...] opam install things in a user's home > directory, which is not what you want for a system-wise installation of > a software/library. AFAICT, opam only "trusts" packages to install things in a user's home. Cheers, -- Stéphane