我一直在尝试在Ubuntu 14.04 64位上编译wine,我不能在我的生活中找出我在这里缺少的包依赖.我跟着winehq 的指南,并且能够很好地完成它...但是现在我正在尝试编译一个修补版本的葡萄酒,这样我就能以更好的性能运行星际争霸2.当我运行./configure时,我收到以下错误
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.
Run Code Online (Sandbox Code Playgroud)
我已尝试安装libfreetype6-dev:i386和libfreetype6:i386许多其他变体,但总是得到相同的错误消息后./configure.有任何想法吗?
Jor*_*amp 12
libfreetype6-dev 是我需要的包裹.问题是这个包安装了编译所需的头文件,/usr/include/freetype2但configure脚本正在查找头文件/usr/include/freetype.于是,我找到了解决办法是添加一个符号链接的/usr/include指向/usr/include/freetype2被调用freetype.这可以在这样的终端中完成.
sudo ln -s /usr/include/freetype2 /usr/include/freetype
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7508 次 |
| 最近记录: |