problem building qt4-x11 on SL

Ryan Schmidt ryandesign at macports.org
Sat Dec 3 23:51:56 PST 2011


On Dec 4, 2011, at 01:30, Frédéric Dubois wrote:

> By default its not working because the DISPLAY variable is not giving
> access to a suitable X11 display to python-xlib.
> Once you "export DISPLAY=:0" it works fine.
> Is it normal ?

Ever since Leopard, Apple sets DISPLAY for you, to a special value that makes X11.app automatically anytime it's needed. If you override DISPLAY and set it to something like ":0" then X11.app will no longer automatically launch when needed, and you'll have to launch it manually.

It is possible that python-xlib does not like this special value Apple uses for DISPLAY. What problem do you see when you don't override DISPLAY?




More information about the macports-users mailing list