[GRASS-dev] compiling on OSX 10.11 (El Capitan Beta)
Carlos Grohmann
carlos.grohmann at gmail.com
Thu Jul 23 17:40:56 PDT 2015
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:
> >
> >
> >
> > Errors in:
> > /Users/guano/Documents/installs/grass70_release/scripts/d.correlate
> > /Users/guano/Documents/installs/grass70_release/scripts/d.out.file
> > /Users/guano/Documents/installs/grass70_release/scripts/d.to.rast
> > /Users/guano/Documents/installs/grass70_release/scripts/d.polar
> > /Users/guano/Documents/installs/grass70_release/scripts/d.rast.edit
> > /Users/guano/Documents/installs/grass70_release/scripts/d.rast.leg
> > /Users/guano/Documents/installs/grass70_release/scripts/d.redraw
> > /Users/guano/Documents/installs/grass70_release/scripts/d.shade
> > /Users/guano/Documents/installs/grass70_release/scripts/d.what.rast
> > /Users/guano/Documents/installs/grass70_release/scripts/d.what.vect
> > /Users/guano/Documents/installs/grass70_release/scripts/db.dropcolumn
> > /Users/guano/Documents/installs/grass70_release/scripts/db.droptable
> > /Users/guano/Documents/installs/grass70_release/scripts/db.in.ogr
> > /Users/guano/Documents/installs/grass70_release/scripts/db.out.ogr
> > /Users/guano/Documents/installs/grass70_release/scripts/db.test
> > /Users/guano/Documents/installs/grass70_release/scripts/db.univar
> > /Users/guano/Documents/installs/grass70_release/scripts/g.extension
> > /Users/guano/Documents/installs/grass70_release/scripts/g.extension.all
> > /Users/guano/Documents/installs/grass70_release/scripts/g.manual
> > /Users/guano/Documents/installs/grass70_release/scripts/i.colors.enhance
> > /Users/guano/Documents/installs/grass70_release/scripts/i.image.mosaic
> > /Users/guano/Documents/installs/grass70_release/scripts/i.in.spotvgt
> > /Users/guano/Documents/installs/grass70_release/scripts/i.oif
> > /Users/guano/Documents/installs/grass70_release/scripts/i.pansharpen
> > /Users/guano/Documents/installs/grass70_release/scripts/i.spectral
> > /Users/guano/Documents/installs/grass70_release/scripts/i.tasscap
> > /Users/guano/Documents/installs/grass70_release/scripts/m.proj
> > /Users/guano/Documents/installs/grass70_release/scripts/r.blend
> > /Users/guano/Documents/installs/grass70_release/scripts/r.buffer.lowmem
> > /Users/guano/Documents/installs/grass70_release/scripts/r.colors.stddev
> > /Users/guano/Documents/installs/grass70_release/scripts/r.fillnulls
> > /Users/guano/Documents/installs/grass70_release/scripts/r.grow
> > /Users/guano/Documents/installs/grass70_release/scripts/r.in.aster
> > /Users/guano/Documents/installs/grass70_release/scripts/r.in.srtm
> > /Users/guano/Documents/installs/grass70_release/scripts/r.in.wms
> > /Users/guano/Documents/installs/grass70_release/scripts/r.mask
> > /Users/guano/Documents/installs/grass70_release/scripts/r.out.xyz
> > /Users/guano/Documents/installs/grass70_release/scripts/r.pack
> > /Users/guano/Documents/installs/grass70_release/scripts/r.plane
> > /Users/guano/Documents/installs/grass70_release/scripts/r.reclass.area
> > /Users/guano/Documents/installs/grass70_release/scripts/r.rgb
> > /Users/guano/Documents/installs/grass70_release/scripts/r.shade
> > /Users/guano/Documents/installs/grass70_release/scripts/r.tileset
> > /Users/guano/Documents/installs/grass70_release/scripts/r.unpack
> > /Users/guano/Documents/installs/grass70_release/scripts/r3.in.xyz
> > /Users/guano/Documents/installs/grass70_release/scripts/v.build.all
> > /Users/guano/Documents/installs/grass70_release/scripts/v.centroids
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.addcolumn
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.addtable
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.join
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.dropcolumn
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.droprow
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.droptable
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.renamecolumn
> >
> /Users/guano/Documents/installs/grass70_release/scripts/v.db.reconnect.all
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.univar
> > /Users/guano/Documents/installs/grass70_release/scripts/v.db.update
> > /Users/guano/Documents/installs/grass70_release/scripts/v.dissolve
> > /Users/guano/Documents/installs/grass70_release/scripts/v.in.e00
> > /Users/guano/Documents/installs/grass70_release/scripts/v.in.geonames
> > /Users/guano/Documents/installs/grass70_release/scripts/v.in.lines
> > /Users/guano/Documents/installs/grass70_release/scripts/v.in.mapgen
> > /Users/guano/Documents/installs/grass70_release/scripts/v.in.wfs
> > /Users/guano/Documents/installs/grass70_release/scripts/v.rast.stats
> > /Users/guano/Documents/installs/grass70_release/scripts/v.report
> > /Users/guano/Documents/installs/grass70_release/scripts/v.pack
> > /Users/guano/Documents/installs/grass70_release/scripts/v.to.lines
> > /Users/guano/Documents/installs/grass70_release/scripts/v.unpack
> > /Users/guano/Documents/installs/grass70_release/scripts/v.what.strds
> > /Users/guano/Documents/installs/grass70_release/scripts/v.what.vect
> > /Users/guano/Documents/installs/grass70_release/scripts/wxpyimgview
> > /Users/guano/Documents/installs/grass70_release/scripts/v.krige
> > /Users/guano/Documents/installs/grass70_release/temporal/t.create
> > /Users/guano/Documents/installs/grass70_release/temporal/t.support
> > /Users/guano/Documents/installs/grass70_release/temporal/t.topology
> > /Users/guano/Documents/installs/grass70_release/temporal/t.list
> > /Users/guano/Documents/installs/grass70_release/temporal/t.info
> > /Users/guano/Documents/installs/grass70_release/temporal/t.merge
> > /Users/guano/Documents/installs/grass70_release/temporal/t.remove
> > /Users/guano/Documents/installs/grass70_release/temporal/t.sample
> > /Users/guano/Documents/installs/grass70_release/temporal/t.register
> > /Users/guano/Documents/installs/grass70_release/temporal/t.unregister
> >
> /Users/guano/Documents/installs/grass70_release/temporal/t.rast.accumulate
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.accdetect
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.aggregate
> >
> /Users/guano/Documents/installs/grass70_release/temporal/t.rast.aggregate.ds
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.colors
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.to.rast3
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.univar
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.list
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.mapcalc
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.neighbors
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.series
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.export
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.out.vtk
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.import
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.gapfill
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast.extract
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast3d.list
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast3d.extract
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast3d.mapcalc
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rast3d.univar
> > /Users/guano/Documents/installs/grass70_release/temporal/t.rename
> > /Users/guano/Documents/installs/grass70_release/temporal/t.select
> > /Users/guano/Documents/installs/grass70_release/temporal/t.snap
> > /Users/guano/Documents/installs/grass70_release/temporal/t.shift
> > /Users/guano/Documents/installs/grass70_release/temporal/t.vect.list
> > /Users/guano/Documents/installs/grass70_release/temporal/t.vect.db.select
> > /Users/guano/Documents/installs/grass70_release/temporal/t.vect.export
> > /Users/guano/Documents/installs/grass70_release/temporal/t.vect.extract
> > /Users/guano/Documents/installs/grass70_release/temporal/t.vect.import
> >
> /Users/guano/Documents/installs/grass70_release/temporal/t.vect.what.strds
> >
> /Users/guano/Documents/installs/grass70_release/temporal/t.vect.observe.strds
> > /Users/guano/Documents/installs/grass70_release/temporal/t.vect.univar
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/animation
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/mapswipe
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/gmodeler
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/rlisetup
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/psmap
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/dbmgr
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/vdigit
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/iclass
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/gcp
> > /Users/guano/Documents/installs/grass70_release/gui/wxpython/timeline
> > /Users/guano/Documents/installs/grass70_release/visualization/wximgview
> > --
> >
> > 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
> >
> >
> >
> > the first temporal module, t.create, this one (just last part of output):
> >
> > Traceback (most recent call last):
> > File
> "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/scripts/t.vect.univar",
> line 66, in <module>
> > import grass.temporal as tgis
> > File
> "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python/grass/temporal/__init__.py",
> line 1, in <module>
> > from core import *
> > File
> "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python/grass/temporal/core.py",
> line 38, in <module>
> > from c_libraries_interface import *
> > File
> "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python/grass/temporal/c_libraries_interface.py",
> line 19, in <module>
> > import grass.lib.gis as libgis
> > File
> "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python/grass/lib/gis.py",
> line 23, in <module>
> > _libs["grass_gis.7.0.1svn"] = load_library("grass_gis.7.0.1svn")
> > File
> "/Users/guano/Documents/installs/grass70_release/dist.x86_64-apple-darwin15.0.0/etc/python/grass/lib/ctypes_loader.py",
> line 57, in load_library
> > raise ImportError,"%s not found." % libname
> > ImportError: grass_gis.7.0.1svn not found.
> > make[1]: *** [t.vect.univar.tmp.html] Error 1
> > rm t.vect.univar.tmp.html
> >
> >
> >
> >
> > The gui modules also give an error similar to d.correlate, so something
> is referencing grass_gis.7.0.1svn instead of the current release.
> >
> >
> >
> > thanks
> >
> > Carlos
> >
> >
> >
> >
> >
> > --
> > Prof. Carlos Henrique Grohmann
> > Institute of Energy and Environment - Univ. of São Paulo, Brazil
> > - Digital Terrain Analysis | GIS | Remote Sensing -
> >
> > http://carlosgrohmann.com
> > http://orcid.org/0000-0001-5073-5572
> > ________________
> > Can’t stop the signal.
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-dev
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> Earth: "Mostly harmless"
>
> - revised entry in the HitchHiker's Guide to the Galaxy
>
>
>
--
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -
http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
________________
Can’t stop the signal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150723/10492d5b/attachment-0001.html>
More information about the grass-dev
mailing list