caml-list - the Caml user's mailing list
 help / Atom feed
From: Francois Berenger <mlists@ligand.eu>
To: caml-list@inria.fr
Subject: [Caml-list] let's give a try at opam-bundle
Date: Mon, 03 Dec 2018 11:19:36 +0900
Message-ID: <58b1b3d0ce48e740db6d5791fd74f0db@ligand.eu> (raw)
In-Reply-To: <etPan.5c03f9e6.18e72daf.1bf8@erratique.ch>

On 03/12/2018 00:27, Daniel Bünzli wrote:
> On 1 December 2018 at 16:12:21, Hendrik Boom (hendrik@topoi.pooq.com) 
> wrote:
> 
>> So, to get dune I need to install ocaml.
>> To get Ocaml it's recommended to start with opam (even though I don't
>> need it for dune)
>> To get opam ... ??
> 
> I think this discussion could benefit if people could stop mixing
> users who wish to 1) install OCaml to program in OCaml 2) install
> OCaml because an application they use is using OCaml (those may
> actually not even know they are installing OCaml)
> 
> If you are in 1) your best solution is to install `opam` using one of
> the ways documented on the opam install page and then use the
> opam-repository to install an ocaml compiler and the OCaml packages
> you'd like to use. 
> 
> If you are in 2) then *you should not* install opam nor ocaml via opam
> and propably don't even know that you are going to install OCaml since
> that will occur as a side effect of installing the application via
> your operating system packager.

I believe many ocaml programs available in opam don't have a package
in most Linux distributions (or it might be an old version, if there is 
one).

So, here comes opam-bundle:

https://github.com/AltGr/opam-bundle

That probably more people should know about, give it a try and report
problems, if any:

https://github.com/AltGr/opam-bundle/issues

Trying the tool and reporting problems is _very_ important, so that the 
tool
has a chance to improve, get some attention/contributions, etc.
I hope that many people will use it, so that it is really battle-tested
and production ready.

Packaging coccinelle for end-users (who should not have to bother about 
ocaml
or opam) should be as simple as

$ opam-bundle coccinelle

If it is not, maybe some opam-bundle bug has to be reported.
I did not try, I just give coccinelle as a complex software example with
probably many dependencies ('opam-bundle memcad' might also be quite a 
harsh test).

I just created a bundle for some very simple software I have
in opam. It worked, the bundle was created on Linux and I could
install and run the software on a mac. That was cool.

Regards,
Francois.


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list
Forum: https://discuss.ocaml.org/
Bug reports: http://caml.inria.fr/bin/caml-bugs

  parent reply index

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 10:15 [Caml-list] Build-/Installation-Tools - not enogh of them? Oliver Bandel
2018-11-26 16:41 ` Yawar Amin
2018-11-26 16:58   ` Julia Lawall
2018-11-26 17:16     ` Yawar Amin
2018-11-26 20:33       ` Julia Lawall
2018-11-26 20:48         ` Yawar Amin
2018-11-26 20:54           ` Julia Lawall
2018-11-26 21:19             ` Yawar Amin
2018-11-26 21:29               ` Julia Lawall
2018-11-26 22:16                 ` SP
2018-11-27  5:24                   ` Malcolm Matalka
2018-11-28  0:21                     ` SP
2018-11-27  6:11                   ` Julia Lawall
2018-11-27  8:46                     ` SF Markus Elfring
2018-11-28  0:04                     ` SP
2018-11-27  9:27                 ` SF Markus Elfring
2018-11-27 10:08                   ` Julia Lawall
2018-11-27 10:28                     ` [Caml-list] Build-/Installation-Tools - not enough " SF Markus Elfring
2018-11-27 10:34                       ` Julia Lawall
2018-11-27 11:05                         ` Jean-Francois Monin
2018-11-27 11:11                           ` Kakadu
2018-11-27 13:19                             ` Malcolm Matalka
2018-11-28  1:53                               ` Francois Berenger
2018-11-28 15:37                             ` Ian Zimmerman
2018-11-27 13:07                     ` [Caml-list] Build-/Installation-Tools - not enogh " Jean-Marc Alliot
2018-12-06 12:21               ` Richard W.M. Jones
2018-12-06 16:11                 ` Yawar Amin
2018-12-06 20:18                   ` Richard W.M. Jones
2018-12-07  7:31                     ` Daniel Bünzli
2018-12-07  7:45                       ` [Caml-list] What happened to the 'ancient' library for OCaml? Francois Berenger
2018-12-07  8:24                         ` Richard W.M. Jones
2018-12-07  8:27                       ` [Caml-list] Build-/Installation-Tools - not enogh of them? Richard W.M. Jones
2018-12-07  9:01                         ` Daniel Bünzli
2018-12-07 13:22                       ` Stéphane Glondu
2018-12-08  0:58                         ` Daniel Bünzli
2018-12-13 23:45                           ` SP
2018-12-11  2:47                         ` Francois Berenger
2018-12-07 13:12                     ` Malcolm Matalka
2018-11-27 14:33             ` Anil Madhavapeddy
2018-11-27 14:36     ` Gerd Stolpmann
2018-11-30 16:01   ` Louis Gesbert
2018-11-26 22:44 ` Jaap Boender
2018-11-26 22:54   ` Simon Cruanes
2018-11-27 13:29     ` Oliver Bandel
2018-11-27 13:45       ` [Caml-list] Build-/Installation tools - not enough " SF Markus Elfring
2018-11-27 15:06       ` [Caml-list] Build-/Installation-Tools - not enogh " Simon Cruanes
2018-11-27 15:49         ` Oliver Bandel
2018-11-27 16:27           ` Daniel Bünzli
2018-11-27 17:46             ` Jaap Boender
2018-11-28 11:48               ` Jeremie Dimino
2018-12-01 15:12                 ` [Caml-list] How to start with the curren toolset? Hendrik Boom
2018-12-01 17:07                   ` Ian Zimmerman
2018-12-02 15:27                   ` Daniel Bünzli
2018-12-02 23:36                     ` David Allsopp
2018-12-03  2:19                     ` Francois Berenger [this message]
2018-12-02 17:44                   ` [Caml-list] confusing message in opam installer Hendrik Boom
2018-12-02 17:50                     ` Julia Lawall
2018-12-05 19:09                       ` Raja Boujbel - OCamlPro
2018-11-27 16:27           ` [Caml-list] Build-/Installation tools - not enough of them? SF Markus Elfring
2018-11-27 17:11           ` [Caml-list] Build-/Installation-Tools - not enogh " Markus Mottl
2018-11-30 12:41             ` [Caml-list] <DKIM> " Vu Ngoc San
2018-12-07 15:19             ` [Caml-list] " oliver
2018-11-27 16:52       ` Hendrik Boom
2018-11-27 14:11     ` Jaap Boender
2018-11-27  2:33   ` Francois Berenger
2018-11-27 13:31     ` Oliver Bandel
2018-11-27 13:40 ` John F Carr
2018-11-30 16:33   ` Louis Gesbert
2018-12-01  5:01     ` Louis Roché
2018-12-03  0:16     ` Edwin Török

Reply instructions:

You may reply publically 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=58b1b3d0ce48e740db6d5791fd74f0db@ligand.eu \
    --to=mlists@ligand.eu \
    --cc=caml-list@inria.fr \
    /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

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox