Question: I want to install PIL on Mavericks using pip but get this error.

```
_imagingft.c:73:10: fatal error: 'freetype/fterrors.h' file not found
#include <freetype/fterrors.h>
         ^
1 error generated.
error: command 'cc' failed with exit status 1

```

My Command Line Tools are installed and up to date and every hint I found didn't help.
How can I get this to compile?

EDIT: I just checked, freetype is also already installed via homebrew

Answer: 
I've solved this problem with this symlink:

```
ln -s /usr/local/Cellar/freetype/2.5.1/include/freetype2 /usr/local/include/freetype

```

I have freetype already installed via homebrew too.
In my OSx, I found the `.h` file in `/opt/local/include/freetype2` direcoty. So, I type

```
sudo ln -s /opt/local/include/freetype2/ /usr/local/include/freetype

```

it works

Maybe the best way is to add `/opt/local/include` to your clang's include path.