[GRASS-dev] GRASS 7.4.0 won't compile

Michael Barton Michael.Barton at asu.edu
Mon Jan 29 14:10:55 PST 2018


Thanks Markus,

The odd thing is that 7.2.2 and the dev version of 7.4 (from the 7.4 svn repository checkout) compile with no errors. But the release branch of 7.4 does not.

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 Jan 29, 2018, at 2:07 PM, Markus Neteler <neteler at osgeo.org<mailto:neteler at osgeo.org>> wrote:

Michael,

I take liberty to cc the list:

On Mon, Jan 29, 2018 at 9:37 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
Hi Markus,

I just tried compiling GRASS 7.4.0 and it failed with a bunch of errors.
This is what I had before when I tried to compile the release branch. 7.4svn
compiles but not the stable release.

It is a gdal problem. But I DO have gdal 2.0.0 and liberal 2.0.0 installed
in my build environment.

I think I have an idea:

imac:test cmbarton$ cd
/Users/cmbarton/grass_source/grass-7.4.0/display/d.erase
imac:d.erase cmbarton$ make -j4
if [
"/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/bin/d.erase"
!= "" ] ; then
GISRC=/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/demolocation/.grassrc74
GISBASE=/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0
PATH="/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/bin:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/bin:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/scripts:$PATH"
LD_RUN_PATH="/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/bin:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/bin:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/scripts:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/lib:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/lib:/lib"
PYTHONPATH="/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/etc/python:/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/gui/wxpython:$PYTHONPATH"
LC_ALL=C LANG=C LANGUAGE=C
/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/bin/d.erase
--html-description < /dev/null | grep -v '</body>\|</html>' >
d.erase.tmp.html ; fi
dyld: Library not loaded: libgdal.20.dylib

The libgdal name is referenced here:

grep libgdal lib/raster/*
lib/raster/gdal.c:    "libgdal.so.20",
lib/raster/gdal.c:    "libgdal.so.1",
lib/raster/gdal.c:    "libgdal.1.1.so",
lib/raster/gdal.c:    "libgdal.so",
lib/raster/gdal.c:    "libgdal1.6.0.so",
lib/raster/gdal.c:    "libgdal1.7.0.so",
lib/raster/gdal.c:    "libgdal-1.dll",

Probably also libgdal.20.dylib needs to go there?

 Referenced from:
/Users/cmbarton/grass_source/grass-7.4.0/dist.x86_64-apple-darwin17.4.0/lib/libgrass_gproj.7.4.0.dylib
 Reason: image not found
make: *** [d.erase.tmp.html] Error 1

Maybe you can try?

Markus

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


More information about the grass-dev mailing list