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 <[email protected]<mailto:[email protected]>> wrote: Hi Michael, On Wed, Aug 16, 2017 at 12:10 AM, Eric Hutton <[email protected]<mailto:[email protected]>> 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
_______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev
