automake error: Unescaped left brace in regex is deprecated 的解决方法

我在linux16.04下搭建cunit的单元测试环境时,在运行autoscan命令下,系统提示错误:

Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/
at /usr/local/bin/automake line 361
(原来的提示找不到了,类似于上面的情况)
究其原因,在于新版的perl不在支持左大括号的使用,删掉大括号,问题解决。
posted @ 2017-07-25 23:51  月夜听枫  阅读(6678)  评论(0编辑  收藏  举报