caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] How to properly do "opam switch"?
@ 2014-11-13 23:40 Ian Zimmerman
  2014-11-14  9:15 ` Francois Berenger
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Zimmerman @ 2014-11-13 23:40 UTC (permalink / raw)
  To: OCaml mailing list

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:

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-17 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 23:40 [Caml-list] How to properly do "opam switch"? Ian Zimmerman
2014-11-14  9:15 ` Francois Berenger
2014-11-17 10:07   ` Amir Chaudhry

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).