[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gettext 0.16.1 is not able to compile with --disable-nls
From: |
Bruno Haible |
Subject: |
Re: Gettext 0.16.1 is not able to compile with --disable-nls |
Date: |
Wed, 11 Apr 2007 01:52:15 +0200 |
User-agent: |
KMail/1.5.4 |
Dennis Schridde wrote:
> When I try to compile gettext 0.16.1 with --disable-nls (and some other flags
> listed below), I get this error:
>
> mingw32-gcc
> -DLOCALEDIR=\"/home/sevendays/Warzone/devpkg/devpkg/share/locale\"
> -DBISON_LOCALEDIR=\"\"
> -DLOCALE_ALIAS_PATH=\"/home/sevendays/Warzone/devpkg/devpkg/share/locale\"
> -DUSEJEXE=0
> -DGETTEXTJEXEDIR=\"/home/sevendays/Warzone/devpkg/devpkg/lib/gettext\"
> -DGETTEXTJAR=\"/home/sevendays/Warzone/devpkg/devpkg/share/gettext/gettext.jar\"
> -DLIBDIR=\"/home/sevendays/Warzone/devpkg/devpkg/lib\"
> -DGETTEXTDATADIR=\"/home/sevendays/Warzone/devpkg/devpkg/share/gettext\"
> -DPROJECTSDIR=\"/home/sevendays/Warzone/devpkg/devpkg/share/gettext/projects\"
> -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../libuniname
> -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl
> -DINSTALLDIR=\"/home/sevendays/Warzone/devpkg/devpkg/bin\" -g -O2 -c -o
> msginit-msginit.o `test -f 'msginit.c' || echo './'`msginit.c
> msginit.c: In function ‘main’:
> msginit.c:284: error: ‘LC_MESSAGES’ undeclared (first use in this function)
> msginit.c:284: error: (Each undeclared identifier is reported only once
> msginit.c:284: error: for each function it appears in.)
> make[4]: *** [msginit-msginit.o] Error 1
> make[4]: Leaving directory
> `/home/sevendays/Warzone/devpkg/src/gettext-0.16.1_patch/gettext-tools/src'
> make[3]: *** [all] Error 2
Thanks for reporting this. This will be fixed in the next release. Patch
appended.
But what are you trying to do at all? Compiling gettext with "--disable-nls"
does not make much sense: it will then not define the libintl library!
> Full configure command:
> ./configure --target=mingw32 --host=mingw32
> --prefix=/home/sevendays/Warzone/devpkg/devpkg --disable-shared
> --enable-static \
> --enable-threads=win32 --enable-relocatable --disable-java
> --disable-csharp --disable-libasprintf --disable-openmp \
> --without-emacs
"--disable-shared --enable-static" is not needed on mingw any more: Since
version 0.15, gettext supports building with shared libraries enabled.
2007-04-10 Bruno Haible <address@hidden>
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add module 'locale'.
Reported by Dennis Schridde <address@hidden>.
*** autogen.sh 17 Mar 2007 15:00:26 -0000 1.44
--- autogen.sh 10 Apr 2007 23:44:28 -0000
***************
*** 123,128 ****
--- 123,129 ----
javaexec
linebreak
localcharset
+ locale
lock
memmove
memset