Closed protz closed 11 years ago
Are you on the latest version of OPAM?
On 22 Mar 2013, at 10:02, Jonathan Protzenko notifications@github.com wrote:
Trying to install ocamlnet or why3 (which is outdated btw, any chance for an upgraded package?), I'm getting errors such as:
==== ERROR [while recompiling ocamlnet.3.6.0] ==== Internal error: Cannot remove /home/jonathan/.opam/4.00.1/build/ocamlnet.3.6.0/src/equeue-gtk2 (opam: "rmdir" failed on /home/jonathan/.opam/4.00.1/build/ocamlnet.3.6.0/src/equeue-gtk2: Directory not empty). 'opam install lablgtk' failed. — Reply to this email directly or view it on GitHub.
Yes.
(I'm recompiling opam right now just to make sure, but I was already on tag "latest").
==== ERROR [while installing why3.0.73] ====
Internal error:
Cannot remove /home/jonathan/.opam/4.00.1/build/why3.0.73/share (opam: "rmdir" failed on /home/jonathan/.opam/4.00.1/build/why3.0.73/share: Directory not empty).
'opam install why3' failed
Are you tags up-to-date ? (it usually not a good idea to checkout latest
as this tag is meant to change regularly: checkout master
or 1.0.0
instead).
I just recompiled from master, and the error related to ocamlnet went away. Let me check if I can get why3 to compile (this may be related to my recompiling lablgtk properly with the sourceview thing).
why3 seems to compile as well, sorry for the noise, I'm still not understanding what happened...
I'm changing the latest
tag every time I do a new release. So be sure to use git pull --tags
to get an up-to-date latest
(yes I know, this can be confusing, but that's an easy solution to always have https://github.com/OCamlPro/opam/archive/latest.tar.gz up-to-date). Anyway, it's usually better to never use that tag directly.
Trying to install ocamlnet or why3 (which is outdated btw, any chance for an upgraded package?), I'm getting errors such as: