|
From: Fernando P. <Fer...@co...> - 2005-01-04 01:33:11
|
Hi all,
I wonder if anyone is using FedoraCore3. I'd been recently building
matplotlib RPMs with my Fedora 2 destktop without any troubles (after patching
distutils to ignore a multiple RPMs assertion). I just upgraded my desktop to
Fedora 3, and now the build fails with:
root@planck[matplotlib-0.70]# python setup.py build
running build
running build_py
running build_ext
building 'matplotlib.backends._gtkagg' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -D_GNU_SOURCE -fPIC -fPIC -I/usr/local/include -I/usr/include
-Isrc -Iagg22/include -I. -I/usr/local/include -I/usr/include
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -Isrc/freetype2
-Iagg22/include/freetype2 -I./freetype2 -I/usr/local/include/freetype2
-I/usr/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/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -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
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/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:51,
from src/_gtkagg.cpp:1:
/usr/include/features.h:150:1: warning: this is the location of the previous
definition
In file included from src/_gtkagg.cpp:8:
/usr/include/pygtk-2.0/pygobject.h:140: error: expected `,' or `...' before
"typename"
/usr/include/pygtk-2.0/pygobject.h:147: error: expected `,' or `...' before
"typename"
error: command 'gcc' failed with exit status 1
Does anyone have a hint of what may be going on here? I looked at the
pygobject.h file, but nothing jumps to my eye as obviously wrong.
Any help would be much appreciated.
Cheers,
f
|