<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Very frustrating.
<div class=""><br class="">
</div>
<div class="">I can no longer get GRASS 7.2 or trunk to compile using anaconda dependencies, even without cairo or freetype. I have tried everything I can think of but cannot get it to compile like it did last week. Perhaps someone can offer advice. </div>
<div class=""><br class="">
</div>
<div class="">I have errors in all or nearly all of the non-python grass modules. They are all of the variety listed below:</div>
<div class=""><br class="">
</div>
<div class="">dyld: Library not loaded: @rpath/libgdal.20.dylib<br class="">
Referenced from: /Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib/libgrass_raster.7.3.svn.dylib<br class="">
Reason: image not found<br class="">
<br class="">
dyld: Library not loaded: @rpath/libpng16.16.dylib<br class="">
Referenced from: /Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib/libgrass_pngdriver.7.3.svn.dylib<br class="">
Reason: image not found<br class="">
<br class="">
dyld: Library not loaded: @rpath/libgeos-3.5.1.dylib<br class="">
Referenced from: /Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib/libgrass_vector.7.3.svn.dylib<br class="">
Reason: image not found<br class="">
<br class="">
dyld: Library not loaded: @rpath/libproj.12.dylib<br class="">
Referenced from: /Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/bin/g.region<br class="">
Reason: image not found</div>
<div class=""><br class="">
</div>
<div class="">My gdal/libgdal is 2.1.0</div>
<div class="">libgeos is 3.5.0</div>
<div class="">libpng 1.6.27</div>
<div class="">proj 4.9.2</div>
<div class=""><br class="">
</div>
<div class="">Before configuring, I run make clean and have the environment set up as I did last week:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">export NAD2BIN=/Applications/anaconda/bin/nad2bin </div>
<div class="">export CS2CS=/Applications/anaconda/bin/cs2cs </div>
<div class="">export GEOD=/Applications/anaconda/bin/geod </div>
<div class="">export CXX=g++ </div>
<div class="">export MACOSX_DEPLOYMENT_TARGET=10.8 </div>
<div class=""><br class="">
</div>
<div class="">I've tried setting LD_LIBRARY_PATH to </div>
<div class=""><br class="">
</div>
<div class="">
<div class="">export LD_LIBRARY_PATH="/Applications/anaconda/lib:$LD_LIBRARY_PATH"</div>
</div>
<div class=""><br class="">
</div>
<div class="">and to </div>
<div class=""><br class="">
</div>
<div class="">
<div class="">export LD_LIBRARY_PATH="/Applications/anaconda/env/grassconda/lib"</div>
</div>
<div class=""><br class="">
</div>
<div class="">(for using an anaconda virtual environment)</div>
<div class=""><br class="">
</div>
<div class="">My configure string is the one that worked before:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">./configure --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk --libdir=/Applications/anaconda/lib --includedir=/Applications/anaconda/include --with-gdal=/Applications/anaconda/bin/gdal-config
--with-gdal-libs=/Applications/anaconda/lib --with-proj=/Applications/anaconda/bin/proj --with-proj-includes=/Applications/anaconda/include --with-proj-libs=/Applications/anaconda/lib --with-proj-share=/Applications/anaconda/share/proj --with-geos=/Applications/anaconda/bin/geos-config
--with-png-includes=/Applications/anaconda/include --with-png-libs=/Applications/anaconda/lib --with-tiff-includes=/Applications/anaconda/include --with-tiff-libs=/Applications/anaconda/lib --with-jpeg-includes=/Applications/anaconda/include --with-jpeg-libs=/Applications/anaconda/lib
--without-freetype --without-cairo --with-fftw-includes=/Applications/anaconda/include --with-fftw-libs=/Applications/anaconda/lib --with-sqlite-libs=/Applications/anaconda/lib --with-sqlite-includes=/Applications/anaconda/include --with-opengl=aqua --without-postgres
--without-mysql --without-readline --prefix=/Applications --enable-macosx-app --enable-64bit </div>
</div>
<div class=""><br class="">
</div>
<div class="">I've done this from the normal shell and from an anaconda virtual environment. Same results. Maybe a fresh set of eyes can see what I am missing here. Any help would be appreciated.</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
____________________</div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div class=""><font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<font face="Helvetica" size="3" class=""><font class="">voice: </font><font class="">480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)</font><br class="">
<font class="">fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)</font><br class="">
</font>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">www: <a href="http://www.public.asu.edu/~cmbarton" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu" class="">http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Aug 6, 2017, at 2:05 PM, Michael Barton <<a href="mailto:michael.barton@asu.edu" class="">michael.barton@asu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Fixed the nviz/3D issue by resetting GRASS_PYTHON to /Applications/anaconda/bin/pythonw
<div class=""><br class="">
</div>
<div class="">Michael<br class="">
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
____________________</div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div class=""><font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<font face="Helvetica" size="3" class=""><font class="">voice: </font><font class="">480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)</font><br class="">
<font class="">fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)</font><br class="">
</font>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">www: <a href="http://www.public.asu.edu/~cmbarton" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu/" class="">
http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 6, 2017, at 2:02 PM, Michael Barton <<a href="mailto:michael.barton@asu.edu" class="">michael.barton@asu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">I have built both GRASS 7.3 and 7.2svn without errors using Anaconda dependencies if I configure --without-cairo and --without-freetype. </div>
<div class=""><br class="">
</div>
<div class="">When I install GRASS and launch it, first it hangs and time outs at</div>
<div class=""><br class="">
</div>
<div class="">Rebuilding Addon HTML manual pages index...<br class="">
Rebuilding Addon menu...</div>
<div class=""><br class="">
</div>
<div class="">Then the GUI crashes badly (with most GRASS functions unavailable from the command line also). However, I discovered that if I manually set </div>
<div class=""><br class="">
</div>
<div class="">export LD_LIBRARY_PATH="/Applications/anaconda/lib:$LD_LIBRARY_PATH"<br class="">
<br class="">
</div>
<div class="">in the GRASS terminal, and relaunch the GUI, it works--although without Cairo and Freetype. Also, 3D crashes with the following message:</div>
<div class=""><br class="">
</div>
/Applications/anaconda/bin/pythonw: line 3: 13209 Segmentation fault: 11 /Applications/anaconda/python.app/Contents/MacOS/python "$@"<br class="">
<br class="">
<div class=""><br class="">
</div>
<div class="">Michael </div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><span style="font-family: Helvetica; font-size: 12px; orphans: 2; text-align: -webkit-auto; widows: 2;" class="">____________________</span></div>
<div class="">
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;" class="">
<font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;" class="">
<font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;" class="">
<font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; line-height: normal; -webkit-text-decorations-in-effect: none;" class="">
<br class="">
</div>
<font face="Helvetica" size="3" style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><font class="">voice: </font><font class="">480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)</font><br class="">
<font class="">fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)</font><br class="">
</font>
<div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;" class="">
<font face="Helvetica" size="3" class="">www: <a href="http://www.public.asu.edu/~cmbarton" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu/" class="">
http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 5, 2017, at 8:25 PM, Michael Barton <<a href="mailto:michael.barton@asu.edu" class="">michael.barton@asu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
To GRASS devs:
<div class=""><br class="">
</div>
<div class="">When I configure with paths to anaconda cairo and freetype dependencies, I get no errors (see below).</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">But when I check the configure.log, I see the same error I'm getting at the end of a failed build:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Undefined symbols for architecture x86_64:</div>
<div class=""> "_iconv", referenced from:</div>
<div class=""> _main in conftest-6b4e8e.o</div>
<div class="">ld: symbol(s) not found for architecture x86_64</div>
<div class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)</div>
<div class="">configure: failed program was:</div>
<div class="">#line 4775 "configure"</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">It seems that configure output is not correct?</div>
<div class=""><br class="">
</div>
<div class="">Indeed the checking for iconv begins at line 4775. Unfortunately, I cannot decipher what it is doing or which version of iconv it is checking (the Mac system one in /usr/lib or the one in anaconda). </div>
<div class=""><br class="">
</div>
<div class="">Additionally, AFAICT, both versions of iconv that I have are 64bit. How can I "use -v to see invocation"?</div>
<div class=""><br class="">
</div>
<div class="">Thanks</div>
<div class="">Michael</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">======== configure output to shell ======</div>
<div class=""><br class="">
</div>
<div class="">checking host system type... x86_64-apple-darwin16.7.0<br class="">
checking for gcc... gcc<br class="">
checking whether the C compiler (gcc ) works... yes<br class="">
checking whether the C compiler (gcc ) is a cross-compiler... no<br class="">
checking whether we are using GNU C... yes<br class="">
checking whether gcc accepts -g... yes<br class="">
checking for Cygwin environment... no<br class="">
checking for mingw32 environment... no<br class="">
checking for executable suffix... no<br class="">
checking for full floating-point support... yes<br class="">
checking for pwd... /bin/pwd<br class="">
checking for source directory... /Users/cmbarton/grass_source/trunk<br class="">
checking for build directory... /Users/cmbarton/grass_source/trunk<br class="">
checking for svnversion... /opt/subversion/bin/svnversion<br class="">
checking for MacOSX App... yes<br class="">
checking for MacOSX architectures... no<br class="">
checking for MacOSX SDK... checking for /Developer/SDKs/MacOSX10.8.sdk/SDKSettings.plist... yes<br class="">
checking how to build libraries... shared<br class="">
checking for additional include dirs... <br class="">
checking for additional library dirs... <br class="">
checking for a BSD compatible install... /usr/bin/install -c<br class="">
checking for flex... flex<br class="">
checking for yywrap in -lfl... no<br class="">
checking for bison... bison -y<br class="">
checking for ranlib... ranlib<br class="">
checking for ar... ar<br class="">
checking for env... env<br class="">
checking for perl... /usr/bin/perl<br class="">
checking how to run the C preprocessor... gcc -E<br class="">
checking for ANSI C header files... yes<br class="">
checking for limits.h... yes<br class="">
checking for termio.h... no<br class="">
checking for termios.h... yes<br class="">
checking for unistd.h... yes<br class="">
checking for values.h... no<br class="">
checking for f2c.h... no<br class="">
checking for g2c.h... no<br class="">
checking for sys/ioctl.h... yes<br class="">
checking for sys/mtio.h... no<br class="">
checking for sys/resource.h... yes<br class="">
checking for sys/time.h... yes<br class="">
checking for sys/timeb.h... yes<br class="">
checking for sys/types.h... yes<br class="">
checking for sys/utsname.h... yes<br class="">
checking for libintl.h... yes<br class="">
checking for iconv.h... yes<br class="">
checking for langinfo.h... yes<br class="">
checking whether time.h and sys/time.h may both be included... yes<br class="">
checking for off_t... yes<br class="">
checking for uid_t in sys/types.h... yes<br class="">
checking return type of signal handlers... void<br class="">
checking for Cygwin environment... no<br class="">
checking for ftime... yes<br class="">
checking for gethostname... yes<br class="">
checking for gettimeofday... yes<br class="">
checking for lseek... yes<br class="">
checking for nice... yes<br class="">
checking for time... yes<br class="">
checking for uname... yes<br class="">
checking for seteuid... yes<br class="">
checking for setpriority... yes<br class="">
checking for setreuid... yes<br class="">
checking for setruid... yes<br class="">
checking for drand48... yes<br class="">
checking for putenv... yes<br class="">
checking for setenv... yes<br class="">
checking for nanosleep... yes<br class="">
checking whether setpgrp takes no argument... yes<br class="">
checking for long long int... yes<br class="">
checking for W11... no<br class="">
checking for X... no<br class="">
checking for library containing cuserid... no<br class="">
checking for asprintf... yes<br class="">
checking for atan... yes<br class="">
checking for dlsym... yes<br class="">
checking for iconv... no<br class="">
checking for iconv in -liconv... yes<br class="">
checking for socket... yes<br class="">
checking for location of zlib includes... <br class="">
checking for zlib.h... yes<br class="">
checking for location of zlib library... <br class="">
checking for deflate in -lz... yes<br class="">
checking whether to use bzlib... no<br class="">
checking for location of External PROJ.4 includes... /Applications/anaconda/include<br class="">
checking for proj_api.h... yes<br class="">
checking External PROJ.4 version... 492<br class="">
checking for location of External PROJ.4 library... /Applications/anaconda/lib<br class="">
checking for pj_get_def in -lproj... yes<br class="">
checking for location of External PROJ.4 data files... /Applications/anaconda/share/proj<br class="">
checking for /Applications/anaconda/share/proj/epsg... yes<br class="">
checking for nad2bin... /Applications/anaconda/bin/nad2bin<br class="">
checking whether to use regex... yes<br class="">
checking for location of regex includes... <br class="">
checking for regex.h... yes<br class="">
checking for location of regex library... <br class="">
checking for regcomp... yes<br class="">
checking whether to use Readline... no<br class="">
checking whether to use GDAL... yes<br class="">
checking for gdal-config... /Applications/anaconda/bin/gdal-config<br class="">
rm: conftest.dSYM: is a directory<br class="">
checking whether to use libLAS... no<br class="">
checking whether to use PDAL... no<br class="">
checking whether to use NetCDF... no<br class="">
checking whether to use GEOS... yes<br class="">
checking for geos-config... /Applications/anaconda/bin/geos-config<br class="">
checking for geos_c.h... yes<br class="">
checking for initGEOS in -lgeos_c... yes<br class="">
checking whether to use TIFF... yes<br class="">
checking for location of TIFF includes... /Applications/anaconda/include<br class="">
checking for tiffio.h... yes<br class="">
checking for location of TIFF library... /Applications/anaconda/lib<br class="">
checking for TIFFOpen in -ltiff... yes<br class="">
checking whether to use PNG... yes<br class="">
checking for location of PNG includes... /Applications/anaconda/include<br class="">
checking for png.h... yes<br class="">
checking for location of PNG library... /Applications/anaconda/lib<br class="">
checking for png_read_image in -lpng... yes<br class="">
checking whether to use PostgreSQL... no<br class="">
checking whether to use MySQL... no<br class="">
checking whether to use SQLite... yes<br class="">
checking for location of SQLite includes... /Applications/anaconda/include<br class="">
checking for sqlite3.h... yes<br class="">
checking for location of SQLite library... /Applications/anaconda/lib<br class="">
checking for sqlite3_open in -lsqlite3... yes<br class="">
checking whether to use OpenGL... aqua<br class="">
checking for location of OpenGL framework... <br class="">
checking for OpenGL/gl.h... yes<br class="">
checking for OpenGL/glu.h... yes<br class="">
checking for glBegin... yes<br class="">
checking for gluBeginCurve... yes<br class="">
checking whether to use ODBC... no<br class="">
checking whether to use FFTW... yes<br class="">
checking for location of FFTW includes... /Applications/anaconda/include<br class="">
checking for fftw3.h... yes<br class="">
checking for location of FFTW library... /Applications/anaconda/lib<br class="">
checking for fftw_execute in -lfftw3... yes<br class="">
checking whether to use BLAS... no<br class="">
checking whether to use LAPACK... no<br class="">
checking whether to use Cairo... yes<br class="">
Package cairo was not found in the pkg-config search path.<br class="">
Perhaps you should add the directory containing `cairo.pc'<br class="">
to the PKG_CONFIG_PATH environment variable<br class="">
No package 'cairo' found<br class="">
checking for location of cairo includes... /Applications/anaconda/include/cairo<br class="">
checking for cairo.h... yes<br class="">
Package cairo was not found in the pkg-config search path.<br class="">
Perhaps you should add the directory containing `cairo.pc'<br class="">
to the PKG_CONFIG_PATH environment variable<br class="">
No package 'cairo' found<br class="">
checking for location of cairo library... /Applications/anaconda/lib<br class="">
checking for cairo linking flags... -lcairo<br class="">
checking for cairo_create... yes<br class="">
checking for cairo_xlib_surface_create_with_xrender_format... no<br class="">
checking for cairo_xlib_surface_get_xrender_format... no<br class="">
checking whether to use FreeType... yes<br class="">
checking for location of FreeType includes... /Applications/anaconda/include/freetype2<br class="">
checking for ft2build.h... yes<br class="">
checking for location of FreeType library... /Applications/anaconda/lib<br class="">
checking for FT_Init_FreeType in -lfreetype... yes<br class="">
checking whether to use NLS... no<br class="">
checking whether to use C++... yes<br class="">
checking for c++... g++<br class="">
checking whether the C++ compiler (g++ -isysroot /Developer/SDKs/MacOSX10.8.sdk -isysroot /Developer/SDKs/MacOSX10.8.sdk ) works... yes<br class="">
checking whether the C++ compiler (g++ -isysroot /Developer/SDKs/MacOSX10.8.sdk -isysroot /Developer/SDKs/MacOSX10.8.sdk ) is a cross-compiler... no<br class="">
checking whether we are using GNU C++... yes<br class="">
checking whether g++ accepts -g... yes<br class="">
checking whether to use openDWG... no<br class="">
checking whether to use POSIX threads... no<br class="">
checking whether to use OpenMP... no<br class="">
checking whether to use OpenCL... no<br class="">
checking for special C compiler options needed for large files... no<br class="">
checking for _FILE_OFFSET_BITS value needed for large files... no<br class="">
checking for _LARGE_FILES value needed for large files... no<br class="">
checking for _LARGEFILE_SOURCE value needed for large files... no<br class="">
checking for _LARGEFILE_SOURCE value needed for large files... no<br class="">
checking for fseeko... yes<br class="">
checking if system supports Large Files at all... yes<br class="">
creating ./config.status<br class="">
creating include/Make/Platform.make<br class="">
creating include/Make/Doxyfile_arch_html<br class="">
creating include/Make/Doxyfile_arch_latex<br class="">
creating include/version.h<br class="">
creating grass.pc<br class="">
creating include/config.h<br class="">
include/config.h is unchanged<br class="">
Copying config.status to config.status.x86_64-apple-darwin16.7.0<br class="">
<br class="">
GRASS is now configured for: x86_64-apple-darwin16.7.0<br class="">
<br class="">
Source directory: /Users/cmbarton/grass_source/trunk<br class="">
Build directory: /Users/cmbarton/grass_source/trunk<br class="">
Installation directory: ${prefix}/GRASS-7.3.app/Contents/MacOS<br class="">
Startup script in directory:${exec_prefix}/bin<br class="">
C compiler: gcc -g -O2 -isysroot /Developer/SDKs/MacOSX10.8.sdk<br class="">
C++ compiler: g++ -isysroot /Developer/SDKs/MacOSX10.8.sdk<br class="">
Building shared libraries: yes<br class="">
OpenGL platform: Aqua<br class="">
<br class="">
MacOSX application: yes<br class="">
MacOSX architectures: <br class="">
MacOSX SDK: -isysroot /Developer/SDKs/MacOSX10.8.sdk<br class="">
<br class="">
BLAS support: no<br class="">
BZIP2 support: no<br class="">
C++ support: yes<br class="">
Cairo support: yes<br class="">
DWG support: no<br class="">
FFTW support: yes<br class="">
FreeType support: yes<br class="">
GDAL support: yes<br class="">
GEOS support: yes<br class="">
LAPACK support: no<br class="">
Large File support (LFS): yes<br class="">
libLAS support: no<br class="">
MySQL support: no<br class="">
NetCDF support: no<br class="">
NLS support: no<br class="">
ODBC support: no<br class="">
OGR support: yes<br class="">
OpenCL support: no<br class="">
OpenGL support: yes<br class="">
OpenMP support: no<br class="">
PDAL support: no<br class="">
PNG support: yes<br class="">
POSIX thread support: no<br class="">
PostgreSQL support: no<br class="">
Readline support: no<br class="">
Regex support: yes<br class="">
SQLite support: yes<br class="">
TIFF support: yes<br class="">
X11 support: no<br class="">
<br class="">
<br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
____________________</div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div class=""><font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">
<br class="">
</div>
<font face="Helvetica" size="3" class=""><font class="">voice: </font><font class="">480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)</font><br class="">
<font class="">fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)</font><br class="">
</font>
<div style="font-variant: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font face="Helvetica" size="3" class="">www: <a href="http://www.public.asu.edu/~cmbarton" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu/" class="">
http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 5, 2017, at 3:56 PM, Michael Barton <<a href="mailto:michael.barton@asu.edu" class="">michael.barton@asu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div class="">I figured you are working towards an anaconda build. I'm trying something simpler. What did you change in platform.make?<br class="">
<br class="">
<div class="">Michael Barton</div>
<div class="">School of Human Evolution &Social Change</div>
<div class="">Center for Social Dynamics & Complexity</div>
<div class="">Arizona State University</div>
<div class=""><br class="">
</div>
...Sent from my iPad</div>
<div class=""><br class="">
On Aug 5, 2017, at 11:05 AM, Eric Hutton <<a href="mailto:hutton.eric@gmail.com" class="">hutton.eric@gmail.com</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div class="">Michael,<br class="">
<br class="">
Those were the sorts of files I was making changes in.<br class="">
<br class="">
Also, I just realized that I am building things slightly differently than you and so the stuff I wrote about the temporary folder doesn't apply to you. I'm building GRASS with conda-build so that it can be a conda installable package.<br class="">
<br class="">
Eric<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Sat, Aug 5, 2017 at 10:39 AM Michael Barton <<a href="mailto:Michael.Barton@asu.edu" class="">Michael.Barton@asu.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Is the place to fix this in ../include/make/Platform.make?
<div class=""><br class="">
</div>
<div class=""></div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">Michael<br class="">
<div class="">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class="">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class="">
<div style="text-align:-webkit-auto;text-indent:0px;word-wrap:break-word" class="">
<span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class="">
<div class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
____________________</div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
<font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
<font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div class=""><font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
<font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<br class="">
</div>
<font face="Helvetica" size="3" class=""><font class="">voice: </font><font class="">480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)</font><br class="">
<font class="">fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)</font><br class="">
</font>
<div style="font-variant:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
<font face="Helvetica" size="3" class="">www: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=kz9Bf_LTP0czZnIt3-pHiAJIYWW4NegjOVKWpC48EGM&s=kVm-Ph7PI7je3NbzySuE7Mc_F6JXpGzNHqsjRDRBcWQ&e=" target="_blank" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=kz9Bf_LTP0czZnIt3-pHiAJIYWW4NegjOVKWpC48EGM&s=siUhDOqaUWp-dbRqlchHg9BaehLzaTlIDI4xvExGxzc&e=" target="_blank" class="">
http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500Apple-interchange-newline">
</div>
<br class="m_-5196477839320304500Apple-interchange-newline">
</div>
<br class="m_-5196477839320304500Apple-interchange-newline">
</div>
<br class="m_-5196477839320304500Apple-interchange-newline">
<br class="m_-5196477839320304500Apple-interchange-newline">
</div>
<br class="">
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 4, 2017, at 3:50 PM, Eric Hutton <<a href="mailto:hutton.eric@gmail.com" target="_blank" class="">hutton.eric@gmail.com</a>> wrote:</div>
<br class="m_-5196477839320304500Apple-interchange-newline">
</blockquote>
</div>
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">Hi Michael
<div class=""><br class="">
</div>
<div class="">I found that if I manually add linker flags (like "-L$PREFIX/lib -liconv") I was able to get rid of these errors. I also notice that I had to append them to the end of the compile command (or at least after things like "-lgrass_gis.7.2.0" - I
guess it has to do with the order that the compiler looks at libraries to resolve sysbols). Then, at runtime $PREFIX/lib needed to appear in the LD_LIBRARY_PATH_VAR when running the tests.</div>
<div class=""><br class="">
</div>
<div class="">I'm not sure of the best way to fix this within the grass build system (simply adding the link flags to LDFLAGS didn't do the trick). Perhaps tweaking Rules.make and the like would do the trick? I think the basic problem is that conda does the
entire build within a temporary folder that contains installations of all the dependencies and that this temporary folder is not added to all the necessary places. </div>
<div class=""><br class="">
</div>
<div class="">Eric</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Fri, Aug 4, 2017 at 3:05 PM Michael Barton <<a href="mailto:Michael.Barton@asu.edu" target="_blank" class="">Michael.Barton@asu.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">After a tedious set of tests, I can say that GRASS will not build with ANY dependency from Anaconda except SQLite. That is, I went through the dependencies one-by-one and replaced the path to a Framework version with
an Anaconda version in my configure string. I did a make clean between each build attempt.
<div class=""><br class="">
</div>
<div class="">All the versions are close (secondary or tertiary version number) or identical between William's framework builds and those in Anaconda.
<div class=""><br class="">
</div>
<div class="">For FreeType and Cairo, the errors of the type I posted yesterday</div>
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">
<div class=""><br class="">
</div>
<div class="">ld: symbol(s) not found for architecture x86_64<br class="">
clang: error: linker command failed with exit code 1 (use -v to see invocation)</div>
<div class=""><br class="">
</div>
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">
<div class="">For the other dependencies, the errors are that the appropriate library cannot be found, like the following for fftw:</div>
<div class=""><br class="">
</div>
<div class="">dyld: Library not loaded: @rpath/libfftw3.3.dylib<br class="">
Referenced from: /Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin16.7.0/lib/libgrass_gmath.7.3.svn.dylib<br class="">
Reason: image not found<br class="">
<br class="">
It seems to me like there has to be some kind of systematic reason for this not to work. Something hardwired in a key makefile or something. The Anaconda packages are all current builds of normal dependencies.</div>
<div class=""><br class="">
</div>
<div class="">I am even doing it in an environment in which /Applications/anaconda/bin is first in my PATH (which works fine if the dependencies are Frameworks).</div>
<div class=""><br class="">
</div>
<div class="">Any thoughts on this? </div>
<div class=""><br class="">
</div>
<div class=""></div>
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">
<div class="">Michael<br class="">
<div class="">
<div style="text-align:start;text-indent:0px;word-wrap:break-word" class="">
<div style="text-align:start;text-indent:0px;word-wrap:break-word" class="">
<div style="text-align:-webkit-auto;text-indent:0px;word-wrap:break-word" class="">
<span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class=""><span class="m_-5196477839320304500m_-135401739931404629Apple-style-span" style="border-collapse:separate;text-indent:0px;border-spacing:0px">
<div style="word-wrap:break-word" class="">
<div class="">
<div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
____________________</div>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;line-height:normal" class="">
<font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;line-height:normal" class="">
<font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;line-height:normal" class="">
<font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px" class="">
<font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;line-height:normal" class="">
<font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;font-family:Helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;line-height:normal" class="">
<br class="">
</div>
<font face="Helvetica" size="3" style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px" class=""><font class="">voice: </font><font class=""><a href="tel:(480)%20965-6262" value="+14809656262" target="_blank" class="">480-965-6262</a>
(SHESC), <a href="tel:(480)%20965-8130" value="+14809658130" target="_blank" class="">480-965-8130</a>/727-9746 (CSDC)</font><br class="">
<font class="">fax: <a href="tel:(480)%20965-7671" value="+14809657671" target="_blank" class="">
480-965-7671</a> (SHESC), <a href="tel:(480)%20727-0709" value="+14807270709" target="_blank" class="">480-727-0709</a> (CSDC)</font><br class="">
</font>
<div style="letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;line-height:normal" class="">
<font face="Helvetica" size="3" class="">www: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=KtrgOgv-4RMiEJEdKKQg5Z_ZL4pv8gJw3U0lH7fV_jg&s=LIHaJSGN6aEh018lfLuD_oohvcwC4GRCW2pleRj90HE&e=" target="_blank" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=KtrgOgv-4RMiEJEdKKQg5Z_ZL4pv8gJw3U0lH7fV_jg&s=ZZ_j-P8_GLz4WT29WIipvPXFuAZoZlYUntcjvNtYEOs&e=" target="_blank" class="">
http://csdc.asu.edu</a></font></div>
<br class="">
</div>
<br class="">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
</span><br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
<br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
<br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
<br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
<br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
</div>
<br class="">
</div>
</div>
</div>
<div style="word-wrap:break-word" class="">
<div class="">
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 4, 2017, at 12:56 AM, Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" target="_blank" class="">mlennert@club.worldonline.be</a>> wrote:</div>
<br class="m_-5196477839320304500m_-135401739931404629Apple-interchange-newline">
<div class="">
<div class="">On 04/08/17 00:33, Vaclav Petras wrote:<br class="">
<blockquote type="cite" class="">Well, the error (below) suggests that wrong library is either linked or included. You need to go through the -L and -I paths and see if you need to set one of these differently or add additional one for iconv. I don't see how
to set this through ./configure (I don't see any --with-iconv-includes= or --with-iconv-libs=), but you can start by editing the Makefiles or the command itself and changing -L and -I directly.<br class="">
Undefined symbols for architecture x86_64:<br class="">
"_iconv", referenced from:<br class="">
_draw_main in text3.o<br class="">
"_iconv_close", referenced from:<br class="">
_draw_main in text3.o<br class="">
"_iconv_open", referenced from:<br class="">
_draw_main in text3.o<br class="">
ld: symbol(s) not found for architecture x86_64<br class="">
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br class="">
</blockquote>
<br class="">
Just guessing: Could the error be linked to the use of clang ? Have you tried with gcc ?<br class="">
<br class="">
Moritz<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>