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

Markus Neteler neteler at osgeo.org
Sat Aug 19 09:15:49 PDT 2017


Hi Michael,

On Wed, Aug 16, 2017 at 12:10 AM, Eric Hutton <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


More information about the grass-dev mailing list