Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at xxxx/usr/bin/automake line 3939.
/**********************************************************************
* 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.的更多相关文章
- 【java】java.util.regex.Pattern和java.util.regex.Matcher简单示例
package 正则; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test_regex ...
- 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 本应该是很简单的部署,没 ...
- Deepin15.8系统下安装QorIQ Linux SDK v2.0 yocto成功完美运行的随笔
2019.2.17日:最终安装成功,完美解决! 2019.2.16日:最终安装未成功,但是过程中排除 了几个bug,前进了几步,仅供参考. 写在最前面,yocto安装是有系统要求的,Deepin 15 ...
- CESM部署安装环境和使用
平台信息 Description: CentOS Linux release 7.6.1810 (Core) 安装CESM 安装前提:(小提示:耗时较长,需要耐心)阅读原文 CentOS 7(检查:s ...
- openWRT编译报错集锦
需网络稳定,可正常上梯子. /*ubuntu18编译报错:*/ autoreconf: running: /home/jack/openwrt-sdk/staging_dir/host/bin/aut ...
- 使用autogen工具生成Makefile遇到问题解决思路
使用autogen工具生成Makefile,最新的应用程序很多都使用autogen,本着知行合一的精神 最近有空也研究了一下该工具的使用,详细步骤请参考文档: http://blog.csdn.net ...
- automake的使用1
安装命令: sudo apt install automake autoconfig 简单的例子 automake实例: helloworld.c #include <stdio.h> # ...
- 生产环境使用 pt-table-checksum 检查MySQL数据一致性
公司数据中心从托管机房迁移到阿里云,需要对mysql迁移(Replication)后的数据一致性进行校验,但又不能对生产环境使用造成影响,pt-table-checksum 成为了绝佳也是唯一的检查工 ...
- 生产环境使用 pt-table-checksum 检查MySQL数据一致性【转】
公司数据中心从托管机房迁移到阿里云,需要对mysql迁移(Replication)后的数据一致性进行校验,但又不能对生产环境使用造成影响,pt-table-checksum 成为了绝佳也是唯一的检查工 ...
随机推荐
- 十七、Spring框架(IOC/DI)
一.Spring框架 Spring是一个基于IOC和AOP的结构J2EE系统的框架. 1.IOC反转控制是Spring的基础(Inversion Of Control).也就是说创建对象由以前的程序员 ...
- Spring Boot 如何极简入门?
Spring Boot已成为当今最流行的微服务开发框架,本文是如何使用Spring Boot快速开始Web微服务开发的指南,我们将创建一个可运行的包含内嵌Web容器(默认使用的是Tomcat)的可运行 ...
- go语言byte类型报错cannot use "c" (type string) as type byte in assignment
练习Go修改字符串的时候遇到这个问题:cannot use "c" (type string) as type byte in assignment,代码如下: package m ...
- Dom方法,解析XML文件
Dom方法,解析XML文件的基本操作 package com.demo.xml.jaxp; import java.io.IOException; import javax.xml.parsers.D ...
- 使用DDMS查看设备内的文件系统
system文件系统存储了一些系统相关的文件 system/app里面是系统自带的应用程序 system/fonts里面存放的是系统自带的字体 system/frameworks里面存放的是系统的一些 ...
- SpringMVC中文乱码的解决办法
中文乱码分类: (1)按照请求分类: GET请求乱码 POST请求乱码 (2)按照乱码位置分类 从前台传到后台的数据乱码(存储到数据库中的数据乱码) 从后台传到前台的数据乱码(显示在页面的数据乱码) ...
- linux下 gogs的安装和web钩子
linux系统下 gogs下载安装以及web钩子的使用 (1)下载gogs 官方网址:https://dl.gogs.io/ 选择合适的版本,解压后就可以使用了 启动gogs的命令: ./gos ...
- python nltk 安装及配置说明
本教程采用pip安装方式,前期需要在本机安装setuptools 及pip 网上铺天盖地的说了很多关于nltk的说明,特别是后期nltk_data 手动下载操作,多数都不好使,这里整理 用pip安装n ...
- springMVC的工作流程图
- Java遍历集合的几种方法分析(实现原理、算法性能、适用场合)
概述 Java语言中,提供了一套数据集合框架,其中定义了一些诸如List.Set等抽象数据类型,每个抽象数据类型的各个具体实现,底层又采用了不同的实现方式,比如ArrayList和LinkedList ...