checking for FlatFile support... no

checking whether to enable DBA interface... no

checking whether to enable DOM support... yes

checking for xml2-config path... (cached) /usr/bin/xml2-config

checking whether libxml build works... (cached) yes

checking for ENCHANT support... no

checking whether to enable EXIF (metadata from images) support... no

checking for fileinfo support... no

checking whether to enable input filter support... yes

checking pcre install prefix... no

checking whether to enable FTP support... yes

checking OpenSSL dir for FTP... no

checking for GD support... yes

checking for the location of libwebp... no

checking for the location of libjpeg... yes

checking for the location of libpng... yes

checking for the location of libXpm... no

checking for FreeType 2... yes

checking whether to enable truetype string function in GD... yes

checking whether to enable JIS-mapped Japanese font support in GD... no

If configure fails try --with-webp-dir=<DIR>

checking for jpeg_read_header in -ljpeg... yes

checking for png_write_image in -lpng... yes

If configure fails try --with-xpm-dir=<DIR>

configure: error: freetype-config not found.

做一个链接咯

ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h

我在ubuntu下是这样搞的

当然如果libfreetype?-dev都没有那就没办法了

都用php7了 好先进

apt-get -y install libfreetype6-dev

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐