Hi,
I just tried to build wxPYthon from CVS update 17:00 CEST.
It looks like everything went fine, but when I try to run the demo
I get this:
Traceback (most recent call last):
File "../wxPython/demo/demo.py", line 3, in ?
import Main
File "/home/adi/develop/wxWidgets/wxPython/demo/Main.py", line 16, in ?
import wx # This module uses the new wx namespace
File "/home/adi/develop/wxWidgets/wxPython/wx/__init__.py", line 42, in ?
from wx._core import *
File "/home/adi/develop/wxWidgets/wxPython/wx/_core.py", line 9883, in ?
from _misc import *
File "/home/adi/develop/wxWidgets/wxPython/wx/_misc.py", line 4, in ?
import _misc_
ImportError: /home/adi/develop/wxWidgets/wxPython/wx/_misc_.so: undefined symbol: _ZN9wxPyTimer12ms_classInfoE
This is under Debian/testing with python 2.3.
Here are the the configure and make options I used.
export SDL_CONFIG=/usr/bin/sdl-config
../configure --prefix=/opt/wx/2.5 \
--with-gtk \
--disable-monolithic \
--enable-debug \
--enable-geometry \
--enable-sound --with-sdl \
--enable-display \
--enable-unicode \
--enable-gtk2 \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
export PATH="/opt/wx/2.5/bin:$PATH"
export LD_LIBRARY_PATH="/opt/wx/2.5/lib"
make $* \
&& make -C contrib/src/gizmos $* \
&& make -C contrib/src/stc $* \
&& make -C contrib/src/xrc $*
cd ~/develop/wxWidgets/wxPython
python2.3 setup.py build_ext --inplace --debug \
WX_CONFIG=/opt/wx/2.5/bin/wx-config \
WXPORT=gtk2 UNICODE=1 BUILD_GLCANVAS=0 BUILD_OGL=0
Gratefull for any hints
Regards
Adi