<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
1. Good grief! What flavor of unix is this?&nbsp;
<div>2. You missed the rest of the important information there:</div>
<div><br>
</div>
<div>
<div><font face="Courier" style="font-size: 14px;">if test &quot;$use_cairo&quot; = &quot;yes&quot; ; then</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;&#43; cairo enabled &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">else</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;- cairo disabled &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;* * * * * * * * * * * * * * &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;* &nbsp; &nbsp; &nbsp;!! WARNING !! &nbsp; &nbsp; &nbsp;* &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;* &nbsp;THIS VERSION OF GrADS &nbsp;* &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;* &nbsp; &nbsp;WILL NOT COMPILE &nbsp; &nbsp; * &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;* &nbsp; &nbsp; WITHOUT CAIRO! &nbsp; &nbsp; &nbsp;* &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp;* * * * * * * * * * * * * * &nbsp;|&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">&nbsp; &nbsp;echo &quot; &nbsp;| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&quot;</font></div>
<div><font face="Courier" style="font-size: 14px;">fi&nbsp;</font></div>
</div>
<div><br>
</div>
<div>3. Well, have a look at <a href="http://cola.gmu.edu/grads/gadoc/supplibs.html">
http://cola.gmu.edu/grads/gadoc/supplibs.html</a>. If you already have some of these libraries installed under /usr or /usr1/ on your system, then you can just copy the files you need into your own $HOME/grads/supplibs directory structure.&nbsp;</div>
<div><br>
</div>
<div>My advice is to ask your sysadm to help with the libc.so.6 error message and get the pre-compiled binary to work.&nbsp;</div>
<div><br>
</div>
<div>—Jennifer</div>
<div><br>
<div>
<div>On Dec 7, 2016, at 10:53 AM, Matt Bunkers - NWS Rapid City &lt;<a href="mailto:matthew.bunkers@noaa.gov">matthew.bunkers@noaa.gov</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi Jennifer,
<div><br>
</div>
<div>1.&nbsp; I believe so because of the following error I get.&nbsp; Doing a Google search says that the only way around this is to compile the source code.</div>
<div>
<div><br>
</div>
<div>matthew.bunkers@sac2-&gt; /usr1/grads-2.1.0_bin/bin/grads</div>
<div>/usr1/grads-2.1.0_bin/bin/grads: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /usr1/grads-2.1.0_bin/bin/grads)</div>
<div>matthew.bunkers@sac2-&gt;</div>
</div>
<div><br>
</div>
<div>2.&nbsp; The configure script said: &nbsp;- cairo disabled &nbsp;</div>
<div><br>
</div>
<div>3.&nbsp; This variable doesn't appear to be defined:</div>
<div><br>
</div>
<div>
<div>matthew.bunkers@sac2-&gt; echo $SUPPLIBS</div>
<div>SUPPLIBS: Undefined variable.</div>
<div>matthew.bunkers@sac2-&gt;</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>-- Matt</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Dec 7, 2016 at 5:57 AM, Jennifer M Adams <span dir="ltr">
&lt;<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">Hi, Matt -
<div>1. Is it absolutely necessary for you to build GrADS from source?&nbsp;</div>
<div>2. Are you sure that the configure script reported that Cairo was enabled?&nbsp;</div>
<div>3. What is your environment variable $SUPPLIBS set to? &nbsp;</div>
<div>—Jennifer</div>
<div><br>
<div>
<div>On Dec 5, 2016, at 5:45 PM, Matt Bunkers - NWS Rapid City &lt;<a href="mailto:matthew.bunkers@noaa.gov" target="_blank">matthew.bunkers@noaa.gov</a>&gt; wrote:</div>
<br class="gmail-m_8046681041408716394Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I get the following error messages when running the make command for grads-2.1.0 (the configure command worked fine).&nbsp; I did a search on the errors and I seem to have all of the needed software installed.</div>
<div><br>
</div>
<div>Has anyone else noticed these errors and found a way around them?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>-- Matt</div>
<div><br>
</div>
<div>==============================<wbr>===============</div>
<div><br>
</div>
<div>
<div>matthew.bunkers@sac2-&gt; make</div>
<div>Making all in src</div>
<div>make[1]: Entering directory `/usr1/grads-2.1.0/src'</div>
<div>make &nbsp;all-am</div>
<div>make[2]: Entering directory `/usr1/grads-2.1.0/src'</div>
<div>gcc -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -g -O2 -rdynamic -c gxX.c</div>
<div>gxX.c:19:19: error: cairo.h: No such file or directory</div>
<div>gxX.c:20:24: error: cairo-xlib.h: No such file or directory</div>
<div>In file included from gxX.c:24:</div>
<div>gxC.h:41: error: expected ‘)’ before ‘*’ token</div>
<div>gxC.h:63: error: expected ‘)’ before ‘*’ token</div>
<div>gxC.h:64: error: expected ‘)’ before ‘*’ token</div>
<div>gxX.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token</div>
<div>gxX.c: In function ‘gxdbgn’:</div>
<div>gxX.c:222: error: ‘surface’ undeclared (first use in this function)</div>
<div>gxX.c:222: error: (Each undeclared identifier is reported only once</div>
<div>gxX.c:222: error: for each function it appears in.)</div>
<div>gxX.c: In function ‘gxdend’:</div>
<div>gxX.c:229: error: ‘surface’ undeclared (first use in this function)</div>
<div>gxX.c: In function ‘gxddbl’:</div>
<div>gxX.c:430: error: ‘surface2’ undeclared (first use in this function)</div>
<div>gxX.c:430: error: ‘surface’ undeclared (first use in this function)</div>
<div>gxX.c:430: error: ‘CAIRO_CONTENT_COLOR_ALPHA’ undeclared (first use in this function)</div>
<div>gxX.c: In function ‘gxdswp’:</div>
<div>gxX.c:444: error: ‘surface’ undeclared (first use in this function)</div>
<div>gxX.c:444: error: ‘surface2’ undeclared (first use in this function)</div>
<div>gxX.c: In function ‘gxdsgl’:</div>
<div>gxX.c:453: error: ‘surface2’ undeclared (first use in this function)</div>
<div>gxX.c:456: error: ‘surface’ undeclared (first use in this function)</div>
<div>gxX.c: In function ‘gxdrdw’:</div>
<div>gxX.c:477: error: ‘surface’ undeclared (first use in this function)</div>
<div>make[2]: *** [gxX.o] Error 1</div>
<div>make[2]: Leaving directory `/usr1/grads-2.1.0/src'</div>
<div>make[1]: *** [all] Error 2</div>
<div>make[1]: Leaving directory `/usr1/grads-2.1.0/src'</div>
<div>make: *** [all-recursive] Error 1</div>
<div>matthew.bunkers@sac2-&gt;</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><b>I seem to have cairo.h and cairo-xlib.h per the output below:</b></div>
<div><br>
</div>
<div>
<div>matthew.bunkers@sac2-&gt; locate cairo.h</div>
<div>/usr/include/cairo/cairo.h</div>
<div>/usr/include/gtk-2.0/gdk/<wbr>gdkcairo.h</div>
<div>/usr/include/pango-1.0/pango/<wbr>pangocairo.h</div>
<div>/usr/include/xulrunner-17.0.<wbr>10/cairo/cairo.h</div>
<div>/usr1/anaconda2/include/cairo/<wbr>cairo.h</div>
<div>/usr1/anaconda2/include/<wbr>pycairo/pycairo.h</div>
<div>/usr1/anaconda2/pkgs/cairo-1.<wbr>12.18-6/include/cairo/cairo.h</div>
<div>/usr1/anaconda2/pkgs/pycairo-<wbr>1.10.0-py27_0/include/pycairo/<wbr>pycairo.h</div>
<div>matthew.bunkers@sac2-&gt;</div>
</div>
<div><br>
</div>
<div>
<div>matthew.bunkers@sac2-&gt; locate cairo-xlib.h</div>
<div>/usr/include/cairo/cairo-xlib.<wbr>h</div>
<div>/usr/include/xulrunner-17.0.<wbr>10/cairo/cairo-xlib.h</div>
<div>/usr1/anaconda2/include/cairo/<wbr>cairo-xlib.h</div>
<div>/usr1/anaconda2/pkgs/cairo-1.<wbr>12.18-6/include/cairo/cairo-<wbr>xlib.h</div>
<div>matthew.bunkers@sac2-&gt;</div>
</div>
<div><br>
</div>
</div>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div>
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div style="font-size:12px">--</div>
<div style="font-size:12px">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); 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;">
<div style="color: rgb(0, 0, 0); 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;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</body>
</html>