I have been trying to compile wine on Ubuntu 14.04 64-bit and I can't for the life of me figure out what package dependency I'm missing here. I followed along with the guide on winehq and was able to complete it fine... however now I'm trying to compile a patched version of wine so I can run starcraft 2 with better performance. When I run ./configure i get the following error
checking for freetype/freetype.h... no
checking for freetype/ftglyph.h... no
checking for freetype/fttypes.h... no
checking for freetype/tttables.h... no
checking for freetype/ftsnames.h... no
checking for freetype/ttnameid.h... no
checking for freetype/ftoutln.h... no
checking for freetype/ftwinfnt.h... no
checking for freetype/ftmodapi.h... no
checking for freetype/ftlcdfil.h... no
checking for FT_TrueTypeEngineType... no
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.
I've tried installing libfreetype6-dev:i386
and libfreetype6:i386
and many other variations but always get the same error message after ./configure
. any ideas?
libfreetype6-dev
is the package that I needed. The issue is that this package installs the header files needed for the compilation in /usr/include/freetype2
but the configure
script is looking for the headers in /usr/include/freetype
. So the solution I found was to add a symbolic link in /usr/include
that points to /usr/include/freetype2
that is called freetype
. This can be done in the terminal like this.
sudo ln -s /usr/include/freetype2 /usr/include/freetype