<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
What's the easy way top tell NCAR where freetype lives? &nbsp;I see&nbsp;
<div>/usr/include/freetype2/freetype/config/ftheader.h</div>
<div>but I guess that's not NCAR's assumed location.&nbsp;</div>
<div>Thanks</div>
<div>-- Rich&nbsp;</div>
<div><br>
<div>
<div>On May 11, 2015, at 11:25 AM, Cook, Rich &lt;<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi, aha, yes, you are correct. &nbsp;
<div>I guess looking for the word &quot;Error&quot; in my build log was too obvious an exercise for me. &nbsp;:-|</div>
<div>It would be good if the build would fail instead of appearing to complete, but it looks like I have a way forward here. &nbsp;I need to install freetype it looks like...&nbsp;</div>
<div><br>
</div>
<div>
<div>intel: icc-14.0.174 -ansi -openmp &nbsp;-O &nbsp;-I../../../.././include -I/usr/include/X11 &nbsp;-DLinux &nbsp; &nbsp;-DCTXT -DX11 -DPS -DPDF -DPIX &nbsp;-DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto &nbsp; &nbsp;-c -o cro_device.o cro_device.c</div>
<div>intel: In file included from /usr/include/cairo/cairo-ft.h(47),</div>
<div>intel: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cro.h(147),</div>
<div>intel: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from cro_device.c(26):</div>
<div>intel: /usr/include/ft2build.h(56): catastrophic error: cannot open source file &quot;freetype/config/ftheader.h&quot;</div>
<div>intel: &nbsp; #include &lt;freetype/config/ftheader.h&gt;</div>
<div>intel: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div>
<div>intel:&nbsp;</div>
<div>intel: compilation aborted for cro_device.c (code 4)</div>
<div>intel: make[5]: *** [cro_device.o] Error 4</div>
<div>intel: make[5]: Leaving directory `/tmp/dpkg-mkdeb.ljmPKZOP1X/src/ncl_ncarg-6.3.0/ncarg2d/src/libncarg_gks/cdrivers'</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On May 11, 2015, at 11:01 AM, Mary Haley &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Hi Richard,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">The likely issue is that the GKS library didn't get fully built, and the culprit is probably the &quot;cdrivers&quot; directory under the &quot;$NCARG/ncarg2d/src/libncarg_gks&quot; directory.&nbsp; There's some source code in that
 directory that depends on cairo, which is an external package required by NCL V6.3.0. It wasn't required by NCL V6.0.0. My guess is that the build failed because it couldn't find some required include files by cairo and/or freetype.</div>
<div class="gmail_default" style="font-size:small"><br>
Can you email me the full build log so I can see where the error is?</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">--Mary</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, May 11, 2015 at 10:26 AM, Cook, Rich <span dir="ltr">
&lt;<a href="mailto:cook47@llnl.gov" target="_blank">cook47@llnl.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello,&nbsp;
<div>I'm sorry if this is a known issue; &nbsp;I am the maintainer of our cluster installation of NCAR on our machines.&nbsp; A user recently complained to me that he is having linker errors when trying build against ncar:&nbsp;</div>
<div><br>
</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
<div>ifort &nbsp; &nbsp; shok3.o /usr/local/lib/libmbase.a /usr/local/tools/ncar-intel-6.3.0/lib/libncarg.a /usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a /usr/local/tools/ncar-intel-6.3.0/lib/libncarg_c.a /usr/local/tools/ncar-intel-6.3.0/lib/libcgm.a /usr/lib64/libX11.so
 -o shok3</div>
<div>/usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':</div>
<div>gziqwk.f:(.text&#43;0x123): undefined reference to `ggkwdr_'</div>
<div>/usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':</div>
<div>gztowk.f:(.text&#43;0x2ce): undefined reference to `ggkwdr_'</div>
<div>gztowk.f:(.text&#43;0x5a2): undefined reference to `ggkwdr_'</div>
<div>gztowk.f:(.text&#43;0x984): undefined reference to `ggkwdr_'</div>
<div>make: *** [shok3] Error 1</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
</div>
<div><br>
</div>
<div>Naturally I googled to find a solution but none of the postings I found seemed relevant to me -- they all referenced some w_char problem from ages past, which I don't see any hint of in my build logs. &nbsp;</div>
<div><br>
</div>
<div>If the user tries building against our 6.0.0 build, he does not have this problem -- nm reveals that the symbol lives in&nbsp;libncarg_c.a&nbsp;</div>
<div>I looked and ggkwdr() is a function from file fort_c.c&nbsp;</div>
<div>When I compared the build logs of the two versions, I see that in 6.0.0, fort_c.o gets archived into libncarg_c.a, which then gets installed into the INSTALL_DIR/lib:&nbsp;</div>
<div><br>
</div>
<div>// -------------------------------------------------------------------------</div>
<div>
<div>ar vru ../libncarg_gks.a fort_c.o gksc.o transform.o gksP.o gks_device.o ctxt_device.o ctxt.o ctxt_conv.o xdevice.o font.o text.o x_conv.o xattribute.o xcontrol.o
<span style="white-space:pre-wrap"></span>xinquiry.o xoutput.o psdevice.o ps.o ps_conv.o psfill.o pdf.o pdfdevice.o pdf_conv.o pdffill.o pixcontrol.o &nbsp; &nbsp; pixoutput.o pixdevice.o &nbsp;<span style="white-space:pre-wrap">
</span>pix_conv.o &nbsp; &nbsp; &nbsp; pixattribute.o &nbsp;pixinquiry.o <span style="white-space:pre-wrap">
</span>pixwrite_xwd.o &nbsp;</div>
</div>
<div>....&nbsp;</div>
<div>
<div>intel: ranlib libncarg_gks.a</div>
<div>intel: Installing libncarg_gks.a</div>
<div>intel: ranlib /usr/local/tools/ncar-intel-6.3.0/lib/libncarg_gks.a</div>
</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
</div>
<div><br>
</div>
<div>But in the build log for version 6.3.0, fort_c.o gets stuffed into a library called libbasegks.a, and this library never seems to be installed anywhere or used: &nbsp;</div>
<div><br>
</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
<div>intel: ar vru ../libbasegks.a fort_c.o gksc.o transform.o gksP.o argb.o</div>
</div>
<div>....</div>
<div>(no more mention of libbasegks.a in the build log from here)</div>
<div>
<div>// -------------------------------------------------------------------------</div>
<div></div>
</div>
<div><br>
</div>
<div>Can someone help me understand what's wrong with my build process? &nbsp;</div>
<div>I'm building them both identically, using the&nbsp;config/LINUX.INTEL configuration.&nbsp;</div>
<div><br>
</div>
<div>Thanks!</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div><span style="border-collapse:separate;font-size:13px;border-spacing:0px"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
<div>--&nbsp;</div>
<div>✐Richard Cook&nbsp; &nbsp;</div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557 &nbsp; &nbsp; &nbsp; &nbsp;</div>
<div>7000 East Avenue,&nbsp; Livermore, CA, 94550, USA</div>
<div><span>&lt;emoji_u260e.png&gt;</span> (office) <a href="tel:%28925%29%20423-9605" value="&#43;19254239605" target="_blank">
(925) 423-9605</a> &nbsp; &nbsp;</div>
<div><span>&lt;emoji_u260e.png&gt;</span> (fax)&nbsp;<a href="tel:%28925%29%20423-6961" value="&#43;19254236961" target="_blank">(925) 423-6961</a></div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br>
</span></span></span></span></span></span></span><br>
</span></div>
<br>
</font></span></div>
</div>
<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; font-size: 13px; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
<div>--&nbsp;</div>
<div>✐Richard Cook&nbsp; &nbsp;</div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557 &nbsp; &nbsp; &nbsp; &nbsp;</div>
<div>7000 East Avenue,&nbsp; Livermore, CA, 94550, USA</div>
<div>☎ (office) (925) 423-9605 &nbsp; &nbsp;</div>
<div>☎ (fax)&nbsp;(925) 423-6961</div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br class="Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="Apple-interchange-newline">
</span></div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Monaco; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<div>--&nbsp;</div>
<div>✐Richard Cook&nbsp; &nbsp;</div>
<div>✇ Lawrence Livermore National Laboratory</div>
<div>Bldg-453 Rm-4024, Mail Stop L-557 &nbsp; &nbsp; &nbsp; &nbsp;</div>
<div>7000 East Avenue,&nbsp; Livermore, CA, 94550, USA</div>
<div>☎ (office) (925) 423-9605 &nbsp; &nbsp;</div>
<div>☎ (fax)&nbsp;(925) 423-6961</div>
<div>---</div>
<div>Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.</div>
<div>(opinions expressed herein are mine and not those of LLNL)</div>
<br class="Apple-interchange-newline">
</span></span></span></span></span></span></span><br class="Apple-interchange-newline">
</span></div>
<br>
</div>
</body>
</html>