From: Christian K. <ck...@ho...> - 2005-09-08 08:00:07
|
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 1 > > Where 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. Regards, Christian |