Package Details: mingw-w64-gettext 0.19.8.1-3

Git Clone URL: https://aur.archlinux.org/mingw-w64-gettext.git (read-only, click to copy)
Package Base: mingw-w64-gettext
Description: GNU internationalization library (mingw-w64)
Upstream URL: http://www.gnu.org/software/gettext/
Licenses: GPL
Submitter: brcha
Maintainer: xantares (Martchus)
Last Packager: xantares
Votes: 26
Popularity: 0.028557
First Submitted: 2012-06-13 18:20
Last Updated: 2019-12-08 14:17

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

Schala commented on 2015-02-17 01:22

Have you tried win-iconv?

ant32 commented on 2015-02-15 16:39

If it fails can you give me your list of installed mingw packages? (I just tried building in a clean chroot and also using makepkg and both build fine)
pacman -Q | grep mingw

daurnimator commented on 2015-02-15 03:50

> Solution == Copy libintl.h into /build-blahh-blaah/gettext-tools/intl/ and then it appears to build OK

Doesn't work for me. Though it was looking in the correct directory in the first place...

```
/bin/sh ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -std=gnu99 -c -DLOCALEDIR=\"/usr/i686-w64-mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/i686-w64-mingw32/share/locale\" -DLIBDIR=\"/usr/i686-w64-mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/i686-w64-mingw32/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I../../../gettext-tools/../gettext-runtime/intl -I.. -I/usr/i686-w64-mingw32/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fvisibility=hidden pluralx.c
libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -c -DLOCALEDIR=\"/usr/i686-w64-mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/i686-w64-mingw32/share/locale\" -DLIBDIR=\"/usr/i686-w64-mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/i686-w64-mingw32/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I../../../gettext-tools/../gettext-runtime/intl -I.. -I/usr/i686-w64-mingw32/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fvisibility=hidden pluralx.c -DDLL_EXPORT -DPIC -o .libs/pluralx.o
../../../gettext-tools/../gettext-runtime/intl/plural.c:313:59: fatal error: libintl.h: No such file or directory
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
^
compilation terminated.
Makefile:292: recipe for target 'pluralx.lo' failed
```

You can see the `-I../../../gettext-tools/../gettext-runtime/intl` in there.
And './src/gettext-0.19.4/build-i686-w64-mingw32/gettext-runtime/intl/libintl.h' exists.

pha-qu commented on 2015-02-13 23:20

@Schala - Franciscod could be on to something, I too get a build failure caused by 'missing header' libintl.h that happens to be present in another directory branch of the source tree:

config.log ->

configure:21565: result: no
configure:22031: checking for GNU gettext in libintl
configure:22063: i686-w64-mingw32-gcc -std=gnu99 -o conftest.exe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include -Wl,--disable-auto-import conftest.c -lintl >&5
conftest.c:119:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>

and the first makefile error reported:
Makefile:292: recipe for target 'pluralx.lo' failed
make[4]: *** [pluralx.lo] Error 1
make[4]: Leaving directory '/home/pha-qu/builds/mingw-w64-gettext/src/gettext-0.19.4/build-i686-w64-mingw32/gettext-tools/intl'
Makefile:1721: recipe for target 'all-recursive' failed
local libtool generated Makefile from .../.../intl/ :

all: all-yes
all-yes: libintl.$la <b>libintl.h</b> charset.alias ref-add.sed ref-del.sed
all-no: all-no-yes
all-no-yes: libgnuintl.$la
all-no-no:

as you can see :
cd src/gettext-0.19.4/build-i686-w64-mingw32/gettext-tools/intl/
[pha-qu@arch intl]$ ls
bindtextdom.lo dcgettext.o dcngettext.lo dgettext.o explodename.lo finddomain.o hash-string.lo l10nflist.o loadmsgcat.o Makefile pluralx.c VERSION
bindtextdom.o dcigettext.lo dcngettext.o dngettext.lo explodename.o gettext.lo hash-string.o libgnuintl.h localealias.lo ngettext.lo textdomain.lo
dcgettext.lo dcigettext.o dgettext.lo dngettext.o finddomain.lo gettext.o l10nflist.lo loadmsgcat.lo localealias.o ngettext.o textdomain.

No libintl.h in src/gettext-0.19.4/build-i686-w64-mingw32/gettext-tools/intl/ == FAILURE
:(

Solution == Copy libintl.h into /build-blahh-blaah/gettext-tools/intl/ and then it appears to build OK

pha-qu commented on 2015-02-13 22:56

@Schala: Forgot to mention, the pgp-key is invalid too. However there are a few other packages in the mingw set that have broken pgp

pha-qu commented on 2015-02-13 22:45

@Schala - Franciscod could be on to something, I too get a build failure caused by 'missing header' libintl.h that happens to be present in another directory branch of the source tree:

config.log ->

configure:21565: result: no
configure:22031: checking for GNU gettext in libintl
configure:22063: i686-w64-mingw32-gcc -std=gnu99 -o conftest.exe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include -Wl,--disable-auto-import conftest.c -lintl >&5
conftest.c:119:21: fatal error: libintl.h: No such file or directory
#include <libintl.h>

and the first makefile error reported:
Makefile:292: recipe for target 'pluralx.lo' failed
make[4]: *** [pluralx.lo] Error 1
make[4]: Leaving directory '/home/pha-qu/builds/mingw-w64-gettext/src/gettext-0.19.4/build-i686-w64-mingw32/gettext-tools/intl'
Makefile:1721: recipe for target 'all-recursive' failed
local libtool generated Makefile from .../.../intl/ :

all: all-yes
all-yes: libintl.$la <b>libintl.h</b> charset.alias ref-add.sed ref-del.sed
all-no: all-no-yes
all-no-yes: libgnuintl.$la
all-no-no:

as you can see :
cd src/gettext-0.19.4/build-i686-w64-mingw32/gettext-tools/intl/
[pha-qu@arch intl]$ ls
bindtextdom.lo dcgettext.o dcngettext.lo dgettext.o explodename.lo finddomain.o hash-string.lo l10nflist.o loadmsgcat.o Makefile pluralx.c VERSION
bindtextdom.o dcigettext.lo dcngettext.o dngettext.lo explodename.o gettext.lo hash-string.o libgnuintl.h localealias.lo ngettext.lo textdomain.lo
dcgettext.lo dcigettext.o dgettext.lo dngettext.o finddomain.lo gettext.o l10nflist.lo loadmsgcat.lo localealias.o ngettext.o textdomain.

No libintl.h in src/gettext-0.19.4/build-i686-w64-mingw32/gettext-tools/intl/ == FAILURE
:(

ant32 commented on 2015-02-11 06:22

http://sourceforge.net/projects/mingw-w64-archlinux/ all packages built in a clean chroot.

franciscod commented on 2015-02-11 02:21

wtfffff.. should i build it in a clean chroot or something?

Schala commented on 2015-02-11 01:48

No clue. It builds fine for me and libintl.h is part of the package.

franciscod commented on 2015-02-09 00:55

TL;DR: missing libintl.h, wat do?

libtool: compile: i686-w64-mingw32-gcc -std=gnu99 -c -DLOCALEDIR=\"/usr/i686-w64-mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/i686-w64-mingw32/share/locale\" -DLIBDIR=\"/usr/i686-w64-mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/i686-w64-mingw32/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I../../../gettext-tools/../gettext-runtime/intl -I.. -I/usr/i686-w64-mingw32/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fvisibility=hidden pluralx.c -DDLL_EXPORT -DPIC -o .libs/pluralx.o
../../../gettext-tools/../gettext-runtime/intl/plural.c:313:59: fatal error: libintl.h: No such file or directory
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
^
compilation terminated.