V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
xinlai
V2EX  ›  Linux

求助大神, Linux 环境下 phpize 安装 curl 扩展引发的问题

  •  
  •   xinlai · Mar 12, 2018 · 3076 views
    This topic created in 2972 days ago, the information mentioned may be changed or developed.

    phpize 安装 curl 扩展提示需要 autoconf,然后安装 autoconf 的话需要先安装 m4,本人尝试了安装 1.4.10, 1.4.9, 1.4.16 1.4.18 等版本的 m4,但安装后在安装 autoconf 时都出现 https://gist.github.com/star-counter/07bac6a4f796fde067231f84a90f18db

    因为是内网环境因此只能用源码编译安装的笨方法,有没有大神知道为什么 autoconf 安装时一直找不到 m4 吗,我也试着把 m4 的安装路径加入环境变量了,但是问题依旧

    3 replies    2018-03-12 18:04:53 +08:00
    blackeeper
        1
    blackeeper  
       Mar 12, 2018
    安装 m4 的时候安装到默认的路径试试,别加 prefix
    xinlai
        2
    xinlai  
    OP
       Mar 12, 2018
    @blackeeper 报了另外的错,实在忍不了了,想办法开了外网直接 yum 装了。。。源码编译安装这些东西真是折磨人
    Beebird
        3
    Beebird  
       Mar 12, 2018
    读 configure 文件,看看 m4 的路径是如何检查的,同时和系统中的 m4 相比较。
    另一个办法就是建个 proxy 供 yum 使用,不用每次都开外网了。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   794 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:42 · PVG 04:42 · LAX 13:42 · JFK 16:42
    ♥ Do have faith in what you're doing.