Nils Wagner wrote:
Christian Kristukat wrote:
Nils Wagner wrote:
Hi all,
I am trying to build matplotlib from cvs on SuSE 9.1.
python setup.py build results in
src/_wxagg.cpp:55:34: wx/wxPython/wxPython.h: No such file or directory
src/_wxagg.cpp: In member function `Py::Object
_wxagg_module::convert_agg_to_wx_image(const Py::Tuple&)':
src/_wxagg.cpp:105: error: `wxPyConstructObject' undeclared (first use
this function)
src/_wxagg.cpp:105: error: (Each undeclared identifier is reported only
once for each function it appears in.)
src/_wxagg.cpp: In member function `Py::Object
_wxagg_module::convert_agg_to_wx_bitmap(const Py::Tuple&)':
src/_wxagg.cpp:129: error: `wxPyConstructObject' undeclared (first use
this function)
src/_wxagg.cpp: In function `void init_wxagg()':
src/_wxagg.cpp:260: error: `wxPyCoreAPI_IMPORT' undeclared (first use
this function)
error: command 'gcc' failed with exit status 1Where can I find wxPython.h ?
cvs/matplotlib> rpm -qi python-wxGTK
Have you installed python-wxGTK-devel as well? The include files
should be there. Btw. the rpm packages from wxpython.org work without
problems on SuSE and are more recent than those shipped.Unfortunately, SuSE 9.1 comes without python-wxGTK-devel.
Which rpm's (from wxpython.org) are necessary and can be used with SuSE
9.1 ?
On 9.2 I'm using those:
wxPython2.6-gtk2-unicode-2.6.1.0-1_py2.3
wxPython2.6-devel-gtk2-unicode-2.6.1.0-1_py2.3
wxPython-common-gtk2-unicode-2.6.0.1-1_py2.3
Christian