Date: Mon, 13 Nov 2006 13:30:11 +1100 From: Erik de Castro Lopo To: lablgtk at math.nagoya-u.ac.jp Subject: Re: lablgtk2/cairo : update surface? Message-Id: <20061113133011.492bbf9b.mle+ocaml at mega-nerd.com> In-Reply-To: <20061113104720.469ac2fd.erikd at mega-nerd.com> References: <20061113104720.469ac2fd.erikd at mega-nerd.com> Organization: Erik Conspiracy Secret Labs Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 1014 Erik de Castro Lopo wrote: > Hi all, > > I'm using libcario-ocaml on Linux (Ubuntu Dapper) with a version > number of 20051120-1ubuntu1. Ok, I found an example here: http://webcvs.cairographics.org/cairo-ocaml/test/cube.ml?view=markup which suggests that I should be using cairo_gtkcairo instead of cairo_lablgtk2. I managed to partially compile this on the version I am using but comes unstuck with the error: Unbound value Cairo_gtkcairo.cairo Looking under /usr/lib/ocaml/3.09.1/cairo/ I find cairo_gtkcairo.mli but none of the other files I was expecting (like cairo_gtkcairo.ml, cairo_gtkcairo.cmx and so on). Is this a cairo-ocaml packaging bug on Ubuntu or an I missing something here? Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "...In the UNIX world, people tend to interpret `non-technical user' as meaning someone who's only ever written one device driver." -- Daniel Pead