I try to compile wxPython 2.6.3.3 from sources on Slackware. I run the
following command:
python setup.py WXPORT=gtk2 UNICODE=1 \
BUILD_GLCANVAS=0 USE_SWIG=1 \
SWIG=/usr/bin/swig install
At the beginning, it seems right, but after I obtain errors (complete
log in enclosure).
Some details
gcc version: 3.3.6
kernel: 2.4.31
wxWidgets version: 2.6.3.1
I try to compile wxPython 2.6.3.3 from sources on Slackware. I run the
following command:
python setup.py WXPORT=gtk2 UNICODE=1 \
BUILD_GLCANVAS=0 USE_SWIG=1 \
SWIG=/usr/bin/swig install
At the beginning, it seems right, but after I obtain errors (complete
log in enclosure).
Some details
gcc version: 3.3.6
kernel: 2.4.31
wxWidgets version: 2.6.3.1
src/gtk/_windows_wrap.cpp: Dans function « PyObject*
_wrap_PrintData_GetPrinterCommand(PyObject*, PyObject*, PyObject*) »:
src/gtk/_windows_wrap.cpp:21676: error: `GetPrinterCommand' undeclared (first use this function)
...
Looks like your wxWidgets was configured with the --disable-compat24 flag, which removes some older code that wxPython is expecting to still be there. You'll need to rebuild wxWidgets configured with --enable--compat24.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!