<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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.estilocorreo17
        {mso-style-name:estilocorreo17;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.estilocorreo19
        {mso-style-name:estilocorreo19;
        font-family:"Arial","sans-serif";
        color:navy;}
span.estilocorreo21
        {mso-style-name:estilocorreo21;
        font-family:"Arial","sans-serif";
        color:navy;}
span.estilocorreo210
        {mso-style-name:estilocorreo210;
        font-family:"Arial","sans-serif";
        color:navy;}
span.estilocorreo22
        {mso-style-name:estilocorreo22;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.estilocorreo23
        {mso-style-name:estilocorreo23;
        font-family:"Arial","sans-serif";
        color:navy;}
span.estilocorreo24
        {mso-style-name:estilocorreo24;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.estilocorreo25
        {mso-style-name:estilocorreo25;
        font-family:"Arial","sans-serif";
        color:navy;}
span.estilocorreo26
        {mso-style-name:estilocorreo26;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.estilocorreo27
        {mso-style-name:estilocorreo27;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle28
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle29
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle30
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.shorttext
        {mso-style-name:shorttext;}
span.EmailStyle32
        {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;}
/* List Definitions */
@list l0
        {mso-list-id:1034497943;
        mso-list-type:hybrid;
        mso-list-template-ids:2034920924 -346541156 201981977 201981979 201981967 201981977 201981979 201981967 201981977 201981979;}
@list l0:level1
        {mso-level-start-at:136;
        mso-level-text:%1;
        mso-level-tab-stop:39.75pt;
        mso-level-number-position:left;
        margin-left:39.75pt;
        text-indent:-21.75pt;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1616138049;
        mso-list-type:hybrid;
        mso-list-template-ids:831808644 2081182282 201981977 201981979 201981967 201981977 201981979 201981967 201981977 201981979;}
@list l1:level1
        {mso-level-start-at:136;
        mso-level-text:%1;
        mso-level-tab-stop:39.75pt;
        mso-level-number-position:left;
        margin-left:39.75pt;
        text-indent:-21.75pt;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</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> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you built curl and installed it under ${SUPPLIBS}/lib then
you do not need to make the configure.ac change.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’d say remove the directory, untar the libdap and simply
do the configure with the options as shown in the documents.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>BTW, I noticed you are using gcc now. Under HP/UX systems you
cannot combine cc and gcc binaries so make sure all your binaries are
consistent one way or the other.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </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> </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> Friday, July 09, 2010 1:36 PM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Hello John,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I trying to compile libdap-3.7.8 library, according to the grads
instructions, I changed the line this 136 in the configure.ac:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:39.75pt;text-indent:-21.75pt;mso-list:
l1 level1 lfo2'><![if !supportLists]><span lang=EN-GB style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'><span style='mso-list:Ignore'>136<span
style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span
lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>libdap_pkgconfig_libcurl=yes<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>By this other:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal style='margin-left:39.75pt;text-indent:-21.75pt;mso-list:
l0 level1 lfo4'><![if !supportLists]><span lang=EN-GB style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:navy'><span style='mso-list:Ignore'>136<span
style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span
lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>libdap_pkgconfig_libcurl=no<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>And then run this command:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'># autoreconf<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>configure.ac:73: error: AC_REQUIRE: circular dependency of
AC_GNU_SOURCE<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>gl/m4/extensions.m4:19: AC_USE_SYSTEM_EXTENSIONS is expanded
from...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>../../lib/autoconf/specific.m4:310: AC_GNU_SOURCE is expanded
from...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>gl/m4/gnulib-comp.m4:21: gl_EARLY is expanded from...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>configure.ac:73: the top level<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>autom4te: /usr/local/bin/m4 failed with exit status: 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>aclocal: /usr/local/bin/autom4te failed with exit status: 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>autoreconf: aclocal failed with exit status: 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I think these messages aren’t good. How can I fix that?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Please help,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Best regards,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Huber Paul Gilt Lopez<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span
lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] <b>En
nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> viernes, 09 de julio de 2010 12:10<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES><o:p> </o:p></span></p>
<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> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You just found a bug in the libxml2 library. Go to line 2338 of
encoding.c, e.g.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>vi +2338 encoding<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>And change the word ‘xlattable’ to
‘unicodetable’<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </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> </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> Friday, July 09, 2010 10:26 AM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Hello John,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I’m trying to compile xml2 library, but after I applied this
commands:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB>#./configure --disable-shared \<br>
--prefix=$HOME/supplibs/src/libxml2-2.6.16<br>
#make <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I found these 2 errors. I think this variable or function
“xlattable” is not defined.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>How can I fix these two errors?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include
-D_REENTRANT -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type
-Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized
-Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Winline -Wredundant-decls -MT encoding.lo -MD -MP -MF .deps/encoding.Tpo -c
encoding.c -o encoding.o<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c: In function 'UTF16LEToUTF8':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:418: warning: cast increases required alignment of
target type<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c: In function 'UTF8ToUTF16LE':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:500: warning: cast increases required alignment of
target type<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c: In function 'UTF16BEToUTF8':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:655: warning: cast increases required alignment of
target type<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c: In function 'UTF8ToUTF16BE':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:741: warning: cast increases required alignment of
target type<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c: In function 'ISO8859xToUTF8':<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:2338: error: 'xlattable' undeclared (first use in this
function)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:2338: error: (Each undeclared identifier is reported
only once<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:2338: error: for each function it appears in.)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c: At top level:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:2998: warning: string length '688' is greater than the
length '509' ISO C90 compilers are required to support<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>encoding.c:3108: warning: string length '624' is greater than the
length '509' ISO C90 compilers are required to support<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[2]: *** [encoding.lo] Error 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[2]: Leaving directory
`/home/huber/grads/supplibs/src/libxml2-2.6.16'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[1]: *** [all-recursive] Error 1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/libxml2-2.6.16'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make: *** [all] Error 2<o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Please help me,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Best regards,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Huber<o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span
lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] <b>En
nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> jueves, 08 de julio de 2010 19:21<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES><o:p> </o:p></span></p>
<div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Huber,<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>The archive library libunits.a is not empty. It is fine.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Copy it to the ${SUPPLIBS}/lib area and move on.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>BTW, if you have the gcc compiler on your system, then
'export CC=gcc' and start over.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>e.g. 'gcc --version' send me the results ...<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>John<o:p></o:p></span></p>
</div>
<div id=divRpF275410>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=ES
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span
lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On Behalf Of
Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b>Sent:</b> Thursday, July 08, 2010 3:45 PM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library<o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:Consolas;
color:green'>Hello John,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Do a ‘ar tv libudunits.a’, you should see something
like</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 16568 Jul 27 10:02 2009 utlib.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 7524 Jul 27 10:02 2009 utparse.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 14272 Jul 27 10:02 2009 utscan.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 1136 Jul 27 10:02 2009 udalloc.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>Yes, I do. And I see:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'># ar -tv libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>rw-r--r-- 0/
3 74480 Jul 8 15:47 2010 utlib.o</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>rw-r--r-- 0/
3 18232 Jul 8 15:47 2010 utparse.o</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>rw-r--r-- 0/
3 45144 Jul 8 15:47 2010 utscan.o</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>rw-r--r-- 0/
3 5328 Jul 8 15:47 2010 udalloc.o</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you have all four then you’re good to go. </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>Yes, I have but I think all four is empty.</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Copy it to ${SUPPLIBS}/lib, copy etc/udunits.dat to
${SUPPLIBS}/etc</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>I think this is not match.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You are getting an error on creating udunits executable. </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>I think this is match.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If the four objects are not in the libudunits.a file, cd into
the lib directory, and try compiling by hand:</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>cc -c -O -I../port/misc -I../port/cfortran
-DUT_DEFAULT_PATH='"${SUPPLIBS}/etc/udunits.dat"' *.c </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>I tried, but I think this is not complete well.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>#cc -c -O -I../port/misc -I../port/cfortran
-DUT_DEFAULT_PATH='"${SUPPLIBS}/etc/udunits.dat"' *.c </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>(Bundled) cc: warning 922: "-O" is unsupported in the
bundled compiler, ignored.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>udalloc.c:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>utlib-1.11.7.nof77intfc.c:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utlib-1.11.7.nof77intfc.c", line 1488: warning #2177-D:
function</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>
"CopyCtorNode" was declared but never referenced</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> CopyCtorNode(node)</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> ^</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utlib-1.11.7.nof77intfc.c", line 1520: warning #2177-D:
function "AssignNode"</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> was
declared but never referenced</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> AssignNode(to, from)</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> ^</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>utlib.c:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utlib.c", line 1488: warning #2177-D: function
"CopyCtorNode" was declared</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> but never
referenced</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> CopyCtorNode(node)</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> ^</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utlib.c", line 1520: warning #2177-D: function
"AssignNode" was declared but</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> never
referenced</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> AssignNode(to, from)</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> ^</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>utparse.c:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utparse.y", line 386: warning #2175-D: subscript out of
range</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> yypv = &yyv[-1];</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>
^</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utparse.y", line 387: warning #2175-D: subscript out of
range</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> yyps = &yys[-1];</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>
^</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>"utparse.y", line 405: warning #2177-D: label
"yynewstate" was declared but</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> never
referenced</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> yynewstate:</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> ^</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>utscan.c:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>then type ‘make’ and it should update the
libudunits.a file.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>I done, but I think libudunits.a library is still too small.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'># make</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>r - utlib.o</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>r - utparse.o</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>r - utscan.o</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>r - udalloc.o</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>case "" in \</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> '') ;; \</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> *) ar rucv
libudunits.a ;; \</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> esac</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ranlib libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'># du -sk libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>144 libudunits.a</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Go to the ../udunits directory and edit the Makefile to remove
the –R option arguments, exit the editor, and type make, or manually</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>cc -o udunits -O udunits.o –L../lib -ludunits -lm –L</span><span
style='color:black'>../</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>port/misc -ludport -lm</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>I did the manually form, then I type these commands but I have the
same problem.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'># cd ../udunits</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'># cc -o udunits -O udunits.o –L../lib -ludunits -lm
–L../port/misc -ludport -lm</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>cc -c -O -I../lib -I../port/misc udunits.c</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>(Bundled) cc: warning 922: "-O" is unsupported in the
bundled compiler, ignored.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>cc -o udunits -O udunits.o -R/data/hoop/udunits-1.11.7/src/lib -L/data/hoop/udunits-1.11.7/src/lib
-ludunits -R/data/hoop/udunits-1.11.7/src/port/misc
-L/data/hoop/udunits-1.11.7/src/port/misc -ludport -ly -lm</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>(Bundled) cc: warning 922: "-O" is unsupported in the
bundled compiler, ignored.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>(Bundled) cc: warning 901: unknown option:
`-R/data/hoop/udunits-1.11.7/src/lib': use +help for online documentation.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>(Bundled) cc: warning 901: unknown option:
`-R/data/hoop/udunits-1.11.7/src/port/misc': use +help for online
documentation.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Can't find library for -ludunits</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>Fatal error.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make[1]: *** [udunits] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/udunits-1.11.7/src/udunits'</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make: *** [program] Error 2</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>And also I remove –R option arguments. Then make output
were:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make[1]: Entering directory `/home/huber/grads/supplibs/src/udunits-1.11.7/src/udunits'</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>cc -o udunits -O udunits.o -ly -lm</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>(Bundled) cc: warning 922: "-O" is unsupported in the
bundled compiler, ignored.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utIsTime" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utInit" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utCalendar" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utScan" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utTerm" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utConvert" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: (Warning) Unsatisfied symbol "yyparse" in file
/usr/lib/hpux32/liby.so</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>ld: Unsatisfied symbol "utPrint" in file udunits.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>1 warnings.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>7 errors.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make[1]: *** [udunits] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/udunits-1.11.7/src/udunits'</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>make: *** [program] Error 2</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>If it possible to have the equivalent commands with gcc compiler,
the libudunits.a is still too small</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>I don’t know what is going on with compilation with
libudunits library, do you have extra information or tips</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>about the process of compilation in gcc o cc?</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>Thanks you, Very much</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'>Huber</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:Consolas;
color:green'> </span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>En nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> jueves, 08 de julio de 2010 14:55<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Huber, it is a small file,</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Do a ‘ar tv libudunits.a’, you should see something
like</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 16568 Jul 27 10:02 2009 utlib.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 7524 Jul 27 10:02 2009 utparse.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 14272 Jul 27 10:02 2009 utscan.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rw-r--r-- 1000/1000 1136 Jul 27 10:02 2009 udalloc.o</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you have all four then you’re good to go. </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Copy it to ${SUPPLIBS}/lib, copy etc/udunits.dat to
${SUPPLIBS}/etc</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You are getting an error on creating udunits executable. </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If the four objects are not in the libudunits.a file, cd into
the lib directory, and try compiling by hand:</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>cc -c -O -I../port/misc -I../port/cfortran
-DUT_DEFAULT_PATH='"${SUPPLIBS}/etc/udunits.dat"' *.c </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>then type ‘make’ and it should update the
libudunits.a file.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Go to the ../udunits directory and edit the Makefile to remove
the –R option arguments, exit the editor, and type make, or manually</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>cc -o udunits -O udunits.o –L ../lib -ludunits -lm
–L </span><span style='color:black'>../</span><span style='font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>port/misc -ludport -lm</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John Huddleston, PhD</span><span lang=ES style='color:black'><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</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></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";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>On Behalf Of </b>Huber Paúl Gilt
López<br>
<b>Sent:</b> Thursday, July 08, 2010 1:19 PM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Hello John,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Thanks you for your help, I’ve compiled libgb.a library and
also jasper, g2clib, and szip, but I can’t compiled udunits library. I
get the following error:</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>cc -o udunits -O udunits.o -R/data/hoop/udunits-1.11.7/src/lib
-L/data/hoop/udunits-1.11.7/src/lib -ludunits
-R/data/hoop/udunits-1.11.7/src/port/misc -L/data/hoop/udunits-1.11.7/src/port/misc
-ludport -ly -lm</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>(Bundled) cc: warning 922: "-O" is unsupported in the
bundled compiler, ignored.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>(Bundled) cc: warning 901: unknown option:
`-R/data/hoop/udunits-1.11.7/src/lib': use +help for online documentation.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>(Bundled) cc: warning 901: unknown option:
`-R/data/hoop/udunits-1.11.7/src/port/misc': use +help for online
documentation.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>ld: Can't find library for -ludunits</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Fatal error.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[2]: *** [udunits] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[2]: Leaving directory
`/home/huber/grads/supplibs/src/udunits-1.11.7/src/udunits'</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[1]: *** [program] Error 2</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/udunits-1.11.7/src/udunits'</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make: *** [udunits/all] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>But I saw that I have the libunits.a library, but I think it
isn’t complete because it’s so small.</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>How can I resolve this error?</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'># ls lib/libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>lib/libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'># du -sk lib/libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>144 lib/libudunits.a</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Please help me,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Best regards, </span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Huber</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>En nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> jueves, 08 de julio de 2010 9:54<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Huber,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The /usr/local/lib/libpng.la controls which PNG library is used.
It seems as if someone else built and installed version 14 under /usr/local.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Unless you have sudo privlileges you are going to have to work
around that implementation.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This is going to sound funny..but; if you have already built the
GD library file that’s all you need to continue building.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In my case, the path is
/home/dasilva/src/supplibs-2.1.0/i686-pc-linux/lib/libgd.a </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>In your case copy the libgd.a to your $(SUPPLIBS)/lib directory
and copy the include files</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h
gdfonts.h gdfontt.h entities.h</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>to your ${SUPPLIBS}/include directory.</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Next, go on to build jasper, g2clib, szlib, etc.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John Huddleston, PhD</span><span lang=ES style='color:black'><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</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></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";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>On Behalf Of </b>Huber Paúl Gilt
López<br>
<b>Sent:</b> Wednesday, July 07, 2010 9:42 AM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Hi John,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Don’t worry about the difficulty that I’m having, I
can’t figure how you build in or with Cygwin, I suppose it is a heavy
work.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Any way, I don’t found any reference with libpng14 in the
libgb’s Makefile , but I found the following lines that </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I think it would be not setup for the libpng12. How can I setup
this Makefile in order to use the libpng12 library, and so try to compile the
gb library? (I’m attaching the libgb’s Makefile)</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>LIBPNG12_CONFIG =</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>LIBPNG_CONFIG = /usr/local/bin/libpng-config </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Please help me,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Best regards,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Huber</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>En nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> martes, 06 de julio de 2010 14:30<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Huber, so sorry you are having so much difficulty. You should
see the work I have for the Cygwin build!</span><span lang=ES style='color:
black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Look at your gcc line and you will see the path </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>/usr/local/lib/hpux32/libpng14.so</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Edit the Makefile, search for libpng14, edit that line and replace
it with the path to your libpng12 file.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>John</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>John Huddleston, PhD</span><span lang=ES style='color:black'><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</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></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";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>On Behalf Of </b>Huber Paúl Gilt
López<br>
<b>Sent:</b> Tuesday, July 06, 2010 1:13 PM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Hello John,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I start to compile all the supplemental libraries; I compiled
readline, ncurses, zlib, libpng and jpeg libraries, but I cant compile gd
library. Because I have the following error:</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>gcc -g -O2 -o gdparttopng gdparttopng.o
-L/usr/local/lib/hpux32 -L/usr/lib/X11R4
-L/home/huber/grads/supplibs/src/jpeg-6b/lib ./.libs/libgd.a
-L/usr/contrib/X11R6/lib /usr/local/lib/hpux32/libXpm.so /usr/local/lib/hpux32/libintl.so
-lX11 /usr/local/lib/hpux32/libjpeg.so /usr/local/lib/hpux32/libfontconfig.so
/usr/local/lib/hpux32/libiconv.so /usr/local/lib/hpux32/libexpat.so
/usr/local/lib/hpux32/libfreetype.so /usr/local/lib/hpux32/libpng14.so -lz -lm</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>ld: Unsatisfied symbol "gdImageCreateFromGd2Part" in file
gdparttopng.o</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>ld: Unsatisfied symbol "png_check_sig" in file
./.libs/libgd.a[gd_png.o]</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>2 errors.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>collect2: ld returned 1 exit status</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[2]: *** [gdparttopng] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[2]: Leaving directory
`/home/huber/grads/supplibs/src/gd-2.0.34'</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[1]: *** [all-recursive] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/gd-2.0.34'</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>make: *** [all] Error 2</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Who can I setup the correct path for the libpng1.2 library, because
I follow the instructions in the PDF, and I executed the following commands:</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>cd gd-2.0.34<br>
./configure --disable-shared \<br>
--with-png=$HOME/supplibs/src/libpng-1.2.18 \<br>
--with-jpeg=$HOME/supplibs/src/jpeg-6b \<br>
--prefix=$HOME/supplibs/src/gd-2.0.34<br>
make</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>Please help me,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>Best regards,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";
color:black'>Huber</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>En nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> viernes, 02 de julio de 2010 12:20<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Hi Huber,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Did you remove the libpng directory, untar libpng
again, configure again with the options specified in Building_GrADS.pdf, and
make the system?</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Ditto for the GD build.</span><span lang=ES style='color:
black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>You must follow the order of the build as shown in the PDF file.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>John Huddleston, PhD, PE</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div id=divRpF880702>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-GB
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On
Behalf Of Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b>Sent:</b> Friday, July 02, 2010 11:06 AM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Hello John,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I’ve done your instructions and also I compiled the
zlib-1.2.3 library and I have the library libz.a, in supplibs/lib. </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>And I have the same problem in libpng-1.2-18 compilation.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>What is going on with libpng library if I have the libz.a library
in the folder supplibs/lib?</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>(In the end I list the compiled libraries)</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Please help me,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Best regards.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Huber Paul Gilt López</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'># pwd</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>/home/huber/grads/supplibs/lib</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'># ls</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>libcurl.a libhdf5_hl.a
libncurses.a libreadline.a libxdr.a</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>libdf.a
libjpeg.a libnetcdf.a
libsz.a libz.a</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>libhdf5.a
libmfhdf.a libpng12.a
libudunits.a</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>En nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> viernes, 02 de julio de 2010 9:30<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Hi Huber, On June 15th I sent you a PDF on how to build GrADS,
please look it over,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> libpng doesn't build because you do not have the zlib.</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Get zlib from </span><span lang=ES style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><a
href="ftp://grads.iges.org/grads/Supplibs/2.0/src/zlib-1.2.3.tar.gz"
target="_blank"><span lang=EN-GB>ftp://grads.iges.org/grads/Supplibs/2.0/src/zlib-1.2.3.tar.gz</span></a></span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>tar xvfz ./tarfiles/zlib-1.2.3.tar.gz <br>
cd zlib-1.2.3/<br>
./configure --prefix=$HOME/supplibs/src/zlib-1.2.3<br>
make<br>
make install<br>
cp ./lib/libz.a $HOME/supplibs/lib<br>
mkdir $HOME/supplibs/include/zlib<br>
cp ./include/zlib.h $HOME/supplibs/include/zlib</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>John</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div id=divRpF809398>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-GB
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On
Behalf Of Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b>Sent:</b> Friday, July 02, 2010 8:17 AM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>John,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Because I found this error when I configure PNG library 1.2:</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>#cd
/home/huber/grads/supplibs/src/libpng-1.2.18</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>./configure
--disable-shared --prefix=/home/huber/grads/supplibs/src/libpng-1.2.18</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>…</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>checking for pow in -lm... yes</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>checking for zlibVersion in -lz... no</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>configure: error: zlib not installed</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>I‘ve exported this variable CC=gcc by this other </span><span
lang=EN-GB style='color:black'>CC='gcc -L/home/huber/grads/supplibs/lib -lz',
then I’ve done make, and make install. <span class=shorttext><span
style='background:white'>Provably</span></span> the libpng12.a library
didn’t build well, how I can fix the previous error when I tried to
configure the libpng12 library?</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>Please help me,</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>Best regards,</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>Huber Paul Gilt Lopez</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>De:</span></b><span lang=ES style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:black'> gradsusr-bounces@gradsusr.org
[mailto:gradsusr-bounces@gradsusr.org] <b>En nombre de </b>Huddleston, John<br>
<b>Enviado el:</b> jueves, 01 de julio de 2010 18:46<br>
<b>Para:</b> GrADS Users Forum<br>
<b>Asunto:</b> Re: [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Huber</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>You need the PNG library1.2 not 1.4. Somehow
you've installed a more recent version of PNG into /usr/local </span><span
lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Go back to the PNG 1.2 build and do a "make
install" to load it into /usr/local</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Otherwise, manually edit the Makefile and change it to point
to your $(SUPPLIBS) PNG area.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>John Huddleston</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
</div>
<div id=divRpF99626>
<div class=MsoNormal align=center style='text-align:center'><span lang=ES
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-GB
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span
lang=EN-GB style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On
Behalf Of Huber Paúl Gilt López [huber.gilt@igp.gob.pe]<br>
<b>Sent:</b> Thursday, July 01, 2010 4:15 PM<br>
<b>To:</b> 'GrADS Users Forum'<br>
<b>Subject:</b> [gradsusr] error compiling gd library</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Hello,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>I want to compile the gd library, i used this command, but I have
an unsatisfied symbol. How can I include these missing symbol?</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>#cd
/home/huber/grads/supplibs/src/gd-2.0.34</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>#./configure
--disable-shared\</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'> --with-png=/home/huber/grads/supplibs/src/libpng-1.2.18\</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'> --with-jpeg=/home/huber/grads/supplibs/src/jpeg-6b\</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'> --prefix=/home/huber/grads/supplibs/src/gd-2.0.34</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>#make</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>…</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>gcc -g -O2 -o gdparttopng gdparttopng.o
-L/home/huber/grads/supplibs/lib -L/usr/local/lib/hpux32 -L/usr/lib/X11R4
-L/home/huber/grads/supplibs/src/jpeg-6b/lib ./.libs/libgd.a
-L/usr/contrib/X11R6/lib /usr/local/lib/hpux32/libXpm.so
/usr/local/lib/hpux32/libintl.so -lX11 -ljpeg
/usr/local/lib/hpux32/libfontconfig.so /usr/local/lib/hpux32/libiconv.so
/usr/local/lib/hpux32/libexpat.so /usr/local/lib/hpux32/libfreetype.so
/usr/local/lib/hpux32/libpng14.so -lz -lm</span><span lang=ES style='color:
black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>ld: Unsatisfied symbol "png_check_sig" in file
./.libs/libgd.a[gd_png.o]</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>1 errors.</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>collect2: ld returned 1 exit status</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>make[2]: *** [gdparttopng] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>make[2]: Leaving directory `/home/huber/grads/supplibs/src/gd-2.0.34'</span><span
lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>make[1]: *** [all-recursive] Error 1</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>make[1]: Leaving directory
`/home/huber/grads/supplibs/src/gd-2.0.34'</span><span lang=ES
style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>make: *** [all] Error 2</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=ES style='color:black'> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Please help me,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Best regards,</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Huber Paul Gilt Lopez</span><span lang=ES style='color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>IGP-Peru</span><span lang=ES style='color:black'><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>