V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
gouchaoer2
V2EX  ›  问与答

刚升级 autoconf 之后遇到一个奇怪的现象

  •  
  •   gouchaoer2 · Dec 1, 2018 · 1395 views
    This topic created in 2704 days ago, the information mentioned may be changed or developed.
    我 centos6 的 autoconf 版本是 2.63 太老了,于是手动升级了一下,过程如下:

    先切换到 root 用户,
    $ wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
    $ gunzip autoconf-2.69.tar.gz
    $ tar xvf autoconf-2.69.tar
    $ ./configure
    $ make
    $ make install
    Check the version of autoconf:

    $ autoconf --version
    autoconf (GNU Autoconf) 2.69
    Copyright (C) 2012 Free Software Foundation, Inc.

    然后 exit 切换到普通用户,然后邪门了,autoconf 还是老的版本 2.63
    1 replies    2018-12-02 15:42:44 +08:00
    visitant
        1
    visitant  
       Dec 2, 2018 via iPhone
    用 which 看看 root 下和普通用户下的程序文件都指向了哪啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6128 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 02:10 · PVG 10:10 · LAX 19:10 · JFK 22:10
    ♥ Do have faith in what you're doing.