/**********************************************************************
* 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. java中super和this的使用

    要说super就先要说this."this",作为一个特殊的关键字,它的规则如下: 1.可以表示构造函数传递.this(a,b)表示调用另外一个构造函数.这里面的this就是一个特 ...

  2. tls 流量画像——直接使用图像处理的思路探索,待进一步观察

    代码,示意了一个tls的数据内容: import numpy as np import matplotlib.pyplot as pyplot # !!! If on the server, use ...

  3. windows安装weblogic并集成到eclipse

    1.下载 java是跨平台的,所以windows下载和linux一样的jar文件安装就行,当然也可以使用windows安装程序来安装. (weblogic下载不需要购买--oracle产品都是补丁和技 ...

  4. mysql索引简单分析

    索引对查询的速度有着至关重要的影响,理解索引也是进行数据库性能调优的起点.考虑如下情况,假设数据库中一个表有10^6条记录,DBMS的页面大小为4K,并存储100条记录.如果没有索引,查询将对整个表进 ...

  5. MySQL数据库安装与配置鸡汤

    目录 一.概述 二.MySQL安装 三.安装成功验证 四.NavicatforMySQL下载及使用 一.概述 MySQL版本:5.7.17 下载地址:http://rj.baidu.com/soft/ ...

  6. mac ci框架安装使用 memcached存session

    mac 安装memcached brew info memcached brew install memcached brew install memcached 安装过程具体不详细多讲 memcac ...

  7. day02 运算符和编码

    今日所学 主要是运算符和编码的初认识, 1   还有比较运算 ==,!=,<>,>,<,>=,<=等 2  .  赋值运算 =,+=,-=等 还有今天的难点逻辑运算 ...

  8. Ant在Java项目中的使用(一眼就看会)

    参考:http://www.cnblogs.com/zhengqiang/p/5557155.html Ant是跨平台的构建工具,它可以实现项目的自动构建和部署等功能.在本文中,主要让读者熟悉怎样将A ...

  9. asp.net webapi 返回json结果的方法

    第一种: public static void Register(HttpConfiguration config) { //1.将默认的xml格式化程序清除 GlobalConfiguration. ...

  10. Linux系统命令行中vim编辑器取消高亮显示

    由于在使用vim编辑代码的时候不小心忘记首先输入i(insert)模式,导致写的代码出现了棕黄色的阴影显示 摸索了很久终于找到了解决方法: 1.退出vim编译器 2.在在命令行下输入:nohl,回车 ...