configure requires X connection
@jeffocjtechus
Submitted by jeff Assigned to jeff @jeffocjtechus
Description
Please describe the problem:
0.10.2 now requires an X connection to build due to the changes that were made in the configure script to detect PyGTK. This is a problem for Fedora because the Fedora buildsystem does not have an X server running while the RPM package for PiTiVi is being built. I'm the official maintainer of the PiTiVi package for Fedora - I've reverted the changes that were made to the PyGTK detection code for now, but I'd rather not maintain that indefinitely.
Steps to reproduce:
- Unpack sources
- unset DISPLAY
- ./configure
Actual results:
checking for GTK python bindings... Traceback (most recent call last):
File "<string>
", line 6, in ?
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/init.py", line 76, in ?
_init()
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/init.py", line 64, in _init
_gtk.init_check()
RuntimeError: could not open display
not found
configure: error: You need to have python gtk bindings >= 2.8.0 installed
Expected results:
Able to configure and build PiTiVi
Does this happen every time?
Yes.
Other information:
http://bugzilla.gnome.org/show_bug.cgi?id=T1808
http://svn.gnome.org/viewcvs/pitivi/trunk/configure.ac?rev=836&r1=834&r2=836
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=402995