View Single Post

   
  #3 (permalink)  
Old 02-21-2008, 11:01 AM
Tobias Hommel
 
Posts: n/a
Default Re: How to get wxpython to work?

On Thu, 26 Jan 2006 01:29:33 -0000
Grant Edwards <grante@visi.com> wrote:

> So far today, I'm only batting less than .500 with the packages
> I've tried to emerge.
>
> The stable verions of gnome-python-extras never did build, and
> I couldn't get the ebuild of cvsweb to work either (it
> installed fine by hand from a current source tarball).
>
> However, the most recent failure is wxpython. I just emerged
> it, and it seemed to build fine, but it won't run. If anybody
> could lend me a clue, I'd appreciate it....
>
>
> Python 2.4.2 (#1, Jan 24 2006, 22:52:33)
> [GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import wx

> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File
> "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/__init__.py",
> line 42, in ? from wx._core import * File
> "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py", line
> 4, in ? import _core_ ImportError: /usr/lib/libwx_gtk2_core-2.6.so.0:
> undefined symbol: pango_x_get_context
>
>

which version of wxGTK have you installed? i had similar problems. try
editing /etc/portage/package.keywords and add the following line:
x11-libs/wxGTK ~x86

or ACCEPT_KEYWORDS=~x86 emerge wxGTK


then emerge wxGTK and maybe re-emerge the packages that don't work



--
illiteratum plausum non desidero

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD2evHRnsi0rWUAf0RAireAKC40NntK1of6PPmx8FoAD 2cbMVQgwCgi+w4
I4Ti8KXXoacTM8F0O4+2+DI=
=NcDk
-----END PGP SIGNATURE-----

Reply With Quote