<div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>The issue has been resolved.<br><br>Yes I had a previous installation of NCL supplied by some contributor of CentOS community --- and that was not working. But before I installed your 6.1.2 I had uninstalled the previous one.<br>
<br></div>Even in the absence of the contributed NCL, the other environment variables were being remembered, although<br></div>cd ~<br>grep NCARG .*<br>
</div>revealed nothing of interest in any file in my home directory.<br><br></div>The problem went away after I rebooted the system (I generally hibernate my desktop). Now other than NCARG_ROOT nothing else is being set.<br>
<br>ng4ex gsun01n -clean does work.<br><br></div><div>However<br>#] ncargex cpex08 -clean<br>/usr/bin/ld: cannot find -lpixman-1<br></div><div>It seems that libpixman is obsoleted by cairo (so it won&#39;t get installed) and cairo is present in my system. I hope this is not a big issue.<br>
</div><div><br></div>Thanks for your help.<br><br></div>Regards,<br><div><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 10:16 PM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Apparently the NCARG_XXXX environment variables are still getting set somehow.<br>
<br>
It looks to me like you installed NCL using a LINUX package installer, which is not supported<br>
by us.  The package installer puts files in different directories, and then modifies one or<br>
more of your .* files to set all these environment variables.<br>
<br>
You will have to figure out where or how these environment variables are being set.<br>
<br>
Maybe try this:<br>
<br>
cd ~<br>
grep NCARG .*<br>
<br>
This should echo any .* files that contain references to NCARG_FONTCAPS, NCARG_GRAPHCAPS, etc.<br>
<br>
If you see any, edit these files and either remove or comment the settings out.<br>
<br>
Then, you should logout and log back in to make sure the changes take effect. They won&#39;t take effect<br>
simply by editing the files and saving them.<br>
<span class=""><font color="#888888"><br>
--Mary<br>
</font></span><div class=""><div class="h5"><br>
On Aug 17, 2013, at 3:09 AM, Samrat Rao wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; The entire NCL installation is in /usr/local/pkgs/ncl_6.1.2<br>
&gt; #] ls /usr/local/pkgs/ncl_6.1.2<br>
&gt; bin  include  lib<br>
&gt;<br>
&gt; I now have just these two lines in my .bashrc.<br>
&gt;<br>
&gt; export NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
&gt; export PATH=$NCARG_ROOT/bin:$PATH<br>
&gt;<br>
&gt; #] which ncl<br>
&gt; #] /usr/local/pkgs/ncl_6.1.2/bin/ncl<br>
&gt; #] env | grep NCARG<br>
&gt; NCARG_FONTCAPS=/usr/lib64/ncarg/fontcaps<br>
&gt; NCARG_GRAPHCAPS=/usr/lib64/ncarg/graphcaps<br>
&gt; NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
&gt; NCARG_DATABASE=/usr/lib64/ncarg/database<br>
&gt; NCARG_LIB=/usr/lib64/ncarg<br>
&gt; NCARG_NCARG=/usr/share/ncarg<br>
&gt;<br>
&gt; #] ng4ex gsun01n -clean<br>
&gt; Resource directory &lt;/usr/share/ncarg/resfiles&gt; does not exist.<br>
&gt;<br>
&gt; I generally hibernate my desktop as I keep multiple windows open. Could this be a problem?<br>
&gt;<br>
&gt; On Fri, Aug 16, 2013 at 7:08 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; wrote:<br>
&gt; You don&#39;t want to set any NCARG_XXXX variables other than NCARG_ROOT, unless you specifically installed any of those other directories somewhere other than under $NCARG_ROOT/lib.<br>
&gt;<br>
&gt; Your NCARG_ROOT looks good, so remove everything else and try again.<br>
&gt;<br>
&gt; --Mary<br>
&gt;<br>
&gt;<br>
&gt; On Aug 16, 2013, at 5:41 AM, Samrat Rao &lt;<a href="mailto:samrat.rao@gmail.com">samrat.rao@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve been trying to install non-opendap NCL 6.1.2 on my CentOS 5.9 desktop.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve extracted the file in /usr/local/pkgs/ncl_6.1.2 and made the suggested changes in .bashrc<br>
&gt; &gt;<br>
&gt; &gt; export NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
&gt; &gt; export PATH=$NCARG_ROOT/bin:$PATH<br>
&gt; &gt;<br>
&gt; &gt; But when i tried: ng4ex gsun01n -clean, the error message is:<br>
&gt; &gt; Resource directory &lt;/usr/share/ncarg/resfiles&gt; does not exist.<br>
&gt; &gt;<br>
&gt; &gt; The command: env | grep NCARG gives<br>
&gt; &gt; NCARG_FONTCAPS=/usr/lib64/ncarg/fontcaps<br>
&gt; &gt; NCARG_GRAPHCAPS=/usr/lib64/ncarg/graphcaps<br>
&gt; &gt; NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
&gt; &gt; NCARG_DATABASE=/usr/lib64/ncarg/database<br>
&gt; &gt; NCARG_LIB=/usr/lib64/ncarg<br>
&gt; &gt; NCARG_NCARG=/usr/share/ncarg<br>
&gt; &gt;<br>
&gt; &gt; So I just added (not recommended I suppose):<br>
&gt; &gt; NCARG_LIB=$NCARG_ROOT/lib/ncarg<br>
&gt; &gt; NCARG_FONTCAPS=$NCARG_LIB/fontcaps<br>
&gt; &gt; NCARG_GRAPHCAPS=$NCARG_LIB/graphcaps<br>
&gt; &gt; NCARG_DATABASE=$NCARG_LIB/database<br>
&gt; &gt; NCARG_NCARG=$NCARG_LIB<br>
&gt; &gt; in my .bashrc<br>
&gt; &gt;<br>
&gt; &gt; Then ng4ex gsun01n -clean worked correctly, but again ncargex cpex08 -clean blurts this:<br>
&gt; &gt; /usr/bin/ld: cannot find -lncarg<br>
&gt; &gt; collect2: ld returned 1 exit status<br>
&gt; &gt;<br>
&gt; &gt; What should I do?<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt;<br>
&gt; &gt; Samrat Rao<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; ncl-talk mailing list<br>
&gt; &gt; List instructions, subscriber options, unsubscribe:<br>
&gt; &gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Samrat Rao<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Samrat Rao<br>
</div></div>