[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.7.7: Localization does not follow the language of the OS
From: |
Bruno Haible |
Subject: |
Re: 1.7.7: Localization does not follow the language of the OS |
Date: |
Sat, 29 Jan 2011 03:21:06 +0100 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> 0.18 (and .1 and .1.1) doesn't build on cygwin. This has
> been reported before:
> http://cygwin.com/ml/cygwin/2010-08/msg00149.html
How come that gettext 0.18.1.1 builds fine for me, but not for Markus Moeller
and you?
In <http://lists.gnu.org/archive/html/bug-gnu-utils/2010-06/msg00057.html>
you reported a link error regarding '_xmlFree'. I got the same error initially,
so I passed the option --with-included-libxml to configure, and then the
build works fine for me. But you reported a failure in
<http://lists.gnu.org/archive/html/bug-gnu-utils/2010-06/msg00061.html>.
Please compare your settings with mine. I have:
$ uname -sr
CYGWIN_NT-5.1 1.7.5(0.225/5/3)
$ gcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with:
/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure
--srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man
--datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v
--with-gmp=/usr --with-mpfr=/usr --enable-bootstrap
--enable-version-specific-runtime-libs --with-slibdir=/usr/bin
--libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc
--disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2
--disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers
--enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp
--enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic
--enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4
CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind
AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe
LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe
--with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)
$ g++ -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with:
/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure
--srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man
--datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v
--with-gmp=/usr --with-mpfr=/usr --enable-bootstrap
--enable-version-specific-runtime-libs --with-slibdir=/usr/bin
--libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc
--disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2
--disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers
--enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp
--enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic
--enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4
CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind
AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe
LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe
--with-ecj-jar=/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)
$ ld --version
GNU ld (GNU Binutils) 2.20.51.20100410
Copyright 2010 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
And I used the following commands for building gettext 0.18.1.1:
$ ./configure --prefix=/usr/local/cygwin --with-included-libxml
CPPFLAGS="-I/usr/local/cygwin/include -Wall" LDFLAGS="-L/usr/local/cygwin/lib"
$ make
$ make install
$ make check
# All tests in gettext-runtime and gettext-tools pass, except lang-tcl.
If you have libcroco installed, you may also need to pass
--with-included-libcroco.
For reference, so that you can compare with your configure results, find
attached the config.status files that I got.
> Basically, gettext 0.18 tries to avoid auto-import, which conflicts with
> cygwin gcc requiring the use of auto-import.
Where do you got this information from? The error message in
<http://cygwin.com/ml/cygwin/2010-08/msg00082.html> is a signal 6 (= abort
= internal bug) in 'ld'.
Charles Wilson's interpretation of the error message in
<http://cygwin.com/ml/cygwin/2010-08/msg00149.html> was proven wrong in
<http://cygwin.com/ml/cygwin/2010-08/msg00157.html>.
Bruno
cygwin175-gettext01811-config.status.tar.bz2
Description: application/tbz