Hello, Several users (including Humufr and Niklas Volbers)
> have reported on this list a compile error building
> matplotlib with pygtk. The error looks something like this:
> In file included from src/_gtkagg.cpp:8:
> /usr/include/pygtk-2.0/pygobject.h:124: error: parse error
> before `typename" /usr/include/pygtk-2.0/pygobject.h:131:
> error: parse error before `typename"
> I also experienced this problem. It appears to be some sort
> of namespace collision on the token "typename" (what this is
> colliding with isn't clear). By changing "typename" to
> "typname" or some other spelling in
> /usr/include/pygtk-2.0/pygobject.h I was then able to build
> matplotlib successfully.
Don't do that! That looks brtually hackish.