Hi-
I'm trying to build wxPython on a Sun machine with Solaris 8 and
gcc 3.2.2. The wxGTK build goes without a hitch. The wxPython
build fails almost immediately with complaints about "no matching
function" in printfw.cpp (see below). Any ideas as to how I might
fix this?
Thanks!
Tom Loredo
wxPython% python setup.py WX_CONFIG=$WXPREF/bin/wx-config build install
Preparing CORE...
Preparing GLCANVAS...
Preparing OGL...
Preparing STC...
Preparing XRC...
Preparing GIZMOS...
Preparing DLLWIDGET...
running build
running build_py
copying wxPython/__version__.py -> build/lib.solaris-2.8-sun4u-2.2/wxPython
running build_ext
building 'wxc' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/home/laplace/include -I/usr/local/include -fPIC
-DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/home/laplace/include/python2.2 -c
src/gtk/printfw.cpp -o build/temp.solaris-2.8-sun4u-2.2/src/gtk/printfw.o
-I/home/laplace/lib/wxPython/lib/wx/include/gtkd-2.4 -I/home/laplace/lib/wxPython/include
-D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/home/laplace/include/gtk-1.2
-I/home/laplace/include/glib-1.2 -I/home/laplace/lib/glib/include -I/usr/openwin/include
src/gtk/printfw.cpp: In function `PyObject* _wrap_wxPrintData_Ok(PyObject*,
PyObject*, PyObject*)':
src/gtk/printfw.cpp:323: no matching function for call to `wxPrintData::Ok()'
src/gtk/printfw.cpp: In function `PyObject*
_wrap_wxPageSetupDialogData_Ok(PyObject*, PyObject*, PyObject*)':
src/gtk/printfw.cpp:2328: no matching function for call to `
wxPageSetupDialogData::Ok()'
src/gtk/printfw.cpp: In function `PyObject*
_wrap_wxPrintDialogData_Ok(PyObject*, PyObject*, PyObject*)':
src/gtk/printfw.cpp:3258: no matching function for call to `wxPrintDialogData::
Ok()'
error: command 'gcc' failed with exit status 1