I just built wxPython 2.5.4.1 from sources on linux. It took a while to figure some options out. First I configured and built with this:
…/configure --prefix=/nasrtmp1/share
–with-gtk
–enable-display
–enable-optimize
–enable-unicode
which went fine and seems to build wx widgets. Then I had a hard time figuring out how to add the package to python, but finally found this:
python setup.py build_ext WXPORT=gtk2 UNICODE=1 BUILD_OGL=0 BUILD_GLCANVAS=0
Seemed to work. Demo.py started to display, but then I got a core dump… Any ideas?
#0 0x402391d8 in __morecore () from /lib/libc.so.6
#1 0x75620000 in ?? ()
#2 0x000010bf in ?? ()
#3 0x4046d796 in _wrap_EvtHandler__setOORInfo (args=0x402391b0,
kwargs=0x402391b0) at /nasrtmp1/share/include/wx-2.5/wx/event.h:2360
#4 0x0810267e in PyCFunction_Call (func=0x4038fecc, arg=0x4028f36c, kw=0x1)
at Objects/methodobject.c:77
#5 0x0805c219 in PyObject_Call (func=0x1, arg=0x402391b0, kw=0x402391b0)
at Objects/abstract.c:1746
#6 0x080af1fd in ext_do_call (func=0x4038fecc, pp_stack=0x4028f36c, flags=3,
na=1076072880, nk=0) at Python/ceval.c:3824
#7 0x080ad318 in PyEval_EvalFrame (f=0x8175bf4) at Python/ceval.c:2203
#8 0x080ad96e in PyEval_EvalCodeEx (co=0x40307520, globals=0x402391b0,
locals=0x1, args=0x8175430,
argcount=2, kws=0x8175438, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2730
#9 0x080aedfb in fast_function (func=0x1, pp_stack=0xbfffc6ec, n=2,
na=1076072880, nk=135746608) at Python/ceval.c:3640
#10 0x080ae9e4 in call_function (pp_stack=0xbfffc6ec, oparg=1076072880)
at Python/ceval.c:3568
#11 0x080acf2a in PyEval_EvalFrame (f=0x81752d4) at Python/ceval.c:2163
#12 0x080ad96e in PyEval_EvalCodeEx (co=0x411e05a0, globals=0x402391b0,
locals=0x1, args=0x402966f8, argcount=6, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2730