help2man: can't get `--help' info from automake-1.15 Try `--no-discard-stderr' if option outputs to stderr Makefile:3687: recipe for target 'doc/automake-1.15.1' failed


/**********************************************************************
 *    help2man: can't get `--help' info from automake-1.15 Try `--no-discard-stderr' if option outputs to stderr Makefile:3687: recipe for target 'doc/automake-1.15.1' failed
 * 說明:
 *     在Ubuntu 18.04上編譯Yocto,出現automake使用錯誤。
 *
 *                                2018-6-13 深圳 寶安西鄉 曾劍鋒
 *********************************************************************/

一、參考文檔:
    1. compiling coreutils: help2man: can't get `--help' info from man/cp.td/cp Try `--no-discard-stderr'  
        http://albertcn.blog.163.com/blog/static/2094201452015229784694/

二、解決方法:
    修改Makefile源代碼: /home/zengjf/zengjf/fsl-release-bsp/imx6q-x11/tmp/work/x86_64-linux/automake-native/1.15-r0/build/Makefile
        [...省略]
        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) --no-discard-stderr
        [...省略]

 


免責聲明!

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



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