7 Oct 18:23
Compilation problems on Fedora Core2.
From: Venkat Ramanan <venkat@...>
Subject: Compilation problems on Fedora Core2.
Newsgroups: gmane.comp.python.matplotlib.general
Date: 2008-10-07 16:26:14 GMT
Subject: Compilation problems on Fedora Core2.
Newsgroups: gmane.comp.python.matplotlib.general
Date: 2008-10-07 16:26:14 GMT
Hi all,
Both the latest matplotlib (0.98.3) and the maintenance release (0.91.4)
fail to compile for me with identical error msg.
I'm using Fedora Core 2, which I can't upgrade unfortunately.
I've installed python2.5.2, numpy-1.1.1, pygtk-2.4 and they seem work ok.
The relevant line is,
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -I/usr/include/libpng12 -I/usr/local/include
-I/usr/include -I. -Isrc -Iswig -Iagg23/include -I.
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/usr/local/include -I/usr/include -I. -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/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2/config -I/data/opt/include/python2.5 -c
src/_gtkagg.cpp -o build/temp.linux-i686-2.5/src/_gtkagg.o
In file included from /data/opt/include/python2.5/Python.h:8,
from /usr/include/pygtk-2.0/pygobject.h:5,
from src/_gtkagg.cpp:10:
/data/opt/include/python2.5/pyconfig.h:942:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from /usr/include/string.h:26,
from /usr/include/c++/3.3.3/cstring:51,
from src/_gtkagg.cpp:1:
/usr/include/features.h:132:1: warning: this is the location of the
(Continue reading)
RSS Feed