<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'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"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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'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>
> Hi,<br>
><br>
> The entire NCL installation is in /usr/local/pkgs/ncl_6.1.2<br>
> #] ls /usr/local/pkgs/ncl_6.1.2<br>
> bin include lib<br>
><br>
> I now have just these two lines in my .bashrc.<br>
><br>
> export NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
> export PATH=$NCARG_ROOT/bin:$PATH<br>
><br>
> #] which ncl<br>
> #] /usr/local/pkgs/ncl_6.1.2/bin/ncl<br>
> #] env | grep NCARG<br>
> NCARG_FONTCAPS=/usr/lib64/ncarg/fontcaps<br>
> NCARG_GRAPHCAPS=/usr/lib64/ncarg/graphcaps<br>
> NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
> NCARG_DATABASE=/usr/lib64/ncarg/database<br>
> NCARG_LIB=/usr/lib64/ncarg<br>
> NCARG_NCARG=/usr/share/ncarg<br>
><br>
> #] ng4ex gsun01n -clean<br>
> Resource directory </usr/share/ncarg/resfiles> does not exist.<br>
><br>
> I generally hibernate my desktop as I keep multiple windows open. Could this be a problem?<br>
><br>
> On Fri, Aug 16, 2013 at 7:08 PM, Mary Haley <<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>> wrote:<br>
> You don'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>
><br>
> Your NCARG_ROOT looks good, so remove everything else and try again.<br>
><br>
> --Mary<br>
><br>
><br>
> On Aug 16, 2013, at 5:41 AM, Samrat Rao <<a href="mailto:samrat.rao@gmail.com">samrat.rao@gmail.com</a>> wrote:<br>
><br>
> ><br>
> > Hi,<br>
> ><br>
> > I've been trying to install non-opendap NCL 6.1.2 on my CentOS 5.9 desktop.<br>
> ><br>
> > I've extracted the file in /usr/local/pkgs/ncl_6.1.2 and made the suggested changes in .bashrc<br>
> ><br>
> > export NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
> > export PATH=$NCARG_ROOT/bin:$PATH<br>
> ><br>
> > But when i tried: ng4ex gsun01n -clean, the error message is:<br>
> > Resource directory </usr/share/ncarg/resfiles> does not exist.<br>
> ><br>
> > The command: env | grep NCARG gives<br>
> > NCARG_FONTCAPS=/usr/lib64/ncarg/fontcaps<br>
> > NCARG_GRAPHCAPS=/usr/lib64/ncarg/graphcaps<br>
> > NCARG_ROOT=/usr/local/pkgs/ncl_6.1.2<br>
> > NCARG_DATABASE=/usr/lib64/ncarg/database<br>
> > NCARG_LIB=/usr/lib64/ncarg<br>
> > NCARG_NCARG=/usr/share/ncarg<br>
> ><br>
> > So I just added (not recommended I suppose):<br>
> > NCARG_LIB=$NCARG_ROOT/lib/ncarg<br>
> > NCARG_FONTCAPS=$NCARG_LIB/fontcaps<br>
> > NCARG_GRAPHCAPS=$NCARG_LIB/graphcaps<br>
> > NCARG_DATABASE=$NCARG_LIB/database<br>
> > NCARG_NCARG=$NCARG_LIB<br>
> > in my .bashrc<br>
> ><br>
> > Then ng4ex gsun01n -clean worked correctly, but again ncargex cpex08 -clean blurts this:<br>
> > /usr/bin/ld: cannot find -lncarg<br>
> > collect2: ld returned 1 exit status<br>
> ><br>
> > What should I do?<br>
> ><br>
> > --<br>
> ><br>
> > Samrat Rao<br>
> > _______________________________________________<br>
> > ncl-talk mailing list<br>
> > List instructions, subscriber options, unsubscribe:<br>
> > <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> Samrat Rao<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><br>Samrat Rao<br>
</div></div>