执行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编译安装hwloc/libevent/ucx/openpmix/openmpi
- ubuntu安装openvpn并配置连接
- ubuntu22.04使用gpu-burn进行gpu显卡测试
- ubuntu24.04使用deepin-wine安装企业微信
- ubuntu在线安装mysql8无法使用账户密码登陆的问题
- ubuntu22.04编译安装mysql8
- ubuntu22.04编译安装nginx
- ubuntu22.04撰写定时重启和开机启动执行指定脚本
- ubuntu22.04安装nvidia-container-runtime
- ubuntu22.04离线安装containerd和crictl管理工具
评论列表