[ncl-install] ncl install problems on a 2009 Apple laptop

Mary Haley haley at ucar.edu
Thu Jan 8 14:15:03 MST 2009


Erik,

You are not setting NCARG_ROOT correctly.  In bash, use:

export NCARG=/usr/local

or

NCARG=/usr/local
export NCARG

Note there's no "set".

You are doing the correct thing with PATH.

--Mary

On Jan 8, 2009, at 12:14 PM, Erik Noble wrote:

> Hi. Thank you for this.
> I am still getting the same error. My .bashrc file is set to the  
> root directory.
>
> dambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$ cat .bashrc
> set NCARG_ROOT=/usr/local/
> export NCARG_ROOT
> PATH=$PATH:/bin:/usr/bin:/usr/local
> export PATH
>
> dambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$ which ncl
> /usr/local/bin/ncl
>
> ambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$ ncl
>  Copyright (C) 1995-2007 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 5.0.0
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> warning:Unable to Get System Resource File Name?
> warning:Unable to load System Resource File (null)
> fatal:GetSysAppDir:Unable to get a default value for the system App  
> Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default  
> value - Using NULL
> fatal:GetSysAppDir:Unable to get a default value for the system App  
> Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default  
> value - Using NULL
> warning:Unable to Get System Resource File Name?
> Segmentation fault
> dambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$ cat .bashrc
> set NCARG_ROOT=/usr/local/
> export NCARG_ROOT
> PATH=$PATH:/bin:/usr/bin:/usr/local
> export PATH
> dambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$ which ncl
> /usr/local/bin/ncl
>
>
> On Fri, Jan 9, 2009 at 2:43 AM, Mary Haley <haley at ucar.edu> wrote:
> Erik,
>
> Please see:
>
> http://www.ncl.ucar.edu/FAQ/#err_msgs_001
>
> --Mary
>
>
> On Jan 8, 2009, at 10:17 AM, Erik Noble wrote:
>
> Hi. I need some help unerstading why I'm getting an error while  
> intalling NCL on a brand new Apple laptop.
> New = leopard...etc...etc.
> I followed all steps on "Getting started" page.
>
> When I type "ncl" in the command line I get this:
> dambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$ ncl
>  Copyright (C) 1995-2007 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 5.0.0
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ for more details.
> warning:Unable to Get System Resource File Name?
> warning:Unable to load System Resource File (null)
> fatal:GetSysAppDir:Unable to get a default value for the system App  
> Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default  
> value - Using NULL
> fatal:GetSysAppDir:Unable to get a default value for the system App  
> Resource directory
> warning:["Resources.c":734]:Unable to set appSysDir to default  
> value - Using NULL
> warning:Unable to Get System Resource File Name?
> Segmentation fault
> dambadarjaa-ariunzayas-macbook:~ dambadarjaaariunzaya$
>
> Has anyone encountered this before? I searched the archives- none  
> there.
> Could I have a suggestion?
> Thank you for your time.
>
> Sincerely, Erik
> _______________________________________________
> 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