<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 85.05pt 70.85pt 85.05pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Huber<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The &#8216;tic&#8217; and &#8216;infocmp&#8217; applications are
used for a different purpose to &#8220;terminfo compile&#8221; terminal
settings for your server.  It is not used by GrADS.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You can either copy the libncurses.a file to your
${SUPPLIBS}/lib directory and move to the next  supplibs library &#8216;zlib&#8217;
or simply &#8216;touch tic&#8217; and make will go to the next.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Since you already have built the ncurses library, I like the
first solution better; however, the make install will also copy include files<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>curses.h  eti.h  form.h  menu.h  ncurses.h  ncurses_dll.h 
panel.h  term.h  termcap.h  unctrl.h<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>to the ${SUPPLIBS}/include/ncurses directory.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I sent a copy of the building grads PDF to your personal ID.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John Huddleston, PhD<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cooperative Institute for Research in the Atmosphere<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>On Behalf Of </b>Huber Paúl Gilt
López<br>
<b>Sent:</b> Monday, June 21, 2010 11:39 AM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> [gradsusr] Error compiling ncurses library<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hello
Everybody,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I&#8217;m
trying to compile the ncurses library, but after exec these commands I found
the error: &#8220;</span><span lang=EN-GB>Can't find library for &#8211;lunwind&#8221;</span><span
lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>#export CC=gcc<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>#export CXX=g++<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>#export FC=f90<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>#./configure &#8211;disable-shared
&#8211;prefix=/home/huber/grads/supplibs/src/readline-5.0<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>#make<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>make[1]: Entering directory
`/home/huber/grads/supplibs/src/ncurses-5.7/progs'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>gcc ../objects/tic.o
../objects/dump_entry.o&nbsp; -I../progs -I. -DHAVE_CONFIG_H -I.
-I../include&nbsp; -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64&nbsp; -DNDEBUG
-I/home/huber/grads/supplibs/src/ncurses-5.7/include/ncurses -O2 --param
max-inline-insns-single=1200 -static -L../lib -lncurses -L../lib -lncurses
-dynamic&nbsp;&nbsp; -o tic<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>ld: Can't find library for -lunwind<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Fatal error.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>collect2: ld returned 1 exit status<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>make[1]: *** [tic] Error 1<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/ncurses-5.7/progs'<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>make: *** [all] Error 2<o:p></o:p></span></p>

<p class=MsoNormal><span lang=ES><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>And also, I found this library in:
/usr/lib/hpux32/libunwind.so, so I added the &#8220;-L/usr/lib<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>/hpux32 &#8211;lunwind&#8221; at the end of
the last command line, but neither it&#8217;s the same error:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>ld: Can't find library for -lunwind<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Fatal error.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>collect2: ld returned 1 exit status<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>How can I setup the lunwind library, is it
necessary or maybe can I exclude it?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Please help me,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Best regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>Huber Paúl Gilt López <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB>IGP-Perú<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>