2017-07-06 14 views
-1

systemdconfigureスクリプトを作成しようとしています。Autorreconfと "エラー:おそらく未定義マクロ:AM_NLS"

$ 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 

私はAutotool群の専門家ではない、とを探し、「エラー:未定義である可能性が高いマクロ:AM_NLS」は私のために有益なヒットを返していません。私はLinphone configuration results in multiple undefined Autotools macrosを見つけましたが、私は何をすべきか明確には分かりません。 Unix & Linux Stack ExchangeにはSome M4 macros don't seem to be definedがありますが、この問題のために何をすべきかまだ明確ではありません。

問題とは何ですか?どのように修正できますか?

答えて

2

What is the problem and how do I fix it?

問題は、それが特異的にFedora 25 gettext-develに、GNU gettextを期待していますです。そのパッケージには/usr/share/aclocal/nls.m4が入っています。そのパッケージをインストールしてビルドできるはずです。

+0

ありがとうございます。誰がこれらの理解できないエラーメッセージを思いつきますか? * "gettextをインストールしてください、またはそれがオンパスであることを確認してください" *。 – jww

+0

'AM_NLS'はautomakeの一部ではありませんので、インストールする必要があるものを理解できません。おそらく、[autogen.sh](https://github.com/systemd/systemd/blob/master/autogen.sh)を実行すると、そのスクリプトがビルドをブートストラップするので、より多くの情報が得られたでしょう。 – ldav1s

関連する問題