[GRASS-dev] New attempt to update GRASS for Mac

Michael Barton Michael.Barton at asu.edu
Sun Aug 20 14:43:11 PDT 2017


I just tried this patch and it made no difference.

Michael
____________________
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















On Aug 19, 2017, at 9:15 AM, Markus Neteler <neteler at osgeo.org<mailto:neteler at osgeo.org>> wrote:

Hi Michael,

On Wed, Aug 16, 2017 at 12:10 AM, Eric Hutton <hutton.eric at gmail.com<mailto:hutton.eric at gmail.com>> wrote:
Hi Michael

It's hard for me to say without seeing which tests are failing but I think
at least some of those errors are probably due to DYLD_LIBRARY_PATH not
being set correctly. As far as I can tell, when grass is being tested during
the make process the tests are run within an environment that has the
necessary environment variables set (PATH, DYLD_LIBRARY_PATH, GISRC, etc. -
this is the run_grass command defined in Rules.make). It seems that the
tests are run in a new environment that doesn't inherit your
DYLD_LIBRARY_PATH (even if you've exported it). It seems like this might a
bug? I'm not certain.

To fix some of these errors I manually added $PREFIX/lib to
DYLD_LIBRARY_PATH for the run_grass command. I did this in Rules.make (line
40, for me),


$(LD_LIBRARY_PATH_VAR)="$(BIN):$(GISBASE)/bin:$(GISBASE)/scripts:$(ARCH_LIBD
IR):$(BASE_LIBDIR):$(PREFIX)/lib:$($(LD_LIBRARY_PATH_VAR))"

Or have a look at the attached patch file. Note that for me all of my
dependencies were installed in $PREFIX/lib.

Eric


Did Eric's patch actually help?

Markus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20170820/321bdad4/attachment-0001.html>


More information about the grass-dev mailing list