/**********************************************************************
* Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at xxxx/usr/bin/automake line 3939.
* 说明:
* 在Ubuntu 18.04上编译Yocto,出现的automake正则表达式问题。原因是Perl
* 不支持以前的写法。
*
* 2018-6-13 深圳 宝安西乡 曾剑锋
*********************************************************************/ 一、解决方法:
修改automake源代码
# substitute_ac_subst_variables ($TEXT)
# -------------------------------------
# Replace any occurrence of ${FOO} in $TEXT by @FOO@ if FOO is an AC_SUBST
# variable.
sub substitute_ac_subst_variables
{
my ($text) = @_;
# $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($)/ge;
$text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($)/ge;
return $text;
} 二、跟踪信息:
. 查找source源:
zengjf@zengjf:~/zengjf/fsl-release-bsp/sources$ grep -F '1{s/.* //;s/\.[0-9]+$//};q' * -r
poky/meta/classes/autotools.bbclass: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
. 查找do_configure生成文件:
zengjf@zengjf:~/zengjf/fsl-release-bsp/imx6q-x11/tmp$ grep -F '1{s/.* //;s/\.[0-9]+$//};q' * -r
[...省略]
work/cortexa9hf-neon-poky-linux-gnueabi/bzip2/1.0.-r5/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/cortexa9hf-neon-poky-linux-gnueabi/libtool-cross/2.4.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/gperf-native/3.0.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/flex-native/2.6.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/bison-native/3.0.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/sqlite3-native/3_3.11.0-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/mpfr-native/3.1.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/pkgconfig-native/0.29+gitAUTOINC+5914edfe96-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/attr-native/2.4.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/util-macros-native/1_1.19.0-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/gettext-native/0.19.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/gmp-native/6.1.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/xz-native/5.2.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/libmpc-native/1.0.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
work/x86_64-linux/libtool-native/2.4.-r0/temp/run.do_configure.: AUTOV=`automake --version | sed -e '1{s/.* //;s/\.[0-9]+$//};q'`
zengjf@zengjf:~/zengjf/fsl-release-bsp/imx6q-x11/tmp$

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at xxxx/usr/bin/automake line 3939.的更多相关文章

  1. 【java】java.util.regex.Pattern和java.util.regex.Matcher简单示例

    package 正则; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test_regex ...

  2. Error response:/usr/bin/tf_serving_entrypoint.sh: line 3: 6 Illegal instruction (core dumped) ...

    用docker部署tensorflow-serving:gpu时,参照官方文档:https://tensorflow.google.cn/tfx/serving/docker 本应该是很简单的部署,没 ...

  3. Deepin15.8系统下安装QorIQ Linux SDK v2.0 yocto成功完美运行的随笔

    2019.2.17日:最终安装成功,完美解决! 2019.2.16日:最终安装未成功,但是过程中排除 了几个bug,前进了几步,仅供参考. 写在最前面,yocto安装是有系统要求的,Deepin 15 ...

  4. CESM部署安装环境和使用

    平台信息 Description: CentOS Linux release 7.6.1810 (Core) 安装CESM 安装前提:(小提示:耗时较长,需要耐心)阅读原文 CentOS 7(检查:s ...

  5. openWRT编译报错集锦

    需网络稳定,可正常上梯子. /*ubuntu18编译报错:*/ autoreconf: running: /home/jack/openwrt-sdk/staging_dir/host/bin/aut ...

  6. 使用autogen工具生成Makefile遇到问题解决思路

    使用autogen工具生成Makefile,最新的应用程序很多都使用autogen,本着知行合一的精神 最近有空也研究了一下该工具的使用,详细步骤请参考文档: http://blog.csdn.net ...

  7. automake的使用1

    安装命令: sudo apt install automake autoconfig 简单的例子 automake实例: helloworld.c #include <stdio.h> # ...

  8. 生产环境使用 pt-table-checksum 检查MySQL数据一致性

    公司数据中心从托管机房迁移到阿里云,需要对mysql迁移(Replication)后的数据一致性进行校验,但又不能对生产环境使用造成影响,pt-table-checksum 成为了绝佳也是唯一的检查工 ...

  9. 生产环境使用 pt-table-checksum 检查MySQL数据一致性【转】

    公司数据中心从托管机房迁移到阿里云,需要对mysql迁移(Replication)后的数据一致性进行校验,但又不能对生产环境使用造成影响,pt-table-checksum 成为了绝佳也是唯一的检查工 ...

随机推荐

  1. [转载]Python使用@property装饰器--getter和setter方法变成属性

    原贴:为什么Python不需要getter和setter getter 和 setter在java中被广泛使用.一个好的java编程准则为:将所有属性设置为私有的,同时为属性写getter和sette ...

  2. servlet初认知(持续更新中)

    一:前言: 一个Servlet程序其实就是一个实现了Java特殊接口的类,它由支持Servlet(具有Servlet引擎)的WEB服务器调用和启动运行.一个Servlet程序负责处理它对应的一个或者多 ...

  3. 基本数据类型list,tuple

    一. 列表 1. 列表是一个可变的数据类型 列表由[]来表示, 每一项元素使用逗号隔开. 列表什么都能装. 能装对象的对象. 列表可以装大量的数据 列表是有序的 2. 列表的索引和切片 列表和字符串一 ...

  4. The Doors

    The Doors You are to find the length of the shortest path through a chamber containing obstructing w ...

  5. hibernate配置log

    hibernate依赖jboss-logging,通过它选择对应的对应的日志包,选择的逻辑课查看具体代码org.jboss.logging.LoggerProviders. 先通过系统变量(org.j ...

  6. sql根据年月日查询注册数或者和值

    //公司需要我做一个根据每天用户注册数量生成一个折现图,sql如下,//亲测好用,只是如果某一天没有注册的话,就不会显示日期 SELECT DATE_FORMAT(f.registDate, '%Y- ...

  7. C++11 并发之std::thread std::mutex

    https://www.cnblogs.com/whlook/p/6573659.html (https://www.cnblogs.com/lidabo/p/7852033.html) C++:线程 ...

  8. 【转】java提高篇(二)-----理解java的三大特性之继承

    [转]java提高篇(二)-----理解java的三大特性之继承 原文地址:http://www.cnblogs.com/chenssy/p/3354884.html 在<Think in ja ...

  9. zookeeper集群环境搭建(纯zookeeper)

    1.首先在三台机子上放上zookeeper的解压包,解压. 然后的话zookeeper是依赖于jdk的,那么也应该安装jdk,这里不详细说明了. mv zookeeper-3.4.5 zookeepe ...

  10. 输入三个double型的数据,放入到a,b,c三个变量中去,使用条件结构与交换逻辑将这三个变量中的值从小到大排列。

    import java.util.Scanner; public class C8{ public static void main(String []args){ /* 8.输入三个double型的 ...