Re: NCARG_ROOT under Cygwin

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Sat Jan 19 2013 - 10:16:50 MST

You don't want /usr/local/bin/ncl on your search path. Just "/usr/local/bin"

> export PATH=/usr/local/bin:$PATH

Also, did you actually install NCL under /usr/local? Something doesn't
make sense, because it shows "ncl" as being in /usr/local/bin, which
means you should then have a directory /usr/local/lib/ncarg/colormaps,
which the error below is claiming you don't have.

What does the following report:

  env | grep NCARG
  which ncl
  ncargpath ncarg
  ls `ncargpath ncarg`

--Mary

On Jan 16, 2013, at 8:44 AM, Daniel Adriaansen wrote:

> Hello,
>
> I am trying to install NCL under Cygwin for Windows. I followed the
> directions and I am able to run NCL but when I issue the command "ncl" I
> get the following error:
>
> warning:Unable to load System Resource File /usr/local/lib/ncarg/sysresfile
> warning:WorkstationClassInitialize:Unable to access rgb color database -
> named colors unsupported:[errno=2]
> warning:["Palette.c":1533]:NhlLoadColormapFiles: Invalid colormap directory:
> /usr/local/lib/ncarg/colormaps
>
> From searching the website I am able to see that the above error is
> likely due to an incorrect definition of the NCARG_ROOT variable (from
> this link: http://www.ncl.ucar.edu/FAQ/#err_msgs_001)
>
> Here is my .bashrc file:
>
> export NCARG_ROOT=/usr/local
> export DISPLAY=:0.0
> export PATH=/usr/local/bin/ncl:$PATH
>
> The command "which ncl" yields:
> /usr/local/bin/ncl
>
> Could you provide a possible reason why I am seeing this error? Thanks.
>
> -Dan
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Sat Jan 19 10:16:55 2013

This archive was generated by hypermail 2.1.8 : Sat Jan 19 2013 - 10:26:08 MST