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

Robert Muller robert.muller2 at gmail.com
Thu Jan 8 03:41:38 GMT 2015


Greetings. I'm not quite sure where to post this question. I have been
porting Kenichi Asai's OSX-based Universe library to ubuntu and have run
into an opam error. Trolling around the internet has not led to a
solution.  Kenichi's installation instructions were expressed in terms of
macports + opam:

   -

   sudo port install cairo +x11
   sudo port install gtk2 +x11
   sudo port install libgnomecanvas
   sudo port install pkgconfig
   opam install ocamlfind
   opam install conf-gnomecanvas
   opam install lablgtk

   - Install OCamlMakefile.

   opam install ocaml-makefile


I have followed these on ubuntu using apt-get, I believe successfully,
until I get to the following. Any hints greatly appreciated. - Bob Muller
--------------------------------
vagrant at vagrant-ubuntu-trusty-32:/usr/bin$ sudo opam install
conf-gnomecanvas --verbose
The following actions will be performed:
 - install   conf-gnomecanvas.2
=== 1 to install ===

=-=- Synchronizing package archives
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

=-=- Installing packages
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building conf-gnomecanvas.2:
  pkg-config libgnomecanvas-2.0
[ERROR] The compilation of conf-gnomecanvas.2 failed.
Removing conf-gnomecanvas.2.
  Nothing to do.


#=== ERROR while installing conf-gnomecanvas.2
================================#
# opam-version 1.2.0
# os           linux
# command      pkg-config libgnomecanvas-2.0
# path         /home/vagrant/.opam/4.01.0/build/conf-gnomecanvas.2
# compiler     4.01.0
# exit-code    1
# env-file
/home/vagrant/.opam/4.01.0/build/conf-gnomecanvas.2/conf-gnomecanvas-23548-58c514.env
# stdout-file
 /home/vagrant/.opam/4.01.0/build/conf-gnomecanvas.2/conf-gnomecanvas-23548-58c514.out
# stderr-file
 /home/vagrant/.opam/4.01.0/build/conf-gnomecanvas.2/conf-gnomecanvas-23548-58c514.err

'opam install conf-gnomecanvas --verbose' failed.
vagrant at vagrant-ubuntu-trusty-32:/usr/bin$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/platform/attachments/20150107/5f1b5242/attachment.html>


More information about the Platform mailing list