bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils 7.6: --enable-nls fails


From: Martin Jacobs
Subject: coreutils 7.6: --enable-nls fails
Date: Thu, 12 Nov 2009 21:16:46 +0100 (MET)

Hi,

I tried to compile coreutils 7.6 by myself. My environment is
Linux, based on SuSE 8.1, tools are:

        - gcc is 3.4.6
        - m4 1.4.13
        - automake 1.11
        - autoconf 2.63
        - make (GNU) 3.81
        - gettext 0.17

Even if I run configure with option --enable-nls I get this
output of configure:

[...]
checking whether this is an ELF system... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no
[...]


This has been already discovered and discussed on
address@hidden, look for this subject

        "Bison 2.4.1: make install does not install mo files"

or

        
http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=2.4.1+mo+files&submit=Search%21&idxname=bug-bison&max=20&result=normal&sort=score


Back to coreutils, with that in mind I
did change configure.ac:

        AM_GNU_GETTEXT([external], [need-formatstring-macros])

reads now

        AM_GNU_GETTEXT([external], [need-ngettext])

and (after running autoreconf) everything is fine.


Extract of configure --enable-nls reads now:

[...]
checking whether this is an ELF system... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
[...]


Regards

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]