bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: lose nls support in mutt when upgrade to gettext-0.15


From: Henry Nelson
Subject: Re: lose nls support in mutt when upgrade to gettext-0.15
Date: Wed, 27 Sep 2006 09:06:26 +0900
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Sep 26, 2006 at 03:26:51PM +0200, Bruno Haible wrote:
> > With all compile options, libraries, environment variables, etc.
> > exactly the same as when building with previous versions of gettext,
> > nls (ja_JP.eucJP) support is lost in Mutt, i.e., messages are in
> > English instead of Japanese, after upgrading to gettext-0.15.  The
> > previous version gettext-0.14.6 works fine.  This is tested with a
> > static build (libintl.a) only.
> 
> Can you please show the commands and options that you used to configure
> and build gettext and mutt? And also tell which OS you are using,
> and which version of mutt?

gettext (both 0.15 and 0.14.6):
http://ftp.gnu.org/pub/gnu/gettext/gettext-0.14.6.tar.gz  (same site for 0.15)
% setenv LINGUAS ja
% env CFLAGS="-O2" LDFLAGS="-Wl,-R/usr/local/lib" \
  ./configure --prefix=/usr/local --program-prefix=g \
  --with-included-gettext --with-libiconv-prefix=/usr/local \
  --enable-static --enable-shared
% gmake

mutt (1.5.13/patch-1.5.13.mutt-j.ja.1; also tested with 1.5.12):
http://www.emaillab.org/mutt/1.5.13/mutt-1.5.13.tar.gz
http://www.emaillab.org/mutt/1.5.13/patch-1.5.13.mutt-j.ja.1.gz
% gpatch -p1 < ../patch-1.5.13.mutt-j.ja.1
% setenv LINGUAS ja
% setenv CFLAGS -O2
% setenv LIBS -lz
% setenv LDFLAGS -static
% ./configure --prefix=/usr/local --with-slang=/usr/local \
  --with-libiconv-prefix=/usr/local --enable-default-japanese \
  --without-wc-funcs --enable-pop --enable-imap --with-ssl=/usr/local/ssl
% gmake

% uname -sr
NetBSD 3.0.0_STABLE

% gcc --v
Using built-in specs.
Configured with: 
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure 
--enable-long-long --disable-multilib --enable-threads --disable-symvers 
--build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf 
--target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)

> Did you have a look at mutt's config.log, to see/guess the origin of the
> problem?

Sorry; no time.  However, "mutt -v" output lists "+ENABLE_NLS" and
"+HAVE_ICONV".  It should "just work" (and does with 0.14.6).

-- 
henry n.




reply via email to

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