[GRASS-dev] hacking configure for gettext

Michael Barton Michael.Barton at asu.edu
Wed Jun 1 13:56:42 PDT 2016

I would like GRASS to use gettext that is installed in a location NOT in the standard /usr/local... I have no problem building gettext in such a location but I am having problems telling GRASS where to find it.

The configure switch to enable gettext is --with-nls. I've tried adding additional arguments

--with-nls-includes="/Users/cmbarton/grass_source/gettext/gettext_dist/include" --with-nls-libs="/Users/cmbarton/grass_source/gettext/gettext_dist/lib"

to tell GRASS where to find gettext but these do not seem to do the trick.

Can someone familiar with the build system suggest how to specify where to find gettext or now to modify configure so that GRASS can find gettext in this other location?

The reason for this is twofold. It makes for cleaner compiling and updating if I can keep GRASS dependencies out of my system files. It is also needed to avoid the SIP problem on the current Mac OS. The more dependencies that can be bundled with GRASS that do not link to system folders, the better.

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160601/f8a10cf8/attachment.html>

More information about the grass-dev mailing list