From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by c5ff346549e7 (Postfix) with ESMTPS id 157E55D5 for ; Mon, 3 Dec 2018 02:19:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.56,308,1539640800"; d="scan'208";a="358378043" Received: from sympa.inria.fr ([193.51.193.213]) by mail2-relais-roc.national.inria.fr with ESMTP; 03 Dec 2018 03:19:44 +0100 Received: by sympa.inria.fr (Postfix, from userid 20132) id 1AA3982561; Mon, 3 Dec 2018 03:19:44 +0100 (CET) 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 B6580824CF for ; Mon, 3 Dec 2018 03:19:38 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mlists@ligand.eu; spf=Pass smtp.mailfrom=mlists@ligand.eu; spf=None smtp.helo=postmaster@relay8-d.mail.gandi.net IronPort-PHdr: =?us-ascii?q?9a23=3AYIYYIRde3UX7e/fulA/jEaWglGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcu5bR7h7PlgxGXEQZ/co6odzbaO4+a4ASQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9HiTahYr5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYe?= =?us-ascii?q?RWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZ?= =?us-ascii?q?TAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hy?= =?us-ascii?q?cdLzM2/33YhMN+gqxbvhyvuh5ww4DXboCaOvVzZb/dcNAYRWZdQspcTS5MD4Wh?= =?us-ascii?q?ZIUPFeoBOuNYopH9qVsUtxS+AxWjBOTuyj9Tm3T7wLM10/4/HgHA0wwvAcgOu2?= =?us-ascii?q?nTodXwMKcSUPu1zLXTzTjYa/NW2Dj955LOch88u/2DQ69wfNPXxEIyGQ3FiVCQ?= =?us-ascii?q?ppbkPzOTzukNvGmb7/ZgVeKykGErsR1+oj+qxsoql4LHhZoVx0ja+Slkwos5P9?= =?us-ascii?q?+1RFJhbdK5E5ZduTuWO5VqTs8/RWxjpTw0xaccuZGheSgH0JQnyADba/yAa4WI?= =?us-ascii?q?+AzsVOKLLjZ4h39pYa+wiwy38Ue6y+38UtO40FlQoSpDj9bMt2oB1xrN5cibUv?= =?us-ascii?q?d9/0Gh1iiT1w3L9O1IPEI5mbDZJpI92LI8i5kevErZEiPohEn6kbeadkA+9eip?= =?us-ascii?q?7+TnbK/mppiZN4JsjwH+NqUumtejAeQjKQUOW2mb+eum273l4EL1WqtFjuAunq?= =?us-ascii?q?nDrJ/aPdgbprK+AwJNzoks8RO/DzO/3NQcnHkHN05FdQmcj4npPlHOOOr3Ae2+?= =?us-ascii?q?g1SqijdrxurJMqfvApXXfTD/l+LqdLN5rkpd0xYbzNZF5psSBKtSDuj0Xxrfrt?= =?us-ascii?q?XeBRg4KESezvzqDtpwzMtKXGaOGbOCGKfTvlaO6qQiPr/fN8cupD/hJq19tLbV?= =?us-ascii?q?hngjlApFJPj77d4scHm9W89eDQCcaHvojM0GFD5T7A4/Q+XshBuPTGwKPirgb+?= =?us-ascii?q?cH/jg+TbmeI8LbXIn02e6F3SiyGJEQa30UUgnRQ0etTJ2NXrI3UAzXIsJllWZZ?= =?us-ascii?q?B6KsT4YwhVSi8grzyr4hIePS9ixes5//hoB4?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BzBAAxkgRch8m3RtljHQEBBQEHBQGBZ?= =?us-ascii?q?QKCaE8zJ4N5iHeLKlABAQZSY4Ehh36QIw0jgVSCdQKDNBoHAQQ0EgEDAQECAQE?= =?us-ascii?q?BAQETAQEBCA0JCBsOIwxCAQ4BgWQigmUBAgMjDwEFUQQfAgImAgJXGQgTgwYBg?= =?us-ascii?q?XQRC6JRgS+KGQWBC4d3gxoXeIEHh0ECgi6CN4JXAoZsiT2QFwmHAIZRg2MIGJE?= =?us-ascii?q?mjWmLBIFdgXYfLiYSgyeCJw4Jg0qKYjADMIhAhVwBAQ?= X-IPAS-Result: =?us-ascii?q?A0BzBAAxkgRch8m3RtljHQEBBQEHBQGBZQKCaE8zJ4N5iHe?= =?us-ascii?q?LKlABAQZSY4Ehh36QIw0jgVSCdQKDNBoHAQQ0EgEDAQECAQEBAQETAQEBCA0JC?= =?us-ascii?q?BsOIwxCAQ4BgWQigmUBAgMjDwEFUQQfAgImAgJXGQgTgwYBgXQRC6JRgS+KGQW?= =?us-ascii?q?BC4d3gxoXeIEHh0ECgi6CN4JXAoZsiT2QFwmHAIZRg2MIGJEmjWmLBIFdgXYfL?= =?us-ascii?q?iYSgyeCJw4Jg0qKYjADMIhAhVwBAQ?= X-IronPort-AV: E=Sophos;i="5.56,308,1539640800"; d="scan'208";a="358378031" Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2018 03:19:38 +0100 Received: from webmail.gandi.net (webmail5.sd4.0x35.net [10.200.201.5]) (Authenticated sender: mlists@ligand.eu) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 6C1CB1BF203; Mon, 3 Dec 2018 02:19:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 03 Dec 2018 11:19:36 +0900 From: Francois Berenger To: caml-list@inria.fr In-Reply-To: References: <20181126101448.3ee5jgz4c6ulsbbr@first.in-berlin.de> <20181126225522.GY3935@church> <20181127132914.ifjkrrsg677zcy6r@first.in-berlin.de> <20181127150629.GC1374@carty> <20181127154929.h2sdvjhwzyyfwior@first.in-berlin.de> <2151bed9-3134-50df-9199-c74eafbd31fc@kerguelen.org> <20181201151221.xv5chaq7oua2nlo3@topoi.pooq.com> Message-ID: <58b1b3d0ce48e740db6d5791fd74f0db@ligand.eu> X-Sender: mlists@ligand.eu User-Agent: Roundcube Webmail/1.1.2 Subject: [Caml-list] let's give a try at opam-bundle Reply-To: Francois Berenger X-Loop: caml-list@inria.fr X-Sequence: 17207 Errors-to: caml-list-owner@inria.fr Precedence: list Precedence: bulk Sender: caml-list-request@inria.fr X-no-archive: yes List-Id: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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