From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 2B5707ED25 for ; Mon, 15 Jul 2013 15:38:41 +0200 (CEST) X-IronPort-AV: E=Sophos;i="4.89,668,1367964000"; d="scan'208";a="21228370" Received: from top.irisa.fr (HELO top) ([131.254.16.41]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES128-SHA; 15 Jul 2013 15:38:40 +0200 User-agent: mu4e 0.9.9.5; emacs 24.3.1 From: Alan Schmitt To: Caml List Date: Mon, 15 Jul 2013 15:38:42 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Caml-list] lablgtk2: cannot find the Pango module? Hello, I'm trying to compile the gtk version of Unison, and I have an error about not finding Pango: ocamlopt -g -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -ccopt -mmacosx-version-min=10.5 -I +lablgtk2 -c /Users/schmitta/src/unison/trunk/src/uigtk2.ml File "/Users/schmitta/src/unison/trunk/src/uigtk2.ml", line 81, characters 26-48: Error: Unbound module Pango The strange thing is that when I launch the lablgtk2 toplevel, I can do a "open Pango" with no error. I'm using an opam-installed version of lablgtk2 on OS X (with a gtk from homebrew), and I can see a pango.cmx file in the place pointed by ocamlfind. I can also build some other gtk-based applications such as Why3. Could someone please tell me if the compilation options above are correct? Thanks, Alan