Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: John Gibson <jgibson@...>
Subject: [PREFIX] OS X launchd DISPLAY environment variable
Date: Tue, 7 Apr 2009 02:10:24 -0400
I recently upgraded to 10.5 and had to rebootstrap.  After doing so,  
X11 apps installed to my prefix yielded errors like this:
Can't connect to display `/tmp/launch-ICEBGq/:0': Invalid argument at...

See here for some more info:
http://lists.apple.com/archives/x11-users/2008/Nov/msg00089.html

With xhost tweaking I got stuff to work by doing this:
DISPLAY=localhost:0.0.

I looked into the libX11 configure script and found this:
   --with-launchd          Build with support for Apple's launchd  
(default:
                           auto)

Apparently the auto detection didn't work.  I forced the switch on  
with a new USE flag (see the attached patch) and the launchd-specific  
DISPLAY variable worked.

Is the USE flag the right approach?  Can we default the switch to be  
on for macos?

John
Attachment:
libX11-launchd.patch (Binary data)


Replies:
Re: [PREFIX] OS X launchd DISPLAY environment variable
-- Peter Abrahamsen
Re: [PREFIX] OS X launchd DISPLAY environment variable
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Mesa header in media-libs/apple-opengl-2
Next by thread:
Re: [PREFIX] OS X launchd DISPLAY environment variable
Previous by date:
RE: id in coreutils7
Next by date:
Re: id in coreutils7


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.