pkgsrc-Bugs archive

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

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



>Number:         41971
>Category:       pkg
>Synopsis:       graphics/dia-python cannot find pygtk module (py25-gtk2 is 
>installed)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 01 16:00:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386  pkgsrc-current
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        graphics/dia-python (dia-python-0.96.1nb4) claims to be unable to
        locate the pygtk module during its configure stage.

        pkgsrc has installed py25-gtk2-2.14.1nb2 as a dependency.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 sets installed
        to simulate a NetBSD 4.0 release environment (using pkgsrc
        modular xorg instead of the x* sets).   I doubt any of that
        is relevant.

        In that environment I see ...

checking if Python version >= 1.5.2... okay
checking local Python configuration... checking for  script directory... 
/usr/pkg/lib/python2.5/site-packages
checking for  extension module directory... 
/usr/pkg/lib/python2.5/site-packages looks good
checking for python module gtk... no
configure: error: could not find pygtk module
*** Error code 1

        From the config.log, this looks like it might be a case
        of the config script attempting to connect to the X server
        (which it cannot do in my pkg_comp sandbox, there is no authorisation
        inside there.   I surmise that from ...

configure:25062: checking for python module gtk
The application '-c' lost its connection to the display localhost:14.0;
most likely the X server was shut down or you killed/destroyed
the application.
configure:25091: result: no
configure:25093: error: could not find pygtk module

>Fix:
        Find some way to fix configure to avoid dynamically using
        gtk just to discover if it exists (I guess).



Home | Main Index | Thread Index | Old Index