<div dir="ltr"><div><div><div><div>Hello once more. I am seeking help installing grads from source. I have been able to install 23 of the 25 libraries here <a href="http://cola.gmu.edu/grads/gadoc/supplibs2.html">http://cola.gmu.edu/grads/gadoc/supplibs2.html</a>.<br></div>The only ones I am yet to install are gadap and cairo only.<br></div>When I try to install grads, I am encountering a problem of M_PI (pi) not being declared. I have tried to decalre but no success. I attach my config.log and and an extract of the make install output that shows on the screen. Somehow am not able to write to a makeinstall.log from the command make &amp;&amp; make install.<br><br></div>Assistance will be appreciated.<br><br></div>output of &quot;make &amp;&amp; make install&quot;<br>make &amp;&amp; make install<br>Making all in src<br>make[1]: Entering directory &#39;/home/zmumba/grads/supplibs/src/grads-2.2.0/src&#39;<br>make  all-am<br>make[2]: Entering directory &#39;/home/zmumba/grads/supplibs/src/grads-2.2.0/src&#39;<br>/bin/bash ../libtool  --tag=CC   --mode=compile gcc-7 -DHAVE_CONFIG_H -I.  -I. -I/home/zmumba/grads/supplibs/include -I/home/zmumba/grads/supplibs/include/cairo -I/home/zmumba/grads/supplibs/include/freetype2 -I/home/zmumba/grads/supplibs/include   -O -ansi -fPIC -rdynamic -c -o libgxpCairo_la-gxC.lo `test -f &#39;gxC.c&#39; || echo &#39;./&#39;`gxC.c<br>libtool: compile:  gcc-7 -DHAVE_CONFIG_H -I. -I. -I/home/zmumba/grads/supplibs/include -I/home/zmumba/grads/supplibs/include/cairo -I/home/zmumba/grads/supplibs/include/freetype2 -I/home/zmumba/grads/supplibs/include -O -ansi -fPIC -rdynamic -c gxC.c  -fPIC -DPIC -o .libs/libgxpCairo_la-gxC.o<br>gxC.c: In function &#39;gxCch&#39;:<br>gxC.c:879:27: error: &#39;M_PI&#39; undeclared (first use in this function); did you mean &#39;__P&#39;?<br>   if (rotate) rot = rot + M_PI/2;<br>                           ^~~~<br>                           __P<br>gxC.c:879:27: note: each undeclared identifier is reported only once for each function it appears in<br>Makefile:750: recipe for target &#39;libgxpCairo_la-gxC.lo&#39; failed<br>make[2]: *** [libgxpCairo_la-gxC.lo] Error 1<br>make[2]: Leaving directory &#39;/home/zmumba/grads/supplibs/src/grads-2.2.0/src&#39;<br>Makefile:543: recipe for target &#39;all&#39; failed<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory &#39;/home/zmumba/grads/supplibs/src/grads-2.2.0/src&#39;<br>Makefile:454: recipe for target &#39;all-recursive&#39; failed<br>make: *** [all-recursive] Error 1<br><br></div>