I've been unable to import wx after installing wxPythonGTK2 RPMs on a
Fedora Core 2. Here is the traceback after an interactive attempt:
Python 2.3.3 (#1, May 7 2004, 10:31:40)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] 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.3/site-packages/wx/__init__.py", line 19, in ?
from wx.core import *
File "/usr/lib/python2.3/site-packages/wx/core.py", line 4, in ?
import _core
ImportError: /usr/lib/wxPython-2.5.1.5/lib/libwx_gtk2ud_core-2.5.so.1:
undefined symbol: XineramaIsActive
I've been unable to import wx after installing wxPythonGTK2 RPMs on a
Fedora Core 2. Here is the traceback after an interactive attempt:
Python 2.3.3 (#1, May 7 2004, 10:31:40)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] 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.3/site-packages/wx/__init__.py", line 19, in ?
from wx.core import *
File "/usr/lib/python2.3/site-packages/wx/core.py", line 4, in ?
import _core
ImportError: /usr/lib/wxPython-2.5.1.5/lib/libwx_gtk2ud_core-2.5.so.1:
undefined symbol: XineramaIsActive
However, the thread suggests ignoring the RPMs and building from source.
Should I follow that advice or is there a way to make the RPMs work on
FC2?
IIUC, there is a difference in some of the X libs between FC2 and the RH9 box that I built the RPMs on that causes this error. So yes, you'll need to rebuild from source. You can create your own RPMs by rebuilding from the wxPython SRPM.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!