Thanks Duncan & Robin.
I was able to get wxPythonGTK2 working through the rpmbuild --rebuild,
however there was this weird quirk installing it. It had a dependency on
libGL.so.1, which was provided by the xorg-x11-Mesa-libGL package I
already had installed. Despite this, rpm kept throwing out a dependency
error so I had to use "rpm --nodeps -Uvh wxPython[etc]" to install the
packages.
For some reason though btdownloadgui.py won't run, but I'm not sure if
that is fault of BitTorrent or wxPython. I was able to run a [very]
simple test program though. Here's the error just in case:
Traceback (most recent call last):
File "./btdownloadgui.py", line 262, in run
app = btWxApp(0, params)
File "./btdownloadgui.py", line 249, in __init__
wxApp.__init__(self, x)
File "/usr/lib/python2.3/site-packages/wx/core.py", line 5042, in
__init__
self._BootstrapApp()
File "/usr/lib/python2.3/site-packages/wx/core.py", line 4791, in
_BootstrapApp
return _core.PyApp__BootstrapApp(*args, **kwargs)
File "./btdownloadgui.py", line 253, in OnInit
d = DownloadInfoFrame(doneflag)
File "./btdownloadgui.py", line 108, in __init__
colSizer.Add(50, 50, 0, wxEXPAND)
File "/usr/lib/python2.3/site-packages/wx/core.py", line 8242, in Add
return _core.Sizer_Add(*args, **kwargs)
TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item
Thanks,
Chris
ยทยทยท
On Wed, 2004-06-09 at 20:04, Robin Dunn wrote:
Chris Farber wrote:
> I've been having some trouble getting wxPythonGTK2 working [but neither
> versions work at all on my system]. I've tried all different wxPython
> packages, even compiled from source, to no avail. This is the error
> message I get when i try to use the wxPythonGTK2 2.5.1 package:
>
> Traceback (most recent call last):
> File "./btdownloadgui.py", line 13, in ?
> from wxPython.wx import *
> File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 10,
> in ?
> import _wx
> File "/usr/lib/python2.3/site-packages/wxPython/_wx.py", line 3, in ?
> from core import *
> File "/usr/lib/python2.3/site-packages/wxPython/core.py", line 15, in
> ?
> import wx.core
> 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
>
>
> Any help would be greatly appreciatedSince FC2 uses the X.org version of X-Windows there are some differences
in the X libs from the RH9 machine that the binary RPMs were built on.
You should be able to rebuild the source RPM to get a binary RPM that is
specific to your system. Just use "rpmbuild --rebuild [the .src.rpm file]"