Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
native GTK+ on Mac OS X
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-03-30 (14:09)
From: Kuba Ober <ober.14@o...>
Subject: Re: [Caml-list] native GTK+ on Mac OS X
> For distributing binaries, I build my quartz variant of MacPorts
> as a subdirectory of the installation path that I wish to use
> (/usr/local/Frama-C/lib/macports), and include in the distributed
> archive those libraries that are necessary for running Frama-C.
> See the contents of one of the Mac OS X distributions
> for details:
> This unfortunately means that the
> binaries can not be installed anywhere else.
> ( allows
> to move the application around by using a shell script
> to change, at each launch, the paths in all the configuration
> files that have them hard-coded. But some of the libraries
> that Frama-C depends on seem to have binaries files
> with hard-coded paths, so I didn't succeed in doing the
> same thing.
> Tangentially, I would be interested in any improvement
> suggestions from people more knowledgeable that me
> on the subject of gtk-quartz, displaying unicode with
> pango on Mac OS X, and their interactions with OCaml.

I have been running macports and gtk2 compiled +quartz +no_x11 for
quite a while now. The only snag is that instead of installing pango
you have to install pango-devel, as there is a bug that prevents pango
from compiling w/o x11 support in current MacPorts.

I'm running native gimp and other tools, and it all "just works", so I  
really see why you'd even need the x11 gtk.