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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id D01327ED25 for ; Tue, 16 Jul 2013 21:21:30 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of adrien@notk.org) identity=pra; client-ip=91.121.71.147; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of adrien@notk.org designates 91.121.71.147 as permitted sender) identity=mailfrom; client-ip=91.121.71.147; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="adrien@notk.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@nautica.notk.org) identity=helo; client-ip=91.121.71.147; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="adrien@notk.org"; x-sender="postmaster@nautica.notk.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhgFAGeb5VFbeUeT/2dsb2JhbABagwY0g1W+cIESFnSCIwEBBSNWEAsYAgIFEw4CAg8FGDGIJ6QrkUmBJo45B4JZM20Dl1sBgSmQJIMUOg X-IPAS-Result: AhgFAGeb5VFbeUeT/2dsb2JhbABagwY0g1W+cIESFnSCIwEBBSNWEAsYAgIFEw4CAg8FGDGIJ6QrkUmBJo45B4JZM20Dl1sBgSmQJIMUOg X-IronPort-AV: E=Sophos;i="4.89,678,1367964000"; d="scan'208";a="26249449" Received: from nautica.notk.org ([91.121.71.147]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 16 Jul 2013 21:21:30 +0200 Received: by nautica.notk.org (Postfix, from userid 1003) id ACA42C009; Tue, 16 Jul 2013 21:21:29 +0200 (CEST) Date: Tue, 16 Jul 2013 21:21:29 +0200 From: Adrien Nader To: Thomas Gazagnaire Cc: Alan Schmitt , Caml List Message-ID: <20130716192129.GA8915@notk.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [Caml-list] lablgtk2: cannot find the Pango module? Hi, On Tue, Jul 16, 2013, Thomas Gazagnaire wrote: > > 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 guess the -I +lablgtk2 does not use the right path. Under OPAM, files are installed in `opam config var lib`/labgtk (`opam config var labgtk:lib` in master). Or you can use the ocamlfind installation path: `ocamlfind query lablgtk`. I know nothing about mac os x, opam and unison but nowadays lablgtk uses ocamlfind. Maybe unison needs to be updated. Lablgtk without ocamlfind might work but I'd say that if it breaks, you get to keep the pieces. (plus, I'm a member of the AANUOO: Association Against Non-Usage Of Ocamlfind :-) ) -- Adrien Nader