thanks a lot dear John. the issue which i raised was related to my GrADS which i installed in linux fedora after downloading from IGES. regarding windows i downloaded the latest version of GrADS grads-2.0.a9.oga.1-win32_superpack from <a href="http://opengrads.org/index.php">http://opengrads.org/index.php</a>. <br>

==================================================================<br><strong>Muhammad Hasan Ali Baig,<br></strong>
<p style="TEXT-ALIGN: left; MARGIN: 0in 0in 0pt"><font size="3"><strong><font face="Times New Roman">Key Laboratory of Meteorological Disaster of Ministry of Education</font><span style="FONT-FAMILY: SimSun" lang="ZH-CN">,</span><font face="Times New Roman">Nanjing</font><span style="FONT-SIZE: 14.5pt"></span></strong></font></p>


<p style="TEXT-ALIGN: left; MARGIN: 0in 0in 0pt"><font face="Times New Roman"><font size="3"><strong>University of Information Science &amp; Technology<span>, Nanjing 210044, P. R. China</span></strong></font></font></p>

<strong>Mobile: +8615251705047<br>==================================================================<br></strong><br><br><br>
<div class="gmail_quote">On 14 March 2011 22:53, Huddleston, John <span dir="ltr">&lt;<a href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Muhammad</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Making the SUPPLIBS is not a trivial matter and the ZLIB is the first and easiest to build and install.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">I recollect seeing an email from Jennifer asking if you had tried to install an OpenGrads </span><a href="http://sourceforge.net/projects/opengrads/files/" target="_blank">http://sourceforge.net/projects/opengrads/files/</a> or <span style="COLOR: #1f497d; FONT-SIZE: 11pt">IGES <a href="http://www.iges.org/grads/downloads.html" target="_blank">http://www.iges.org/grads/downloads.html</a> package?</span></p>


<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Can you use one of those packages?</span></p>
<div class="im">
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">John Huddleston</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt">Cooperative Institute for Research in the Atmosphere</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d; FONT-SIZE: 11pt"> </span></p></div>
<p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> muhammad hasan ali baig [mailto:<a href="mailto:mhasanbaig@gmail.com" target="_blank">mhasanbaig@gmail.com</a>] <br><b>Sent:</b> Monday, March 14, 2011 1:50 AM<br>

<b>To:</b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>; Huddleston, John<br><b>Subject:</b> problem while installing the libpng after zlib</span></p>
<div>
<div></div>
<div class="h5">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Dear Huddleston and other grads users,<br>                        I tried to follow the steps as mentioned by you but still the same error message occurred that &#39;zlib was not installed&#39;. I am very worried how to tackle with this  problem?</p>


<div>
<blockquote style="BORDER-BOTTOM: medium none; BORDER-LEFT: #cccccc 1pt solid; PADDING-BOTTOM: 0in; PADDING-LEFT: 6pt; PADDING-RIGHT: 0in; MARGIN-LEFT: 4.8pt; BORDER-TOP: medium none; MARGIN-RIGHT: 0in; BORDER-RIGHT: medium none; PADDING-TOP: 0in">


<p class="MsoNormal"><br><br>Message: 5<br>Date: Tue, 8 Mar 2011 05:41:39 -0800<br>From: &quot;Huddleston, John&quot; &lt;<a href="mailto:Huddleston@cira.colostate.edu" target="_blank">Huddleston@cira.colostate.edu</a>&gt;<br>

Subject: Re: [gradsusr] problem while installing the libpng after zlib<br>To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>       &lt;<a href="mailto:F367071F539DC64FB75E7D7690B8160D013364F71C39@EXVMBX003-2.exch003intermedia.net" target="_blank">F367071F539DC64FB75E7D7690B8160D013364F71C39@EXVMBX003-2.exch003intermedia.net</a>&gt;<br>

<br>Content-Type: text/plain; charset=&quot;iso-2022-jp&quot;<br><br>Muhammad<br><br>It looks like you have two different installation directories: /home/Hasan/supplibs and /root/supplibs.<br><br>My suggestion is to use the --prefix option when you configure; then, when you do a &#39;make install&#39; the binaries will go into the directory designated by the prefix. No hand copying is required.<br>

<br>As the Hasan user (not root) do the following<br>./configure --prefix=/home/Hasan/supplibs<br>make<br>make install<br><br>for the other packages they will require LIBS to be set to the find your libraries; and, for grads it will require the SUPPLIBS to be set to the directory where the supplibs are located.<br>

<br>John Huddleston<br>Cooperative Institute for Research in the Atmosphere<br><br>________________________________<br>From: <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] On Behalf Of muhammad hasan ali baig [<a href="mailto:mhasanbaig@gmail.com" target="_blank">mhasanbaig@gmail.com</a>]<br>

Sent: Tuesday, March 08, 2011 1:35 AM<br>To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>; <a href="mailto:arlindo.dasilva@gmail.com" target="_blank">arlindo.dasilva@gmail.com</a><br>Subject: [gradsusr] problem while installing the libpng after zlib<br>

<br>Hi dear fellows,<br>                    I am using the GrADS version 2.0.a9 and I wish to install supplemental libraries from <a href="http://iges.org/grads/gadoc/supplibs.html" target="_blank">http://iges.org/grads/gadoc/supplibs.html</a>. I followed each and every step as mentioned there.<br>

My laptop system supports i686 i686 i386 GNU/Linux. I want to convert my data into GRIB2 format by using GrADS. 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:<br>

<br><br>checking for zlibVersion in -lz... no<br><br>configure: error: zlib not installed<br><br>While i had already installed zlib as shown from the following messages:<br><br>[root@localhost zlib]# make<br><br>gcc -O3 -DUSE_MMAP -c -o example.o example.c<br>

<br>gcc -O3 -DUSE_MMAP -c -o adler32.o adler32.c<br><br>gcc -O3 -DUSE_MMAP -c -o compress.o compress.c<br><br>gcc -O3 -DUSE_MMAP -c -o crc32.o crc32.c<br><br>gcc -O3 -DUSE_MMAP -c -o gzio.o gzio.c<br><br>gcc -O3 -DUSE_MMAP -c -o uncompr.o uncompr.c<br>

<br>gcc -O3 -DUSE_MMAP -c -o deflate.o deflate.c<br><br>gcc -O3 -DUSE_MMAP -c -o trees.o trees.c<br><br>gcc -O3 -DUSE_MMAP -c -o zutil.o zutil.c<br><br>gcc -O3 -DUSE_MMAP -c -o inflate.o inflate.c<br><br>gcc -O3 -DUSE_MMAP -c -o infback.o infback.c<br>

<br>gcc -O3 -DUSE_MMAP -c -o inftrees.o inftrees.c<br><br>gcc -O3 -DUSE_MMAP -c -o inffast.o inffast.c<br><br>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<br>

<br>gcc -O3 -DUSE_MMAP -o example example.o -L. libz.a<br><br>gcc -O3 -DUSE_MMAP -c -o minigzip.o minigzip.c<br><br>gcc -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.a<br><br>[root@localhost zlib]# su<br><br>[root@localhost zlib]# make install<br>

<br>cp zlib.h zconf.h /root/supplibs/src/zlib/include<br><br>chmod 644 /root/supplibs/src/zlib/include/zlib.h /root/supplibs/src/zlib/include/zconf.h<br><br>cp libz.a /root/supplibs/src/zlib/lib<br><br>cd /root/supplibs/src/zlib/lib; chmod 755 libz.a<br>

<br>cd /root/supplibs/src/zlib/lib; if test -f libz.so.1.2.3; then \<br><br>rm -f libz.so libz.so.1; \<br><br>ln -s libz.so.1.2.3 libz.so; \<br><br>ln -s libz.so.1.2.3 libz.so.1; \<br><br>(ldconfig || true) &gt;/dev/null 2&gt;&amp;1; \<br>

<br>fi<br><br>cp zlib.3 /root/supplibs/src/zlib/share/man/man3<br><br>chmod 644 /root/supplibs/src/zlib/share/man/man3/zlib.3<br><br>[root@localhost zlib]# cp ./lib/libz.a $HOME/supplibs/lib<br><br>[root@localhost zlib]# mkdir $HOME/supplibs/include/zlib<br>

<br>mkdir: cannot create directory `/root/supplibs/include/zlib&#39;: No such file or directory<br><br>[root@localhost zlib]# pwd<br><br>/home/Hasan/supplibs/src/zlib<br><br>[root@localhost zlib]# mkdir /home/Hasan/supplibs/include/zlib<br>

<br>mkdir: cannot create directory `/home/Hasan/supplibs/include/zlib&#39;: File exists<br><br>[root@localhost zlib]# cp ./include/zlib.h $HOME/supplibs/include/zlib<br><br>cp: cannot create regular file `/root/supplibs/include/zlib&#39;: No such file or directory<br>

<br>[root@localhost zlib]# cp ./include/zlib.h /home/Hasan/supplibs/include/zlib<br><br>cp: overwrite `/home/Hasan/supplibs/include/zlib/zlib.h&#39;? y<br><br>Could you guide me how to resolve this problem?<br><br>Regards,<br>

<br>==================================================================<br>Muhammad Hasan Ali Baig,<br><br>Key Laboratory of Meteorological Disaster of Ministry of Education?Nanjing<br><br>University of Information Science &amp; Technology, Nanjing 210044, P. R. China<br>

<br>Mobile: +8615251705047<br>==================================================================<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110308/4350fa38/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110308/4350fa38/attachment.html</a><br>

<br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>

<br><br>End of gradsusr Digest, Vol 13, Issue 21<br>****************************************</p></blockquote></div>
<p class="MsoNormal"> </p></div></div></div></div></blockquote></div><br>