duncan wrote:
I have been trying on and off over a period of a couple of weeks to
build the latest wxPython on a newly installed Fedora Core 2 SMP system.Reading back through the messages on the list ....
Since 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]"
However, building from a fresh cvs checkout today also gives...
undefined symbol: XineramaIsActive
I've looked into this a bit more, and googled too. Apparently this is or was a common problem, for both gtk and Qt related projects. libXinerama is only a static library (at least on the platforms I've checked so far, don't know about FC2 yet) and so my earlier thoughts about mismatched shared libs were not correct. On my machines it is linked in to the libgdk shared lib but some of the pages I googled indicated that for some versions of gtk it was incorrectly left out. So that could account for the missing symbols on the prebuilt wxPython binaries.
I also noticed that when the core wxGTK shared library is built that it also links with libXinerama, so I would think that even if your libgdk doesn't have it that the libwx_gtk*_core* should definitly have it. I'm not sure why it would still show up as missing... Unless perhaps the dynamic libs used for the link are not the same ones found at runtime...
Anyway, this is probably a larger issue than wxPython builds. Until it can be figured out I'll make the wxDisplay class optional in wxPython and then you should be able to reconfigure wxGTK with --disable-display and rebuild.
Last weekend I managed to get further along than this and actually got
the demo running which gave me the error messages others reported a
while back ...(demo.py:5974): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
Also a few days ago Robin said ....
I havn't seen those, but I am still on gtk+2.2.4. Do the wxWidgets
C++
samples have the same problems? If so it may be worth asking about it
on wx-users.
Has anyone checked this yet?
Not that I know of.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!