[portland] Application Will Not Build on One Host

Rich Shepard rshepard at appl-ecosys.com
Mon Jan 26 18:39:50 CET 2009


On Mon, 26 Jan 2009, Jeff Rush wrote:

> 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,

   Darn, you're good! NO!

Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) 
[GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> import gtk
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48,
in <module>
     from gtk import _gtk
ImportError: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size
>>> import gtk.glade
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48,
in <module>
     from gtk import _gtk
ImportError: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size
>>>

   Yet, ...

[root at salmo /home/rshepard]# ls /var/log/packages/ | grep gtk
gtk+-1.2.10-i486-4
gtk+2-2.12.12-i486-1
gtk-doc-1.7-noarch-3dl
gtkam-0.1.15-i486-1_rbs
gtkspell-2.0.14-i486-1
libgtkhtml-2.11.1-i486-1
pygtk-2.12.1-i486-2

   So, gtk and pygtk are installed, but python's not seeing them. What do you
suggest will remedy this situation?

Many thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863


More information about the Portland mailing list