Hi, I'm trying to get wxPython to compile on my system, and it's
failing with the following messages:
···
----------------------------
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-i686-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/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2
-I/opt/gnome/lib/glib/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'm not c++ savy enough to figure out what might be the problem
here, so if anyone could give me a hand that'd be great. Here's my system
specs:
Slackware 8.0
kernel: 2.4.5
gcc: 2.95.3
python: 2.1.1
wxPython: 2.3.1
wxGTK: 2.2.7
Thats about it. Again, if anyone can help me out, thanks a ton.
I'd really like to get this working.
________________________________________________________________________
Mike Barrett | "I used to read, now I go to raves."
mike@daboyz.org | -- Random MUNI Rider, speaking
www.daboyz.org | to my friend Allison.
------------------------+-----------------------------------------------