Compiling wxPYTHON

Hi all.

I've been battling for a couple of days with the compilation/installation
of wxPython. I followed the instruction on the wiki pages, but compilation
halted when trying to build wxPython itself:

running build_ext
building '_gdi_' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mtune=i686 -fPIC
-DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1
-UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -Iinclude -Isrc
-I/usr/local/lib/wx/include/gtk2-unicode-release-2.7 -I/usr/local/include/wx-2.7
-I/usr/include/cairo -I/usr/X11/include/freetype2 -I/usr/X11/include
-I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/usr/include/python2.4 -c
src/gtk/_gdi_wrap.cpp -o

build-gtk2.unicode/temp.linux-i686-2.4/src/gtk/_gdi_wrap.o -pthread -O3
src/gtk/_gdi_wrap.cpp:3714:24: wx/dcgraph.h: No such file or directory
src/gtk/_gdi_wrap.cpp:3717:24: wx/overlay.h: No such file or directory
src/gtk/_gdi_wrap.cpp: In function `PyObject* _wrap_new_MemoryDC(PyObject*,
PyObject*, PyObject*)':
src/gtk/_gdi_wrap.cpp:23158: error: no matching function for call to
`wxMemoryDC::wxMemoryDC(const wxBitmap&)'

I searched for dcgraph and overlay and they really don't exist.

The versions used are:

wxGTK-2.7.1
wxPython~2.7.1.3

According to some comments, 2.7.1.3 is a development version, but I
couldn't find other versions...

I'd appreciate suggestions
John

John wrote:

The versions used are:

wxGTK-2.7.1
wxPython~2.7.1.3

According to some comments, 2.7.1.3 is a development version, but I couldn't find other versions...

There's the wxGTK 2.7.1.3 version in the wxPython tarball. Use that one.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!