<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39403 >
Apparently not using the CPPFLAGS? === export LDFLAGS="-L/opt/local/lib" export CPPFLAGS="-I/opt/local/include" export CC="gcc -no-cpp-precomp" ./autogen.sh --enable-nls --enable-client=gtk2 --prefix=/Users/wastrel/freeciv-i18n ... + checking for xgettext >= 0.10.36 ... found 0.16.1, ok. ... checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for GNU gettext in libc... no checking for GNU gettext in libintl... yes checking for dcgettext... yes checking for msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext ... checking for ngettext in -lc... no checking for ngettext in -lintl... yes checking whether libintl's ngettext works at runtime... yes checking for GNU xgettext version >= 0.10.36... yes checking for GNU msgfmt version >= 0.10.35... yes ... === gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I.. -I../intl -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -DLOCALEDIR="\"/Users/wastrel/freeciv-i2_1/share/locale\"" -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/Users/wastrel/freeciv-i2_1/share/freeciv\"" -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -fsigned-char -MT fciconv.o -MD -MP -MF .deps/fciconv.Tpo -c -o fciconv.o fciconv.c In file included from fciconv.c:36: fcintl.h:23:21: libintl.h: No such file or directory fciconv.c: In function `init_character_encodings': fciconv.c:120: warning: implicit declaration of function `bind_textdomain_codeset' fciconv.c: In function `convert_string': fciconv.c:206: warning: implicit declaration of function `gettext' fciconv.c:206: warning: passing arg 2 of `real_freelog' makes pointer from integer without a cast make[3]: *** [fciconv.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 === FlatLand:~/Projects/freeciv_stable/i2_1 wastrel$ locate libintl.h /opt/local/include/libintl.h /opt/local/var/db/dports/software/gettext/0.16.1_0/opt/local/include/libintl.h ... FlatLand:~/Projects/freeciv_stable/i2_1 wastrel$ env LDFLAGS=-L/opt/local/lib TERM_PROGRAM=Apple_Terminal TERM=xterm-color SHELL=/bin/bash CPPFLAGS=-I/opt/local/include ... _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev