bug paquet "pygtk"

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hello ..

Il manque une dépendance au paquet pygtk ..

root@acer-desktop:/# python
Python 2.5.1 (r251:54863, Oct 26 2009, 22:10:46)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 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 38, in <module>
    import gobject as _gobject
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 30, in <module>
    from gobject.constants import *
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py", line 22, in <module>
    from _gobject import type_from_name
ImportError: libffi.so.5: cannot open shared object file: No such file or directory

Voilà ,  python me dit qu'il manque une lib ... donc :

root@acer-desktop:/# tazpkg get-install libffi

libffi-3.0.8
Connecting to mirror.slitaz.org (213.3.10.214:80)
libffi-3.0.8.tazpkg  100% |**********************************************************************************************************************************************************| 13824  --:--:-- ETA

Installation of : libffi-3.0.8
================================================================================
Copying libffi-3.0.8...                                              [ OK ]
Extracting libffi-3.0.8... 27 blocks
Extracting the pseudo fs... 48 blocks
Installing libffi...                                                 [ OK ]
Removing all tmp files...                                            [ OK ]
================================================================================
libffi (3.0.8) is installed.

maintenant , ca fonctionne  :

root@acer-desktop:/# python
Python 2.5.1 (r251:54863, Oct 26 2009, 22:10:46)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> 

@+


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/