Hello,
Compiling 2.4.1.2 fails. I'm using a previsously installed version of wxGTK 2.4.1 and using:
python setup.py BUILD_GLCANVAS=0 build
gtk-config --version
1.2.10
wxgtk-2.4-config --version
2.4.1
I'm using Linux 2.4.21, gcc-3.2.2, glibc-2.3.1-r4, Python 2.2.2
Although I have gtk2 installed also, I want wxPython compiled using gtk1.2.10, like wxGTK is compiled with.
Here's what I get:
gcc -DNDEBUG -O2 -mcpu=athlon -pipe -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.2 -c src/gtk/controls2.cpp -o build/temp.linux-i686-2.2/src/gtk/controls2.o -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
gcc -DNDEBUG -O2 -mcpu=athlon -pipe -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.2 -c src/gtk/windows.cpp -o build/temp.linux-i686-2.2/src/gtk/windows.o -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuItem_SetMenu(PyObject*,
PyObject*, PyObject*)':
src/gtk/windows.cpp:10728: no matching function for call to `wxMenuItem::
SetMenu(wxMenu*&)'
error: command 'gcc' failed with exit status 1
!!! ERROR: dev-python/wxPython-2.4.1.2 failed.
!!! Function src_compile, Line 69, Exitcode 1
!!! build failed
Thanks! I'm really looking forward to trying this out, congratulations on the new release.
···
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail