【发布时间】:2018-11-27 06:04:45
【问题描述】:
我正在尝试为systemd 生成一个configure 脚本。
$ git clone https://github.com/systemd/systemd.git
$ cd systemd
$ autoreconf -i
configure.ac:74: warning: macro 'AM_NLS' not found in library
configure.ac:74: error: possibly undefined macro: AM_NLS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
我在一个相当现代的机器上,它已经完全打了补丁。它的 Fedora 25、x86_64:
$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 25 (Twenty Five)
Release: 25
Codename: TwentyFive
我不是 Autotools 专家,搜索 "error: possible undefined macro: AM_NLS" 并没有返回对我有用的结果。我找到了Linphone configuration results in multiple undefined Autotools macros,但并不完全清楚我应该做什么。 Unix & Linux Stack Exchange 有 Some M4 macros don't seem to be defined,但仍然不清楚我应该为这个问题做些什么。
问题是什么,我该如何解决?
【问题讨论】:
标签: autotools configure fedora-25