From: Niklas V. <Mit...@we...> - 2004-09-29 06:21:28
|
Hello! I have tried using matplotlib with pygtk 2.2 and everything worked fine. But when I try to compile matplotlib (0.62.4) with the newest version of pygtk, pygtk-2.3.96, I get the error included below. Since this pygtk version is still in development, this might as well be a bug in pygtk. Maybe you can help me solve my problem, Niklas. -------------------------------------------- building 'matplotlib.backends._gtkagg' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mcpu=i686 -fPIC -I/u sr/local/include -I/usr/include -Isrc -Iagg2/include -I. -I/usr/local/include -I /usr/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 -Isrc/freet ype2 -Iagg2/include/freetype2 -I./freetype2 -I/usr/local/include/freetype2 -I/us r/include/freetype2 -I/usr/local/include -I/usr/include -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/u sr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X1 1R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0 /include -I/usr/include/python2.3 -c src/_gtkagg.cpp -o build/temp.linux-i686-2. 3/src/_gtkagg.o -DNUMARRAY In file included from /usr/include/python2.3/Python.h:8, from /usr/include/pygtk-2.0/pygobject.h:5, from src/_gtkagg.cpp:8: /usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/string.h:26, from /usr/include/c++/3.3.4/cstring:51, from src/_gtkagg.cpp:1: /usr/include/features.h:131:1: warning: this is the location of the previous def inition 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' error: command 'gcc' failed with exit status 1 ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 |