[wxPython] wxPython 2.3.0 compilation problems

Python 2.1
wxGTK 2.2.7
wxPython 2.3.0
gcc --version 2.95.4
Debian unstable

building 'wxc' extension
skipping src/helpers.cpp (build/temp.linux-i586-2.1/src/helpers.o up-to-date)
skipping src/libpy.c (build/temp.linux-i586-2.1/src/libpy.o up-to-date)
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1 -c src/gtk/wx.cpp -o build/temp.linux-i586-2.1/src/gtk/wx.o -I/usr/local/include -I/usr/local/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
src/gtk/wx.cpp: In function `struct PyObject * ptrset(PyObject *, PyObject *, int, char *)':
src/gtk/wx.cpp:381: warning: unused variable `struct PyObject * obj'
src/gtk/wx.cpp: In function `struct PyObject * ptradd(PyObject *, int)':
src/gtk/wx.cpp:467: warning: `struct PyObject * obj' might be used uninitialized in this function
src/gtk/wx.cpp: In function `void initwxc(...)':
src/gtk/wx.cpp:1886: `wxFRAME_NO_TASKBAR' undeclared (first use this function)
src/gtk/wx.cpp:1886: (Each undeclared identifier is reported only once
src/gtk/wx.cpp:1886: for each function it appears in.)
src/gtk/wx.cpp:1887: `wxFRAME_EX_CONTEXTHELP' undeclared (first use this function)
src/gtk/wx.cpp:1914: `wxADJUST_MINSIZE' undeclared (first use this function)
src/gtk/wx.cpp:1985: `wxLC_HRULES' undeclared (first use this function)
src/gtk/wx.cpp:1986: `wxLC_VRULES' undeclared (first use this function)
src/gtk/wx.cpp:2091: `wxCHANGE_DIR' undeclared (first use this function)
src/gtk/wx.cpp:2319: `wxCURSOR_ARROWWAIT' undeclared (first use this function)
src/gtk/wx.cpp:2419: `wxEVT_MOUSEWHEEL' undeclared (first use this function)
src/gtk/wx.cpp:2500: `wxEVT_HELP' undeclared (first use this function)
src/gtk/wx.cpp:2501: `wxEVT_DETAILED_HELP' undeclared (first use this function)
src/gtk/wx.cpp: At top level:
src/gtk/wx.cpp:61: warning: `struct PyObject * t_output_helper(PyObject *, PyObject *)' defined but not used
error: command 'gcc' failed with exit status 1

Any ideas?

Thanks.

Ross Brattain
netmgr@canterburycrest.org

Python 2.1
wxGTK 2.2.7
wxPython 2.3.0

You need a 2.3.0 version of wxGTK. There wasn't an official release but you
can get the source packages I made from

or checkout a copy from CVS using the wxPy_2_3_0 tag.

ยทยทยท

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