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
[email protected], 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