猜测是少 了点什么东西,未果,继续网上寻找解决方法

无意中发现执行上一个命令./configure时末尾有报错,粗心未发现:

configure: error: Please reinstall the libcurl distribution -
easy.h should be in /include/curl/

解决方法:

yum -y install curl-devel

重新执行./configure命令编译,报错:

configure: error: jpeglib.h not found.

解决方法:

yum -y install libjpeg-devel

再执行./configure,继续报错:
configure: error: png.h not found.

解决方法:

yum install libpng

yum install libpng-devel

再执行./configure,还报错:

configure: error: freetype.h not found.

解决方法:

yum install freetype-devel

版本:centos 7.7+PHP 5.3.29

小白有点懵,想不明白为什么会少了几个依赖,记录一下问题

相关文章:

  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2022-01-21
  • 2021-04-09
  • 2021-08-17
  • 2022-02-08
  • 2021-12-14
猜你喜欢
  • 2021-12-07
  • 2021-11-17
  • 2021-07-30
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案