Avahi 在 buildroot 运行 intltool-update 时失败

问题描述

我使用的是较旧的 buildroot 2016.11,并希望通过选择 avahi 包来添加 DNS-SD。导致此错误

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(.*)\${ <-- HERE ?([A-Z_]+)}?(.*)$/ at /home/user/nuvoton/nuc980/output/host/usr/bin/intltool-update line 1065.
checking for intltool >= 0.35.0...  found
configure: error: Your intltool is too old.  You need intltool 0.35.0 or later.

搜索时,我了解到应该在主机上启用 intltool,但我在 menuconfig 中找不到如何启用。 更多的搜索告诉我它与一些 Perl 更新有关 我尝试添加此补丁 http://lists.busybox.net/pipermail/buildroot/2017-June/194509.html 但这也无济于事。

有人能指导我如何解决这个问题吗?

解决方法

使用 https://github.com/maximeh/buildroot/blob/master/package/intltool/0001-perl-5.26-compatibility.patch 使 avahi 构建没有问题。

就我而言,构建变得太大了,所以我必须以某种方式将其修剪...