wxPython installation from source failed

Hi,

I tried to install wxPython 2.4.1 from source on my ibook (Yellow Dog Linux 3.0, Python 2.3 (installed from source over YDL), GCC 3.2.1, powerpc processor).

I first installed wxAll with ./configure --with-gtk, make, make install. Then I went into the wxPython source tree and realized that wxWindows is also included in there. I went back to the wxAll and tried to do "make uninstall". This failed because it tried to remove a non-empty directory (something like /usr/local/include/wx). I "uninstalled" by hand doing something like "rm -rf /usr/local/include/wx /usr/local/lib/wx", and reinstalled wxWindows by going to the root of the wxPython source distribution, then doing "./configure", make, "make install". I then went into the wxPython subdir, and started the build with "python setup.py build". After that some files were successfully compiled, I got:

[snip]
copying wxPython/__version__.py -> build/lib.linux-ppc-2.3/wxPython
running build_ext
building 'wxc' extension
c++ -pthread -shared build/temp.linux-ppc-2.3/src/helpers.o build/temp.linux-ppc-2.3/src/drawlist.o build/temp.linux-ppc-2.3/src/libpy.o build/temp.linux-ppc-2.3/src/gtk/wx.o build/temp.linux-ppc-2.3/src/gtk/windows.o build/temp.linux-ppc-2.3/src/gtk/windows2.o build/temp.linux-ppc-2.3/src/gtk/windows3.o build/temp.linux-ppc-2.3/src/gtk/events.o build/temp.linux-ppc-2.3/src/gtk/misc.o build/temp.linux-ppc-2.3/src/gtk/misc2.o build/temp.linux-ppc-2.3/src/gtk/gdi.o build/temp.linux-ppc-2.3/src/gtk/mdi.o build/temp.linux-ppc-2.3/src/gtk/controls.o build/temp.linux-ppc-2.3/src/gtk/controls2.o build/temp.linux-ppc-2.3/src/gtk/cmndlgs.o build/temp.linux-ppc-2.3/src/gtk/stattool.o build/temp.linux-ppc-2.3/src/gtk/frames.o build/temp.linux-ppc-2.3/src/gtk/image.o build/temp.linux-ppc-2.3/src/gtk/printfw.o build/temp.linux-ppc-2.3/src/gtk/sizers.o build/temp.linux-ppc-2.3/src/gtk/clip_dnd.o build/temp.linux-ppc-2.3/src/gtk/filesys.o build/temp.linux-ppc-2.3/src/gtk/streams.o build/temp.linux-ppc-2.3/src/gtk/utils.o build/temp.linux-ppc-2.3/src/gtk/fonts.o -L/usr/X11R6/lib -o build/lib.linux-ppc-2.3/wxPython/wxc.so -L/usr/local/lib -pthread -lwx_gtk-2.4
/usr/bin/ld: uild/lib.linux-ppc-2.3/wxPython/wxc.so: undefined versioned symbol name _restfpr_26_x@@WXGTK_2.4
/usr/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1

If I look for the _restfpr_26_x@@WXGTK_2.4 symbol by doing "readelf /usr/local/lib/libwx_gtk-2.4.so -a|less", I see that it exits:

[snip]
  14388: 0018dd44 20 FUNC GLOBAL DEFAULT 10 _ZNK14wxPostScriptDC2OkEv@@WXGTK_2.4
  14389: 005052a4 0 NOTYPE GLOBAL DEFAULT ABS _end@@WXGTK_2.4
  14390: 0041289c 40 FUNC GLOBAL DEFAULT 10 _restfpr_26_x@@WXGTK_2.4
  14391: 00243b74 104 FUNC GLOBAL DEFAULT 10 _ZN8wxBitmap9SetHeightEi@@WXGTK_2.4
  14392: 001d5bd0 52 FUNC WEAK DEFAULT 10 _ZN6wxGrid16SetCellAlignm@@WXGTK_2.4
[snip]

Can somebody help me to get rid of this error?

Thanks,
Martin