<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I just did a restore from a back up of previously compilable trunk source code. Same error. So it is something that has changed in my system. I do have cpp in /usr/bin and it was updated recently (24 October). I do not have a link /lib/cpp and don't have a
 non-updated Mac to see if this link did exist previously.  
<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="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>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 22, 2018, at 9:10 AM, 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="">Such is my plan B. Just hoping to shortcut it with an inquiry to all if anyone knows of a recent change to GRASS source that might cause this. 
<div class=""><br class="">
</div>
<div class="">No obvious change to my system, but may be something not obvious of course </div>
<div class=""><br class="">
</div>
<div class="">Michael<br class="">
<br class="">
<div dir="ltr" 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 dir="ltr" class=""><br class="">
On Nov 22, 2018, at 7:30 AM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" class="">wenzeslaus@gmail.com</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div dir="ltr" class=""><br class="">
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Wed, Nov 21, 2018 at 4:22 PM 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;line-break:after-white-space" class=""><br class="">
<div class="">As far as I can tell, I do not have cpp anywhere in any of the Mac binaries I've done, although I do have a C++ compiler installed. All previous versions compiled and built without this error, and they run fine. So what was changed between 8 October
 and the release of 7.4.2 that makes configure fail if cpp is not found? Where should I look?</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">Do you mean a change in GRASS GIS source code or your system configuration (e.g. updates)? How to decide between them is to configure the last version of GRASS GIS which worked for you. If you can configure and compile from scratch that old version
 but not the new one, you can try a version in between these two, the go to beginning of this sentence (aka bisect). This way you find the change in GRASS GIS. In case both the old and the new version don't configure, the change is in your system.<br class="">
</div>
<div class=""><br class="">
</div>
<div 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;line-break:after-white-space" class=""><br class="">
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Nov 12, 2018, at 9:04 PM, Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank" class="">wenzeslaus@gmail.com</a>> wrote:</div>
<br class="m_1664476720698806211Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div class="">Since it's complaining about /lib/cpp,</div>
<div class=""><br class="">
</div>
<div class="">./configure: line 5164: /lib/cpp: No such file or directory</div>
<div class=""><br class="">
</div>
<div class="">I would say the problem is not zlib, but missing C++ compiler (at least on my machine, /lib/cpp eventually points to /usr/bin/cpp-5), although I don't know why ./configure would catch that problem earlier since a successful report contains:</div>
<div class=""><br class="">
</div>
<div class="">  C compiler:                 clang -O2 -Wall -pedantic -Wextra <br class="">
  C++ compiler:               clang++ -std=c++14 -fexceptions<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">The checking phase reports only about C compiler, so the difference is perhaps there.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">checking for gcc... clang<br class="">
checking whether the C compiler (clang -O2 -Wall -pedantic -Wextra -s) works... yes<br class="">
checking whether the C compiler (clang -O2 -Wall -pedantic -Wextra -s) is a cross-compiler... no<br class="">
checking whether we are using GNU C... yes<br class="">
checking whether clang accepts -g... yes<br class="">
<br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
On Fri, Nov 9, 2018 at 10:58 PM Michael Barton <<a href="mailto:Michael.Barton@asu.edu" target="_blank" class="">Michael.Barton@asu.edu</a>> wrote:<br class="">
><br class="">
> I could see that it could not find zlib in the configure output. I don't know why, since I DO have zlib in the appropriate place
<br class="">
><br class="">
> MIchael<br class="">
><br class="">
> On Nov 9, 2018, at 4:21 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank" class="">neteler@osgeo.org</a>> wrote:<br class="">
><br class="">
> Just scroll to the end of the file.<br class="">
><br class="">
><br class="">
> ; return 0; }<br class="">
> configure:5066: checking for socket in -lsocket<br class="">
> configure:5083:<br class="">
> /Applications/GRASS-7.4.2.app/Contents/Resources/bin/clang -o conftest<br class="">
> -g -O2    -I/Applications/GRASS-7.4.2.app/Contents/Resources/include<br class="">
> -L/Applications/GRASS-7.4.2.app/Contents/Resources/lib conftest.c<br class="">
> -lsocket   1>&5<br class="">
> ld: library not found for -lsocket<br class="">
> clang-4.0: error: linker command failed with exit code 1 (use -v to<br class="">
> see invocation)<br class="">
> configure: failed program was:<br class="">
> #line 5072 "configure"<br class="">
> #include "confdefs.h"<br class="">
> /* Override any gcc2 internal prototype to avoid an error.  */<br class="">
> /* We use char because int might match the return type of a gcc2<br class="">
>    builtin and then its argument prototype would still apply.  */<br class="">
> char socket();<br class="">
><br class="">
> int main() {<br class="">
> socket()<br class="">
> ; return 0; }<br class="">
> configure:5131: checking for location of zlib includes<br class="">
> configure:5157: checking for zlib.h<br class="">
> configure:5165: /lib/cpp<br class="">
> -I/Applications/GRASS-7.4.2.app/Contents/Resources/include conftest.c<br class="">
><br class="">
> /dev/null 2>conftest.out<br class="">
><br class="">
> ./configure: line 5164: /lib/cpp: No such file or directory<br class="">
> configure: failed program was:<br class="">
> #line 5160 "configure"<br class="">
> #include "confdefs.h"<br class="">
> #include <zlib.h></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>