On Mon, Dec 7, 2009 at 7:26 AM, Dali Laadhar <dali.laad...@predictix.com> wrote:
> Hey ALL
>
> I've been trying to install matplotlib-0.99.1.1.
> Getting build errors :
>
> 1/
> [u...@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:
> [u...@mymachine downloads]$ wget 
> http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download
> [u...@mymachine downloads]$ tar -xzvf matplotlib-0.99.1.2.tar.gz
> [u...@mymachine downloads]$ cd matplotlib-0.99.1.1
> [u...@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

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to