[ocaml-platform] opam-in-a-box

Jeremy Yallop yallop at gmail.com
Thu Jan 8 10:36:01 GMT 2015


On 8 January 2015 at 03:41, Robert Muller <robert.muller2 at gmail.com> wrote:
> [ERROR] The compilation of conf-gnomecanvas.2 failed.

The purpose of the conf-gnomecanvas package is to check that you have
the appropriate system package for the libgnomecanvas library
installed.  The description (which you can see with 'opam show
conf-gnomecanvas') says:

    This package can only install if libgnomecanvs2.0-dev is installed
on the system.

OPAM can also list the system package dependencies for you:

   opam list conf-gnomecanvas --external

So the following should help:

    sudo apt-get install libgnomecanvas2.0-dev

You might also be interested to know that the Universe Library now has
OPAM support, so the following will install the OPAM dependencies and
build and install the package:

    opam pin add universe https://github.com/kenichi-asai/Universe

Finally:it's best not to run OPAM using 'sudo'.  It's designed to run
with normal user permissions and install files under your home
directory.


More information about the Platform mailing list