From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] lablgtk2: cannot find the Pango module?
Date: Mon, 15 Jul 2013 15:38:42 +0200 [thread overview]
Message-ID: <m28v186izh.fsf@polytechnique.org> (raw)
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
next reply other threads:[~2013-07-15 13:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 13:38 Alan Schmitt [this message]
2013-07-16 7:37 ` Thomas Gazagnaire
2013-07-16 19:21 ` Adrien Nader
2013-07-17 13:26 ` Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28v186izh.fsf@polytechnique.org \
--to=alan.schmitt@polytechnique.org \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox