[ncl-install] NCARG_ROOT under Cygwin
Mary Haley
haley at ucar.edu
Sat Jan 19 10:16:50 MST 2013
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
More information about the ncl-install
mailing list