zoukankan      html  css  js  c++  java
  • LNMP环境搭建时安装PHP编译报错:make: *** No targets specified and no makefile found. Stop.

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

    无意中发现执行上一个命令./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

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

  • 相关阅读:
    TortoiseGit
    申请成功
    web.xml文件中配置ShallowEtagHeaderFilter需注意的问题
    消息队列调研
    二阶段提交
    ACID CAP BASE介绍
    SQL NULL Values
    HTTPS原理
    ID生成器详解
    如何变得更聪明
  • 原文地址:https://www.cnblogs.com/will-wu/p/12920610.html
Copyright © 2011-2022 走看看