problem building qt4-x11 on SL

Frédéric Dubois Frederic.Dubois at univ-montp2.fr
Sat Dec 3 23:30:35 PST 2011


Hello,
I have a little question concerning python-xlib.
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 ?

By the way I use the standard apple X11 but it exists variants as XQuartz
but I don't know if its interesting to use it.

Regards.


Le 03/12/11 19:41, Bradley Giesbrecht a écrit :
> On Dec 3, 2011, at 8:54 AM, Ryan Schmidt wrote:
>
>> On Dec 3, 2011, at 04:15, Frédéric Dubois wrote:
>>
>>> Pythonocc uses occ (or oce), an open-source CAD library, which relies on X11.
>>> Therefore I try to uses a python based gui able to manage X11.
>>> I tried :
>>> - py-xlib but its only available for python 2.4
>> Seems that's correct. I'm not sure why subports for newer Python versions haven't been added. A Python 2.6 version of the port was submitted here:
>>
>> https://trac.macports.org/ticket/28867
>>
>> But these days we should use subports, not entire new ports. If someone wanted to change the py-xlib port to use the new unified python portgroup and add subports for all compatible versions of Python and test that it works and attach it to that ticket, that would be great.
> Done.
> https://trac.macports.org/changeset/87742
>
>
> Regards,
> Bradley Giesbrecht (pixilla)
>
>
>
>
>
>

-- 
Frédéric Dubois, Eng, PhD
LMGC - UMR CNRS 5508
Université de Montpellier 2, cc 048
Place Eugène Bataillon
34095 Montpellier Cedex 05
Tel 33/0 467144984 - Fax 33/0 467143923
http://www.lmgc.univ-montp2.fr/~dubois
http://www.lmgc.univ-montp2.fr/~dubois/LMGC90



More information about the macports-users mailing list