About mozjs24 being built

Clemens Lang cal at macports.org
Sun Apr 3 07:57:51 PDT 2016


Hi,

On Sun, Apr 03, 2016 at 03:49:01PM +0100, Andrea Giammarchi wrote:
> ```
> gjs -c 'imports.gi.Gtk.init(null);'
> 
> (gjs 999): Gtk-WARNING **: cannot open display:
> ```

That looks like you don't have XQuartz installed. MacPorts' copy of Gtk
uses an X11 backend, which requires that you have X installed.
Unfortunately the native Quartz backend of Gtk still had a couple of
issues when I last checked. Homebrew's default may be to use the Quartz
backend, which would explain why this works out of the box.

-- 
Clemens


More information about the macports-users mailing list