-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't directly include fterrors.h #435
Comments
Oh well, it seems like the include path is actually not the problem. The error I get is the following: _imagingft.c:62:31: fatal error: freetype/fterrors.h: No such file or directory the file layout of libfreetype6-dev on Debian/unstable is: [...] quote from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731015 """ #include <ft2build.h> As this is the only supported interface, and this interface has not changed |
I've got the exact same error using Archlinux. |
Pull request, anyone? |
appears to be fixed in master already by c6040f6, sorry for the noise |
I was hitting this issue when running bootstrap.py; python-pillow/Pillow#435 Using the latest Pillow version resolves it for me.
Edit: see below for actual error...
On Debian, freetype has its include files in /usr/include/freetype2, and compilation of Pillow 2.2.1 fails. But instead of adding a line for each and every system, consider using pkg-config instead:
$ pkg-config freetype2 --cflags
-I/usr/include/freetype2
A nice implementation can be found in matplotlib: https://github.com/matplotlib/matplotlib/blob/master/setupext.py
The text was updated successfully, but these errors were encountered: