Problems building wxPython

Hi,

I have pulled all the source from the wxWidgets tree, as
indicated on the wxPython web page, and i think i followed
all the instructions to build from source. Problems start
happening when i cd to the wxPython directory and say
'python setup.py build_ext --inplace --debug'.
I consistently obtain:

building '_core_' extension
c++ -pthread -shared -g build/temp.linux-i686-2.3/src/helpers.o build/temp.linux-i686-2.3/src/libpy.o build/temp.linux-i686-2.3/src/gtk/_core_wrap.o -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib -lwx_gtk_html-2.5 -lwx_gtk_adv-2.5 -lwx_gtk_core-2.5 -lwx_base_xml-2.5 -lwx_base_net-2.5 -lwx_base-2.5 -o wx/_core_.so -pthread
/usr/i486-suse-linux/bin/ld: wx/_core_.so: undefined versioned symbol name __dynamic_cast@@CXXABI_1.2
/usr/i486-suse-linux/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1

When building wxWindows, the line
    make -C contrib/src/xrc $*
of the .make script causes the eventual error:

/usr/i486-suse-linux/bin/ld: ../../../lib/libwx_gtk_adv-2.5.so: indirect symbol `wxComboBoxBase type_info node' to `wxComboBoxBase type_info node@@WX_2.5' is a loop
../../../lib/libwx_gtk_adv-2.5.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [../../../lib/libwx_gtk_xrc-2.5.so.1.0.0] Error 1
make: Leaving directory `/home/do/local/Python/wxWidgets/mybuild/contrib/src/xrc'

So i tried removing it, but i get the error at the top of this
message.

Before pulling the whole wxWidgets tree, i tried pulling
only wxWindows or downloading the source distribution, but
building wxPython in all cases always gives me trouble with
the decorated '__dynamic_cast' symbol.

Does anyone have any idea what i am doing wrong or where the
problem may be coming from? I use SuSE Linux 8.0, Python 2.3.2,
gcc 2.95.3 and --enable-gtk.

Thanks !
Dominique

Dominique Orban wrote:

Does anyone have any idea what i am doing wrong or where the
problem may be coming from? I use SuSE Linux 8.0, Python 2.3.2,
gcc 2.95.3 and --enable-gtk.

I've heard that this version of the compiler on SuSE has major problems,
but there are updates available from SuSE that you can install. Please
try upgrading it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!