My goal is to just get the lastest svn version of matplotlib, or, if
not that, just the 0.99 version, up and working on my Linux (Intrepid
Ibex) computer. I checked it matplotlib out from svn fine, and then,
as per the webpage, did:
cd matplotlib
python setup.py install
and that resulted in a very large amount of errors. I'll post them at
the bottom of this message, since there are many lines.
I previously had 0.98.x installed, via the Ubuntu repositories, but I
have uninstalled it. My version is:
Linux ubuntu 2.6.27-7-generic #1 SMP Fri Oct 24 06:40:41 UTC 2008
x86_64 GNU/Linux
Any help is appreciated. Thank you,
Che
Errors (starting from a few lines before):
creating build/temp.linux-x86_64-2.5/src
creating build/temp.linux-x86_64-2.5/CXX
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1
-I/usr/lib/python2.5/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I.
-I/usr/lib/python2.5/site-packages/numpy/core/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/include/python2.5 -c src/ft2font.cpp -o
build/temp.linux-x86_64-2.5/src/ft2font.o
cc1plus: warning: command line option -Wstrict-prototypes is valid
for Ada/C/ObjC but not for C++
In file included from ./CXX/Extensions.hxx:37,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
./CXX/WrapPython.h:58:20: error: Python.h: No such file or directory
In file included from src/ft2font.cpp:1:
src/ft2font.h:13:22: error: ft2build.h: No such file or directory
src/ft2font.h:14:10: error: #include expects FILENAME or FILENAME
src/ft2font.h:15:10: error: #include expects FILENAME or FILENAME
src/ft2font.h:16:10: error: #include expects FILENAME or FILENAME
src/ft2font.h:17:10: error: #include expects FILENAME or FILENAME
src/ft2font.h:18:10: error: #include expects FILENAME or FILENAME
In file included from
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h:14,
from src/ft2font.cpp:5:
/usr/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:100:2:
error: #error Must use Python with unicode enabled.
In file included from ./CXX/Python3/Exception.hxx:45,
from ./CXX/Python3/Objects.hxx:45,
from ./CXX/Python3/Extensions.hxx:52,
from ./CXX/Extensions.hxx:42,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
./CXX/Python3/IndirectPythonInterface.hxx:50: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:51: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:52: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:53: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:55: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:56: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:57: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:58: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:59: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:60: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:61: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:62: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:63: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:64: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:65: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:66: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:67: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:68: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:69: error: expected
constructor, destructor, or type conversion before ‘*’ token
./CXX/Python3/IndirectPythonInterface.hxx:70: error: expected
constructor, destructor, or type conversion before ‘*’ token