pkgsrc-Bugs archive

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

Re: pkg/41971: graphics/dia-python cannot find pygtk module (py25-gtk2 is installed)



The following reply was made to PR pkg/41971; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/41971: graphics/dia-python cannot find pygtk module
 (py25-gtk2 is installed) 
Date: Sat, 26 Sep 2009 10:55:18 +0900

 On Sat, 26 Sep 2009 09:50:04 +0900, Robert Elz <kre%munnari.oz.au@localhost> 
wrote:
 
 >  That makes for a simple workaround to build the package, and suggests
 >  that the real problem here is very strange  behaviour of the pygtk
 >  module (&/or python) rather than a defect in this package itself.
 >
 >  It isn't even clear why pygtk would want to make a connection to
 >  the X server when used the way it is by the tiny program configure runs
 >  to check that pygtk is present.
 
 Not strange behaviour, because pygtk should be used with X, so it is reasonable
 to make a connection to the X server in its initialization.
 
 >  A fairly easy fix (avoidance procedure) for this package would be to
 >  simply remove the test for pygtk from the configure script - pkgsrc
 >  knows (ensures) that pygtk is present using its dependency mechanism,
 >  there's no real need in a pkgsrc environment to test further for it.
 
 First of all, you should fix your environment.
 Change DISPLAY to usable variable, or unset DISPLAY.
 


Home | Main Index | Thread Index | Old Index