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 6012D7FAED for ; Fri, 14 Nov 2014 01:09:34 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of itz@buug.org) identity=pra; client-ip=198.144.194.12; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="itz@buug.org"; x-sender="itz@buug.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of itz@buug.org) identity=mailfrom; client-ip=198.144.194.12; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="itz@buug.org"; x-sender="itz@buug.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@acedia.primate.net) identity=helo; client-ip=198.144.194.12; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="itz@buug.org"; x-sender="postmaster@acedia.primate.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhsKAHBHZVTGkMIM/2dsb2JhbABbvX0FAXSbQwEBAQEBfYRDNIFJiFQFqyKmEoY6jywFjAuSJQGBNINPgnqOaoQdgxcBAQE X-IPAS-Result: AhsKAHBHZVTGkMIM/2dsb2JhbABbvX0FAXSbQwEBAQEBfYRDNIFJiFQFqyKmEoY6jywFjAuSJQGBNINPgnqOaoQdgxcBAQE X-IronPort-AV: E=Sophos;i="5.07,381,1413237600"; d="scan'208";a="88020360" Received: from disorder.primate.net (HELO acedia.primate.net) ([198.144.194.12]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 Nov 2014 01:09:30 +0100 Received: from ahiker.mooo.com (localhost [127.0.0.1]) by acedia.primate.net (8.14.4/8.14.4/Debian-8) with ESMTP id sAE09Oj9026298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 13 Nov 2014 16:09:24 -0800 Received: from [208.72.141.188] (helo=matica.lan) by ahiker.mooo.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Xp409-0003td-PF for caml-list@inria.fr; Thu, 13 Nov 2014 15:40:33 -0800 Received: from localhost ([127.0.0.1] helo=matica.lan) by matica.lan with esmtp (Exim 4.80) (envelope-from ) id 1Xp404-0001Hd-An for caml-list@inria.fr; Thu, 13 Nov 2014 15:40:28 -0800 Date: Thu, 13 Nov 2014 15:40:28 -0800 From: Ian Zimmerman To: OCaml mailing list Message-ID: <20141113154028.0ae9e90c.itz@buug.org> X-Mailer: Claws Mail 3.11.1 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Caml-list] How to properly do "opam switch"? After I do "opam switch 4.02.1" and perform the environment incantations, I have a new subtree ~/.opam/4.02.1 with its own bin, man etc. subdirs, and my environment variables now point to it: [26+0]~$ env | fgrep -i opam CAML_LD_LIBRARY_PATH=/home/itz/.opam/4.02.1/lib/stublibs MANPATH=:/home/itz/.opam/4.02.1/man:/opt/posix/man PERL5LIB=/home/itz/.opam/4.02.1/lib/perl5 OCAML_TOPLEVEL_PATH=/home/itz/.opam/4.02.1/lib/toplevel PATH=/home/itz/HOL/bin:/home/itz/.cabal/bin:/home/itz/.opam/4.02.1/bin:/home/itz/eclipse:/home/itz/src/makefiles:/home/itz/.share/bin:/home/itz/bin:/usr/lib/ccache:/opt/ghc/7.8.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/games OPAMKEEPBUILDDIR=y OPAMCOLOR=never Unfortunately, this subtree contains _only_ the compiler, and no other packages from the earlier (4.01.0) subtree. In particular, not opam itself! That means I cannot a. recompile any packages with opam, or even b. get documentation on how to get out of this state :-P What is the proper way to handle this, as I must have missed it? -- Please *no* private copies of mailing list or newsgroup messages. Local Variables: mode:claws-external End: