<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 8, 2011, at 3:35 AM, muhammad hasan ali baig wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Hi dear fellows,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am using the GrADS version 2.0.a9 and I wish to install supplemental libraries from<span class="Apple-converted-space">&nbsp;</span><a href="http://iges.org/grads/gadoc/supplibs.html">http://iges.org/grads/gadoc/supplibs.html</a>. I followed each and every step as mentioned there.<span class="Apple-converted-space">&nbsp;</span><br>My laptop system supports i686 i686 i386 GNU/Linux. </div></span></blockquote><div><br></div><div>Did you try using the i686 binaries distributed by COLA at <a href="http://iges.org/grads/downloads.html">http://iges.org/grads/downloads.html</a> ?&nbsp;</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>I want to convert my data into GRIB2 format by using GrADS.</div></span></blockquote><div><br></div><div>Creating GRIB2 files is not a feature in GrADS. Before you go to a lot of trouble, you might have a look at wgrib2 instead.&nbsp;</div><div><br></div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div> For this purpose, i want to use g2clib 1.1.8. Before installing it, it is necessary to install some other libs like zlib and libpng. I successfully installed the zlib but when i tried to install libpng following eror message occurred:<span class="Apple-converted-space">&nbsp;</span><br></div></span></blockquote><div><br></div>Regarding building the supplibs, John Huddleston's message had some good advice. But be sure that is is 100% necessary before you continue.&nbsp;</div><div>--Jennifer</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><br><p style="margin-bottom: 0in; "><font size="1">checking for zlibVersion in -lz... no</font></p><p style="margin-bottom: 0in; "><font size="1">configure: error: zlib not installed<span class="Apple-converted-space">&nbsp;</span></font><br></p><p style="margin-bottom: 0in; ">While i had already installed zlib as shown from the following messages:<span class="Apple-converted-space">&nbsp;</span><br></p><div style="margin-bottom: 0in; "><br class="webkit-block-placeholder"></div><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# make</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o example.o example.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o adler32.o adler32.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o compress.o compress.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o crc32.o crc32.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o gzio.o gzio.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o uncompr.o uncompr.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o deflate.o deflate.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o trees.o trees.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o zutil.o zutil.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o inflate.o inflate.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o infback.o infback.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o inftrees.o inftrees.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o inffast.o inffast.c</font></p><p style="margin-bottom: 0in; "><font size="1">ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -o example example.o -L. libz.a</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -c -o minigzip.o minigzip.c</font></p><p style="margin-bottom: 0in; "><font size="1">gcc -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.a</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# su</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# make install</font></p><p style="margin-bottom: 0in; "><font size="1">cp zlib.h zconf.h /root/supplibs/src/zlib/include</font></p><p style="margin-bottom: 0in; "><font size="1">chmod 644 /root/supplibs/src/zlib/include/zlib.h /root/supplibs/src/zlib/include/zconf.h</font></p><p style="margin-bottom: 0in; "><font size="1">cp libz.a /root/supplibs/src/zlib/lib</font></p><p style="margin-bottom: 0in; "><font size="1">cd /root/supplibs/src/zlib/lib; chmod 755 libz.a</font></p><p style="margin-bottom: 0in; "><font size="1">cd /root/supplibs/src/zlib/lib; if test -f libz.so.1.2.3; then \</font></p><p style="margin-bottom: 0in; "><font size="1">rm -f libz.so libz.so.1; \</font></p><p style="margin-bottom: 0in; "><font size="1">ln -s libz.so.1.2.3 libz.so; \</font></p><p style="margin-bottom: 0in; "><font size="1">ln -s libz.so.1.2.3 libz.so.1; \</font></p><p style="margin-bottom: 0in; "><font size="1">(ldconfig || true) &gt;/dev/null 2&gt;&amp;1; \</font></p><p style="margin-bottom: 0in; "><font size="1">fi</font></p><p style="margin-bottom: 0in; "><font size="1">cp zlib.3 /root/supplibs/src/zlib/share/man/man3</font></p><p style="margin-bottom: 0in; "><font size="1">chmod 644 /root/supplibs/src/zlib/share/man/man3/zlib.3</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# cp ./lib/libz.a $HOME/supplibs/lib</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# mkdir $HOME/supplibs/include/zlib</font></p><p style="margin-bottom: 0in; "><font size="1">mkdir: cannot create directory `/root/supplibs/include/zlib': No such file or directory</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# pwd</font></p><p style="margin-bottom: 0in; "><font size="1">/home/Hasan/supplibs/src/zlib</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# mkdir /home/Hasan/supplibs/include/zlib</font></p><p style="margin-bottom: 0in; "><font size="1">mkdir: cannot create directory `/home/Hasan/supplibs/include/zlib': File exists</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# cp ./include/zlib.h $HOME/supplibs/include/zlib</font></p><p style="margin-bottom: 0in; "><font size="1">cp: cannot create regular file `/root/supplibs/include/zlib': No such file or directory</font></p><p style="margin-bottom: 0in; "><font size="1">[root@localhost zlib]# cp ./include/zlib.h /home/Hasan/supplibs/include/zlib</font></p><p style="margin-bottom: 0in; "><font size="1">cp: overwrite `/home/Hasan/supplibs/include/zlib/zlib.h'? y</font></p><div style="margin-bottom: 0.08in; "><br class="webkit-block-placeholder"></div><br>Could you guide me how to resolve this problem?<br><br>Regards,<br><br>==================================================================<br><b>Muhammad Hasan Ali Baig,<br></b><div style="margin-bottom: 0pt; text-align: left; margin-top: 0in; margin-right: 0in; margin-left: 0in; "><font size="3"><b><font face="Times New Roman">Key Laboratory of Meteorological Disaster of Ministry of Education</font><span lang="ZH-CN" style="font-family: SimSun; ">,</span><font face="Times New Roman">Nanjing</font><span style="font-size: 14.5pt; "></span></b></font></div><div style="margin-bottom: 0pt; text-align: left; margin-top: 0in; margin-right: 0in; margin-left: 0in; "><font face="Times New Roman"><font size="3"><b>University of Information Science &amp; Technology<span>, Nanjing 210044, P. R. China</span></b></font></font></div><b>Mobile: +8615251705047<br>==================================================================<br></b><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></span></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></body></html>