[portland] Application Will Not Build on One Host

Jeff Rush jeff at taupro.com
Mon Jan 26 18:11:33 CET 2009


Rich Shepard wrote:
> On Sun, 25 Jan 2009, Rich Shepard wrote:
> 
>>  Both machines use Slackware-12.2 with Python-2.5 and PyGTK-2.12
>> installed:
>>
>> /usr/lib/python2.5/site-packages/pygtk.py
>> /usr/lib/python2.5/site-packages/pygtk.pth
>> /usr/lib/python2.5/site-packages/pygtk.pyc
>> /usr/lib/python2.5/site-packages/pygtk.pyo
> 
>   And, when I run python/ipython on the command line, I can import
> pygtk. So
> python sees the library as available.

I don't have a complete answer but one of the odd things about the GTK
packages is that there is *both* a "pygtk" and a "gtk" module.  You may be
missing the latter.

Python 2.5.2 (r252:60911, Jan 15 2009, 03:57:43)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
>>> import gtk.glade
>>>

Can do do all three of those?

-Jeff



More information about the Portland mailing list