From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 0AA19824CF for ; Sun, 2 Dec 2018 16:27:38 +0100 (CET) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=daniel.buenzli@erratique.ch; spf=None smtp.mailfrom=daniel.buenzli@erratique.ch; spf=None smtp.helo=postmaster@smtp.webfaction.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=31.170.123.134; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=31.170.123.134; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=31.170.123.134; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3A2riqehKj5ZDHMrU2ZtmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgeLvjxwZ3uMQTl6Ol3ixeRBMOHs6IC07KempujcFRI2YyGvnEGfc4EfD4+ou?= =?us-ascii?q?JSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgpp?= =?us-ascii?q?POT1HZPZg9iq2+yo9JDffwZFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+?= =?us-ascii?q?RXwWNnO1eelAv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FDXbxaojCUPdaO3HaGdNojjFR?= =?us-ascii?q?DevpcIQmzxz78Vaik+M2fNqRwTURsNfY7PYw4uTSkR8o8jktU5aQyXuEU2Btg2?= =?us-ascii?q?5OTD9khPkj83w48U+K1O1Du9IdDcZavq8bXx0gPILd1vF3TdvyCFqYI4W5DW2+?= =?us-ascii?q?S9DjOgkfC9I8x9hUOhRmHsm6yA/O1SSjCKMUkLrND5sxoPrR?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AkEgCJ+QNce4Z7qh9jHgEGBwaBZYFWg?= =?us-ascii?q?hYng3mId4tdgVmZQg0shEACg04GBjQSAQMBAQIBAQEBARMBAQkNCgclBC+CNiQ?= =?us-ascii?q?BgmIBAgIBI1sLCxoCGA4CAkcQBgESG4UADKIbgS+FQINQgQ2BC4ZihTiBDYN1L?= =?us-ascii?q?oUBgwQtgioCoEAHAoEUkECBW4URgm82hxWJBI1CgieBXYF2gUCCbJBcPjOBB40?= =?us-ascii?q?lAQE?= X-IPAS-Result: =?us-ascii?q?A0AkEgCJ+QNce4Z7qh9jHgEGBwaBZYFWghYng3mId4tdgVm?= =?us-ascii?q?ZQg0shEACg04GBjQSAQMBAQIBAQEBARMBAQkNCgclBC+CNiQBgmIBAgIBI1sLC?= =?us-ascii?q?xoCGA4CAkcQBgESG4UADKIbgS+FQINQgQ2BC4ZihTiBDYN1LoUBgwQtgioCoEA?= =?us-ascii?q?HAoEUkECBW4URgm82hxWJBI1CgieBXYF2gUCCbJBcPjOBB40lAQE?= X-IronPort-AV: E=Sophos;i="5.56,307,1539640800"; d="scan'208";a="287564374" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([31.170.123.134]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2018 16:27:37 +0100 Received: from hehey.local.mail (89-164-127-52.dsl.iskon.hr [89.164.127.52]) by smtp.webfaction.com (Postfix) with ESMTPSA id E6A0B6005C57B; Sun, 2 Dec 2018 15:27:38 +0000 (UTC) Date: Sun, 2 Dec 2018 16:27:34 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Hendrik Boom , caml-list@inria.fr Message-ID: In-Reply-To: <20181201151221.xv5chaq7oua2nlo3@topoi.pooq.com> 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> X-Mailer: Airmail (528) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] How to start with the curren toolset? 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 a= pplication they use is using OCaml (those may actually not even know they a= re installing OCaml) If you are in 1) your best solution is to install `opam` using one of the w= ays 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.=C2=A0 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 wil= l occur as a side effect of installing the application via your operating s= ystem packager.=C2=A0 If you are the people who are responsible to provide the intrastructure for= 2) then the best way to provide an OCaml package is *not* to install `opam= `. It is to simply follow the install instruction provided in the OCaml dis= tribution tarball. I would then suggest you make a package to install opam = (*which doesn't need dune* as a short glance over the README will tell you)= . Having an `opam` package then allow you then to use its libraries to deve= lop the tools you might need for your distribution to read `opam` files and= generate packages from the opam-repository metadata. I don't think that this is super complicated. A little bit of reading in th= e various readme of ocaml and opam should be able to convince that this is = entirely possible to do without any bootstrap problems. We had boostrap pro= blems at at a certain point with cmdliner but I believe that this is fixed,= and if it's not please tell.=C2=A0 Best,=C2=A0 Daniel