How to overcome “'aclocal-1.15' is missing on your system” warning?

后端 未结 9 1868
有刺的猬
有刺的猬 2020-12-12 11:44

Im trying to run a c++ program on github. (available at the following link https://github.com/mortehu/text-classifier)

I have a mac, and am trying to run it in the t

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 12:06

    You can install the version you need easily:

    First get source:

    $ wget https://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz
    

    Unpack it:

    $ tar -xzvf automake-1.15.tar.gz
    

    Build and install:

    $ cd automake-1.15
    $ ./configure  --prefix=/opt/aclocal-1.15
    $ make
    $ sudo mkdir -p /opt
    $ sudo make install
    

    Use it:

    $ export PATH=/opt/aclocal-1.15/bin:$PATH
    $ aclocal --version
    

    aclocal (GNU automake) 1.15

    Now when aclocal is called, you get the right version.

提交回复
热议问题