Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2006:
[Freeciv-Dev] (PR#15928) Success compiling without included gettext on M
Home

[Freeciv-Dev] (PR#15928) Success compiling without included gettext on M

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#15928) Success compiling without included gettext on Mac OSX
From: "Daniel Markstedt" <himasaram@xxxxxxxx>
Date: Thu, 16 Mar 2006 03:54:24 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15928 >

I was able to successfully compile S2_1 on OSX (10.3.9) with
--enable-nls and without --with-included-gettext.

The gettext libraries was successfully installed all around but
./configure couldn't find them (see #13287). By following a hint in
#13311, I was able to get though configure with this, pointing to the
catalogs Darwinports installs packages in:

env CC="gcc -no-cpp-precomp" CFLAGS="-O3 -I/opt/local/include"
LDFLAGS="-L/opt/local/lib" ./configure \
       --enable-nls \
       --enable-client=gtk2 \
       --prefix=/Users/<username>/freeciv-bin


Got this warning though:

checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... yes
checking libintl.h presence... no
configure: WARNING: libintl.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: libintl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@xxxxxxx. ##
configure: WARNING:     ## ------------------------------------ ##
checking for libintl.h... no


One less reason to keep intl/ in the source tree.

-Daniel




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#15928) Success compiling without included gettext on Mac OSX, Daniel Markstedt <=