Hi all,
I've successfully installed several versions of wxPython on various windows
and linux platforms, but I've run into a problem on SuSe, that I can't
figure out.
We have Python 2.0 installed (originally we had installed 2.1b1, but backed
down to 2.0 hoping that might solve this issue -- it didn't). wxGTK-2.2.5
is installed (from source), and wxGTK-gl-2.2.5-1 is installed (from rpm --
couldn't find source for that one). When trying the command "python
setup.py build" it chugs along pleasantly for a few screens full of
information, and then barfs with the following output:
building 'glcanvasc' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fpic -DSWIG_GLOBAL -DHAVE_CONFIG_H -DW
XP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.0 -c
contrib/glcanvas/gtk/glcanvas.cpp -o
build/temp.linux-i586-2.0/contrib/glcanvas/gtk/glcanvas.o -I/usr/lib/glib/in
clude -I/usr/X11R6/include
In file included from /usr/X11R6/include/wx/defs.h:224,
from /usr/X11R6/include/wx/wx.h:15,
from src/helpers.h:16,
from src/export.h:21,
from contrib/glcanvas/gtk/glcanvas.cpp:58:
/usr/X11R6/include/wx/setup.h:15: #error No __WXxxx__ define set! Please
define one of
__WXBASE__,__WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__WXS
TUBS__
Thank you very much for your time,
~c