执行configura时提示
configure: error: freetype.h not found.
freetype明明是使用apt-get安装了的。也可以查询到这个文件
但是就是不行
root@ubuntu:/c2ms/packages/php-5.3.28# cat configure |grep freetype.h if test -f "$i/include/freetype2/freetype/freetype.h"; then
{ echo "configure: error: freetype.h not found." 1>&2; exit 1; }
if test -f "$i/include/freetype2/freetype/freetype.h"; then
{ echo "configure: error: freetype.h not found." 1>&2; exit 1; }结果我按照这个路径查找,果然没这个文件
ubuntu安装的目录文件只是这个:
include/freetype2/freetype.h
所以果断
ln -sf /usr/include/freetype2 /usr/include/freetype2/freetype
再次编译通过!
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://sulao.cn/post/362
相关阅读
- ubuntu22.04算力环境基础配置一键验证脚本
- ubuntu22.04算力环境基础配置一键脚本
- ubuntu22.04忘记root密码进入单用户模式修改密码
- ubuntu22.04屏蔽使用apt安装软件时出现弹窗要求选择重启服务的方法
- ubuntu22.04删除系统中的新内核并回退的方法
- ubuntu22.04部署chrony时间同步服务
- ubuntu22.04部署ntp时间同步服务器
- ubuntu22.04切换cgroup v2到cgroup v1
- ubuntu22.04安装nvidia-fabricmanager
- ubuntu22.04使用containerd部署k8s单master集群
评论列表