caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] We need a rich standard library distributed with OCaml, really
Date: Tue, 1 Sep 2015 06:46:48 -0700	[thread overview]
Message-ID: <CAPFanBFc6m=2M3rxtp3B4ptW9uOS6G6ZOVJOsaf++k13veSrZA@mail.gmail.com> (raw)
In-Reply-To: <55E47B7E.6050901@glondu.net>

On Mon, Aug 31, 2015 at 9:06 AM, Stéphane Glondu <steph@glondu.net> wrote:
> And "install OPAM first" is not a very satisfactory way of
> installing some software written in OCaml in a stable environment.

I wholly agree. My personal practice is to use OPAM to set up
*development* environment(s) for OCaml hacking, and rely on the system
package manager to install any end-user software (including those
written in OCaml). For example, I do not recommend installing Coq
through OPAM (unless one need experimental versions or plans to
contribute to Coq's development), but rather through the package
manager.

It remains, though, that we cannot assume that everyone is using a
distribution with a good OCaml packaging story (I know only of Fedora
and Debian although I haven't tried OSX distributions or the BSD ports
-- on other systems I've been a satisfied user of GODI for a while),
so for a long time the difficulty of *some* users and developers to
install OCaml (development) libraries effectively discouraged people
to rely on third-party libraries, and I think it is not the case
anymore.

I believe the Debian QA process is very useful and important. For
example, the handling of software license is still in its infancy in
OPAM, while there is a well-established checking process which is part
of Debian integration; I mentioned before that legal issues
discouraged some industrial users from using third-party libraries,
but I think reasonable users should feel rather safe using
Debian-packaged software.

The OCaml community also benefits from the fact that many consider
"supports all the official Debian packages" as a milestone (when
evaluating the readiness of a new hardware architecture for example),
and will thus foster development across all of the Debian user-space,
including packaged OCaml projects. More generally, we benefit from a
lot of patches and platform support developed by packagers for various
operating system (BSD port comes to mind), and this is part of the
continuing added value of packaging OCaml software for many systems.

On Mon, Aug 31, 2015 at 9:06 AM, Stéphane Glondu <steph@glondu.net> wrote:
> Le 27/08/2015 10:17, Gabriel Scherer 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.
>
>
> Cheers,
>
> --
> Stéphane

  parent reply	other threads:[~2015-09-01 13:47 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27  2:52 Hongbo Zhang
2015-08-27  6:59 ` Christoph Höger
2015-08-27  7:18 ` Anthony Tavener
2015-08-27  8:17   ` Gabriel Scherer
2015-08-27 10:35     ` Romain Bardou
2015-08-27 19:55       ` Martin DeMello
2015-08-27 20:10         ` Yotam Barnoy
2015-08-27 23:24           ` Drup
2015-08-28 13:23           ` Philippe Veber
2015-08-27 20:17         ` Raoul Duke
2015-08-27 23:10       ` Martin Jambon
     [not found]     ` <20150827174554.14858.6618@localhost>
2015-08-27 18:42       ` [Caml-list] Fwd: " Emmanuel Surleau
2015-08-27 21:17     ` [Caml-list] " Paolo Donadeo
2015-08-27 21:51       ` Oliver Bandel
2015-08-27 21:56         ` Oliver Bandel
2015-08-27 22:04           ` Oliver Bandel
2015-08-28  0:50     ` Hongbo Zhang
2015-08-31 16:06     ` Stéphane Glondu
2015-08-31 16:14       ` Francois Berenger
2015-08-31 16:44         ` Hendrik Boom
2015-08-31 18:04           ` Ian Zimmerman
2015-08-31 17:26         ` Stéphane Glondu
2015-09-01 15:06           ` Anil Madhavapeddy
2015-08-31 17:34       ` Oliver Bandel
2015-09-01 13:46       ` Gabriel Scherer [this message]
2015-08-27  8:07 ` Sébastien Hinderer
2015-08-27  8:20   ` Daniil Baturin
2015-08-27  9:34     ` Edouard Evangelisti
2015-08-28  9:07       ` r.3
2015-08-27  8:12 ` Francois Berenger
2015-08-27 11:57   ` Drup
2015-08-27 14:17 ` Yaron Minsky
2015-08-27 16:00   ` Jesse Haber-Kucharsky
2015-08-28  0:33     ` Hongbo Zhang
2015-08-28  1:53       ` Daniel Bünzli
     [not found]       ` <20150828.140826.2157566405742612169.Christophe.Troestler@umons.ac.be>
2015-08-28 12:38         ` Thomas Braibant
2015-08-28 13:00           ` [Caml-list] opam license field (was Re: We need a rich standard library distributed with OCaml, really) Daniel Bünzli
2015-08-28 13:06             ` David Sheets
2015-08-28 14:01         ` [Caml-list] We need a rich standard library distributed with OCaml, really Oliver Bandel
2015-08-31 15:26           ` Hendrik Boom
2015-08-28 14:35         ` Alain Frisch
2015-08-29 19:02           ` David MENTRÉ
2015-08-31 12:37             ` Jon Harrop
2015-08-31 15:05               ` Emmanuel Surleau
2015-08-31 17:31                 ` Oliver Bandel
2015-08-28 15:02         ` Simon Cruanes
2015-08-28 15:27           ` Gabriel Scherer
2015-08-28 15:51         ` Oliver Bandel
2015-08-31 18:40       ` Ashish Agarwal
2016-03-27 20:54     ` Jon Harrop
2016-03-27 21:21       ` Simon Cruanes
2016-03-27 23:48       ` Yaron Minsky

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='CAPFanBFc6m=2M3rxtp3B4ptW9uOS6G6ZOVJOsaf++k13veSrZA@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=steph@glondu.net \
    /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).