It should look in /usr/include and /usr/local/include by default.  Is it 
in either place?

On 08/06/2013 10:16 PM, Matthew Brett wrote:
> Hi,
>
> Continuing my adventures with setuptools....
>
> I'm installing matplotlib into a clean + numpy virtualenv with python.org 2.7
>
> I have CC=clang in order to involve some header problems with the
> default gcc compiler.
>
> numpy compiles and installs OK.
>
> pip install matplotlib errors with:
>
> clang -fno-strict-aliasing -fno-common -dynamic -isysroot
> /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG
> -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1 -I/usr/local/include -I/usr/include
> -I/usr/X11/include -I.
> -I/Users/mb312/.virtualenvs/py27-mpl/lib/python2.7/site-packages/numpy/core/include
> -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -c src/ft2font.cpp -o build/temp.macosx-10.6-intel-2.7/src/ft2font.o
>
> In file included from src/ft2font.cpp:3:
>
> In file included from src/ft2font.h:16:
>
> /usr/X11/include/ft2build.h:56:10: fatal error:
> 'freetype/config/ftheader.h' file not found
>
> #include <freetype/config/ftheader.h>
>
>           ^
>
> 1 error generated.
>
> error: command 'clang' failed with exit status 1
>
> I guess I need freetype installed in /usr/local separately?
>
> Thanks for your help,
>
> Matthew
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to