help2man: can't get `--help' info from automake-1.15 Try `--no-discard-stderr' if option outputs to ...

解决Yocto编译automake错误
本文介绍了解决在Ubuntu18.04环境下编译Yocto项目时遇到的automake使用错误的问题。通过修改Makefile中的配置,添加`--no-discard-stderr`选项来获取正确的帮助信息。
/**********************************************************************
 *    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
        [...省略]

 

转载于:https://www.cnblogs.com/zengjfgit/p/9178571.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值