[wxPython] roadblock in my install process

Hi,
    I'm having trouble getting up and running on debian (actually progeny) with the latest wxPython. wxGTK-2.2.7 built fine (the only option i chose was --with-gtk), but when i get to the wxPython build i get

python2.1 setup.py build
Preparing CORE...
Preparing GLCANVAS...
Preparing OGL...
Preparing STC...
Preparing XRC...
running build
running build_py
not copying wxPython/wx.py (output up-to-date)
not copying wxPython/windows.py (output up-to-date)
not copying wxPython/windows2.py (output up-to-date)
not copying wxPython/windows3.py (output up-to-date)
not copying wxPython/events.py (output up-to-date)
not copying wxPython/misc.py (output up-to-date)
not copying wxPython/misc2.py (output up-to-date)
not copying wxPython/gdi.py (output up-to-date)
not copying wxPython/mdi.py (output up-to-date)
not copying wxPython/controls.py (output up-to-date)
not copying wxPython/controls2.py (output up-to-date)
not copying wxPython/cmndlgs.py (output up-to-date)
not copying wxPython/stattool.py (output up-to-date)
not copying wxPython/frames.py (output up-to-date)
not copying wxPython/image.py (output up-to-date)
not copying wxPython/printfw.py (output up-to-date)
not copying wxPython/sizers.py (output up-to-date)
not copying wxPython/clip_dnd.py (output up-to-date)
not copying wxPython/filesys.py (output up-to-date)
not copying wxPython/streams.py (output up-to-date)
not copying wxPython/__init__.py (output up-to-date)
not copying wxPython/__version__.py (output up-to-date)
not copying wxPython/grid.py (output up-to-date)
not copying wxPython/html.py (output up-to-date)
not copying wxPython/htmlhelp.py (output up-to-date)
not copying wxPython/utils.py (output up-to-date)
not copying wxPython/calendar.py (output up-to-date)
not copying wxPython/glcanvas.py (output up-to-date)
not copying wxPython/ogl.py (output up-to-date)
not copying wxPython/oglbasic.py (output up-to-date)
not copying wxPython/oglshapes.py (output up-to-date)
not copying wxPython/oglshapes2.py (output up-to-date)
not copying wxPython/oglcanvas.py (output up-to-date)
not copying wxPython/stc_.py (output up-to-date)
not copying wxPython/stc.py (output up-to-date)
not copying wxPython/xrc.py (output up-to-date)
not copying wxPython/lib/CDate.py (output up-to-date)
not copying wxPython/lib/__init__.py (output up-to-date)
not copying wxPython/lib/activexwrapper.py (output up-to-date)
not copying wxPython/lib/anchors.py (output up-to-date)
not copying wxPython/lib/buttons.py (output up-to-date)
not copying wxPython/lib/calendar.py (output up-to-date)
not copying wxPython/lib/colourdb.py (output up-to-date)
not copying wxPython/lib/colourselect.py (output up-to-date)
not copying wxPython/lib/dialogs.py (output up-to-date)
not copying wxPython/lib/fancytext.py (output up-to-date)
not copying wxPython/lib/filebrowsebutton.py (output up-to-date)
not copying wxPython/lib/floatbar.py (output up-to-date)
not copying wxPython/lib/grids.py (output up-to-date)
not copying wxPython/lib/imagebrowser.py (output up-to-date)
not copying wxPython/lib/infoframe.py (output up-to-date)
not copying wxPython/lib/layoutf.py (output up-to-date)
not copying wxPython/lib/mvctree.py (output up-to-date)
not copying wxPython/lib/pyshell.py (output up-to-date)
not copying wxPython/lib/rpcMixin.py (output up-to-date)
not copying wxPython/lib/shell.py (output up-to-date)
not copying wxPython/lib/splashscreen.py (output up-to-date)
not copying wxPython/lib/vtk.py (output up-to-date)
not copying wxPython/lib/wxPlotCanvas.py (output up-to-date)
not copying wxPython/lib/wxpTag.py (output up-to-date)
not copying wxPython/lib/editor/__init__.py (output up-to-date)
not copying wxPython/lib/editor/editor.py (output up-to-date)
not copying wxPython/lib/editor/py_editor.py (output up-to-date)
not copying wxPython/lib/editor/tokenizer.py (output up-to-date)
running build_ext
building 'wxc' extension
creating build/temp.linux-i586-2.1
creating build/temp.linux-i586-2.1/src
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/helpers.cpp -o build/temp.linux-i586-2.1/src/helpers.o -I/usr/local/include -I/usr/local/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -I/usr/local/include/gtk-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include
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/libpy.c -o build/temp.linux-i586-2.1/src/libpy.o -I/usr/local/include -I/usr/local/lib/wx/include -D__USE_WXCONFIG__ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -I/usr/local/include/gtk-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include
creating build/temp.linux-i586-2.1/src/gtk
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/local/include/gtk-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/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

i built my python2.1 from source and it seems to work just fine -- please let me know if there is more information i need to supply to troubleshoot this -- i haven't done anything at all with openGL, but my understanding was that i could build without it.

    thanx very much in advance,
        ~s

    I'm having trouble getting up and running on debian (actually
progeny) with the latest wxPython. wxGTK-2.2.7 built fine (the only
option i chose was --with-gtk), but when i get to the wxPython build i get

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

You seem to be using a 2.3.x of wxPython. If you are going to use 2.2.7 of
wxGTK then you also need to use a 2.2.x of wxPython. (The latest binaries I
did were 2.2.5, but there is a 2.2.7 source tarball at
Download wxPython-2.2.7.tar.gz (wxPython))

···

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