[GRASS-dev] compiling on OSX 10.11 (El Capitan Beta)

William Kyngesburye woklist at kyngchaos.com
Thu Jul 23 18:35:57 PDT 2015


I believe what happens is it compiles with links to where it will be installed, but during documentation creation it uses DYLD_LIBRARY_PATH to make it look in the build dir.  This is what is not working.

On Jul 23, 2015, at 7:40 PM, Carlos Grohmann <carlos.grohmann at gmail.com> wrote:

> On thing that I found weird id this:
> 
> 
> dyld: Library not loaded: /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.1RC2.dylib
>   Referenced from: /Users/guano/Documents/installs/release_20150720_grass_7_0_1RC2/dist.x86_64-apple-darwin15.0.0/bin/g.parser
>   Reason: image not found
> 
> 
> 
> Why load the library from /Applications/GRASS-7.0.app/ at compiling time? The package hasn't even been created yet...
> 
> Shouldn't this be loaded from the source dir?
> 
> Carlos
> 
> 
> 
> 
> 
> 
> On Thu, Jul 23, 2015 at 12:09 AM, William Kyngesburye <woklist at kyngchaos.com> wrote:
> I don't see any GDAL problem there.  It looks like DYLD_LIBRARY_PATH is not working when running the modules to create documentation.
> 
> I don't know where to go from there.
> 
> On Jul 22, 2015, at 8:18 PM, Carlos Grohmann <carlos.grohmann at gmail.com> wrote:
> 
> > Thanks, William.
> >
> > That worked, at least for the configure part. Now the problem is at compiling. At the end of make, I get a ton of errors in modules:

> > the first script, d.correlate, gives me this eror:
> >
> > cd scripts/d.correlate/
> > GuanoAFBIOTA:d.correlate guano$ make
> > if [ "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts/d.correlate" != "" ] ; then GISRC=/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/demolocation/.grassrc70 GISBASE=/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0 PATH="/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts:$PATH" PYTHONPATH="/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/gui/wxpython:$PYTHONPATH" DYLD_LIBRARY_PATH="/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/lib:/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/lib:" LC_ALL=C /Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts/d.correlate --html-description < /dev/null | grep -v '</body>\|</html>' > d.correlate.tmp.html ; fi
> > dyld: Library not loaded: /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_gis.7.0.1svn.dylib
> >   Referenced from: /Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/bin/g.parser
> >   Reason: image not found
> > make: *** [d.correlate.tmp.html] Error 1
> > rm d.correlate.tmp.html
> >

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war



More information about the grass-dev mailing list