|
From: Darren D. <dsd...@gm...> - 2009-12-07 13:05:41
|
On Mon, Dec 7, 2009 at 7:26 AM, Dali Laadhar <dal...@pr...> wrote: > Hey ALL > > I've been trying to install matplotlib-0.99.1.1. > Getting build errors : > > 1/ > [user@MyMachine ~]$ uname -a > Linux target-datalog 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > > 2/ Used this link to download matplotlib: > http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download > > 3/ Used python 2.6.2 > > 4/ STEPS: > [user@MyMachine downloads]$ wget http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download > [user@MyMachine downloads]$ tar -xzvf matplotlib-0.99.1.2.tar.gz > [user@MyMachine downloads]$ cd matplotlib-0.99.1.1 > [user@MyMachine matplotlib-0.99.1.1]$ python setup.py build > > Got this error: > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:13:22: error: ft2build.h: No such file or directory You do not have the freetype2 headers installed. On ubuntu, I think they are provided by the libfreetype6-dev package. Darren |