On Mon, Apr 19, 2010 at 4:30 AM, LUK ShunTim <lukshun...@gmail.com> wrote:
> On 04/19/2010 01:52 PM, C M wrote:
>> 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
>
> You seem not to have the development package of python installed.
> Try "sudo apt-get install python-dev".

It looks like you are need to install libfreetype6-dev. Any time you
see missing .h files in your output, it means you need to install the
development headers for that package.

Darren

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to