patch-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch-gnuradio] pygtk check requires X session


From: Jaroslav Skarvada
Subject: [Patch-gnuradio] pygtk check requires X session
Date: Mon, 23 Apr 2012 09:36:07 -0400 (EDT)

Hi,

currently the cmake pygtk check in gnuradio-3.6.0 requires
X session, otherwise it silently fails. This prevents
building on distribution buildsystems. Output snip
(with increased verbosity) follows:

-- Python checking for pygtk >= 2.10.0
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, 
in <module>
    _init()
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, 
in _init
    _gtk.init_check()
RuntimeError: could not open display
-- Python checking for pygtk >= 2.10.0 - not found

Attached patch is port from gnuradio-3.5 autotools check,
it seems to fix the problem for me

regards

Jaroslav

Attachment: gnuradio-3.6.0-pygtk2-no-x-detect.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]