WARNING: 'automake-1.14' is missing on your system.


檢查發現其實已經安裝了automake,只不過版本是automake-1.15.1

$ automake --version automake (GNU automake) 1.15.1

解決方法一
    參考https://github.com/UBERTC/isl/issues/1,在 /usb/bin 目錄為 automake-1.14 和 aclocal-1.14 創建軟鏈接

$ sudo ln -s /usr/bin/automake-1.15 /usr/bin/automake-1.14
$ sudo ln -s /usr/bin/aclocal-1.15 /usr/bin/aclocal-1.14


    如果 解決方法一 不能解決問題的話請參考 解決方法二

解決方法二
    降級automake的版本到1.14

$ wget http://ftp.gnu.org/gnu/automake/automake-1.14.1.tar.gz
$ tar -xvf automake-1.14.1.tar.gz
$ cd automake-1.14.1
$ ./configure
$ make
$ sudo make install

降級后重新登錄 Ubuntu,查看 automake 版本

$ automake --version
automake (GNU automake) 1.14.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.


附:降級過程可能會碰到以下問題:

help2man: can’t get `–help’ info from automake-1.14

help2man: can't get `--help' info from automake-1.14
Try `--no-discard-stderr' if option outputs to stderr
make: *** [doc/automake-1.14.1] Error 255

碰到上述錯誤提示可以參考https://www.cnblogs.com/zengjfgit/p/9178571.html
以下是我的解決Patch:

diff --git a/Makefile b/Makefile
index e01261c..176ccba 100644
--- a/Makefile
+++ b/Makefile
@@ -3704,7 +3704,7 @@ doc/aclocal.1 doc/automake.1:
 doc/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm
        $(update_mans) aclocal-$(APIVERSION)
 doc/automake-$(APIVERSION).1: $(automake_script) lib/Automake/Config.pm
-       $(update_mans) automake-$(APIVERSION)
+       $(update_mans) automake-$(APIVERSION) --no-discard-stderr



原文鏈接:https://blog.csdn.net/rainforest_c/article/details/82724554


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM