<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div><div><div>It looks like you don't have the NCARG_ROOT environment variable set. </div><div><br></div><div>Please see:</div><div><br></div><div><a href="http://www.ncl.ucar.edu/FAQ/#err_msgs_001">http://www.ncl.ucar.edu/FAQ/#err_msgs_001</a></div><div><br></div><div>for more information.</div><div><br></div><div>--Mary</div><div><br></div><div>On Sep 12, 2011, at 9:18 AM, Benoît Brancheriau wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div bgcolor="#FFFFFF" text="#000000">
Dear Sir or Madam,<br>
<br>
I am trying to run NCAR GRaphics through Cygwin, under Windows 7 32
bits. I followed the steps of the process described on <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.ncl.ucar.edu/Download/cygwin.shtml#SetUpDisplay">http://www.ncl.ucar.edu/Download/cygwin.shtml#SetUpDisplay</a><br>
<br>
I got no major problem until the end, when I tried to run <i>$ncl
xy04n.ncl</i> and got this error message:<br>
<small><br>
<i>$ ncl xy04n.ncl<br>
Copyright (C) 1995-2011 - All Rights Reserved<br>
University Corporation for Atmospheric Research<br>
NCAR Command Language Version 6.0.0<br>
The use of this software is governed by a License Agreement.<br>
See <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a>
for more details.<br>
warning:Unable to Get System Resource File Name?<br>
warning:Unable to load System Resource File (null)<br>
fatal:GetSysAppDir:Unable to get a default value for the system
App Resource directory<br>
warning:["Resources.c":734]:Unable to set appSysDir to default
value - Using NULL<br>
fatal:GetSysAppDir:Unable to get a default value for the system
App Resource directory<br>
warning:["Resources.c":734]:Unable to set appSysDir to default
value - Using NULL<br>
warning:Unable to Get System Resource File Name?<br>
warning:WorkstationClassInitialize:Unable to access rgb color
database - named colors unsupported:[errno=2]<br>
NDV_COLORMAP_PATH environment variable not set:<br>
defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps<br>
warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid
directory encountered in colormap path specification<br>
fatal:GetSysAppDir:Unable to get a default value for the system
App Resource directory<br>
warning:["Resources.c":734]:Unable to set appSysDir to default
value - Using NULL<br>
warning:Unable to Get System Resource File Name?<br>
Segmentation fault (core dumped)</i><br>
</small><br>
I precise I got the right responses to the commands <i>printenv
DISPLAY</i> ( i.e. ":0.0") and <i>ncl -V</i> (i.e. "6.0.0"). All
the files seem to be present. The only adjustment I had to make is
in the command <br>
<pre><i>cp $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy04n.ncl .
</i></pre>
I used <i>/usr/local</i> instead of <i>$NCARG_ROOT</i>.<br>
<br>
<br>
Do you see where all those errors come from ? <br>
<br>
Thanks in advance for your response,<br>
Benoit Brancheriau<br>
<br>
</div>
_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></div></body></html>