Can anyone please help with the following wxPython-2.3.0 build problem?
sys.prefix
'/opt/local/bin/../stow/Python-2.0'
sys.exec_prefix
'/opt/local/bin/../stow/Python-2.0'
SunOS mango 5.8 Generic_108528-08 sun4u sparc
I have the following installed
1) glib-1.2.10
2) gtk+-1.2.10
3) wxGTK-2.2.7
4) Python-2.0
5) Is there something else required before the wxPython-2.3.0 build ???
In trying to build wxPython-2.3.0, I get the following failure
···
================================================================
gcc -g -O2 -Wall -Wstrict-prototypes -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/opt/local/stow/Python-2.0/include/python2.0 -c src/gtk/wx.cpp -o build/temp.solaris-2.8-sun4u-2.0/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/include/glib-1.2 -I/usr/local/lib/glib/include -I/opt/local/stow/X11R6.5.1/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
Thanks!
--
regards School of Computer Science and Electrical Engineering,
Clary Harridge University of Queensland, QLD, Australia, 4072
Phone: +61-7-3365-3636 Fax: +61-7-3365-2909
INTERNET: clary@csee.uq.edu.au