caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ian Zimmerman <itz@buug.org>
To: OCaml mailing list <caml-list@inria.fr>
Subject: [Caml-list] How to properly do "opam switch"?
Date: Thu, 13 Nov 2014 15:40:28 -0800	[thread overview]
Message-ID: <20141113154028.0ae9e90c.itz@buug.org> (raw)

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:

             reply	other threads:[~2014-11-14  0:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-13 23:40 Ian Zimmerman [this message]
2014-11-14  9:15 ` Francois Berenger
2014-11-17 10:07   ` Amir Chaudhry

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=20141113154028.0ae9e90c.itz@buug.org \
    --to=itz@buug.org \
    --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
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).