|
From: John H. <jdh...@ac...> - 2004-11-17 22:54:13
|
>>>>> "Rich" == Rich Drewes <dr...@in...> writes:
Rich> Hello, Several users (including Humufr and Niklas Volbers)
Rich> have reported on this list a compile error building
Rich> matplotlib with pygtk. The error looks something like this:
Rich> In file included from src/_gtkagg.cpp:8:
Rich> /usr/include/pygtk-2.0/pygobject.h:124: error: parse error
Rich> before `typename" /usr/include/pygtk-2.0/pygobject.h:131:
Rich> error: parse error before `typename"
Rich> I also experienced this problem. It appears to be some sort
Rich> of namespace collision on the token "typename" (what this is
Rich> colliding with isn't clear). By changing "typename" to
Rich> "typname" or some other spelling in
Rich> /usr/include/pygtk-2.0/pygobject.h I was then able to build
Rich> matplotlib successfully.
Don't do that! That looks brtually hackish.
See http://matplotlib.sourceforge.net/faq.html#PYGTK24
|