I tried to get opam running on my Ubuntu laptop. After downloading
the 0.6.0 tarball from the OcamlPro tutorial page
(
http://opam.ocamlpro.com/doc/Tutorial.html) and building and
installing it without incident, my first opam command fell over:
nathanml@panther:~$ opam init
File /home/nathanml/.opam/opam/benchmark.1.1.opam: Bad format!
Expecting list or list-list, got list({option(list({string("rm")
string("
setup.ml")}),{string("%{ocaml-version}%") symbol(=)
string("4.00.0")}) option(list({string("oasis")
string("setup")}),{string("%{ocaml-version}%") symbol(=)
string("4.00.0")}) list({string("ocaml") string("
setup.ml")
string("-configure") string("--prefix") string("%{prefix}%")})
list({string("ocaml") string("
setup.ml") string("-build")})
list({string("ocaml") string("
setup.ml") string("-install")})})
'opam init' failed
I can't find the file mentioned here after this command runs (in fact
I still don't even have a $HOME/.opam), so I'm not sure how to get
past this problem.