Re: Still mystery and no go.

From: Ted Mansell <Ted.Mansell_at_nyahnyahspammersnyahnyah>
Date: Fri Feb 25 2011 - 13:49:00 MST

Your path does not include the ncl bin directory.

Instead of

setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin

try

setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:${NCARG_ROOT}/bin

Or just on the command line, type

set path=($path ${NCARG_ROOT}/bin)

then type "rehash" (may or may not be needed), and try the ng4ex test again.

(Actually it is better to test whether PATH is already set or not unless you have a need to clobber the default value.)

-- Ted

On Feb 25, 2011, at 1:04 PM, Joseph Cain wrote:

> 1. I have set the default sign on shell for my IMac to tcsh and the .cshrc file seems to be invoked because it uses the alias for ls to be "ls -CF" which it did not do before when the sign on default was bash. I tried creating a .tcshrc file but that does not work. Also, I have tried from the bash shell just setting to csh and also no go.
>
> so to recap
>
> [Joe-Mac-1008:~] josephcain% more .cshrc
> setenv NCARG_ROOT /Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421
> setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin
> alias find 'find . -name '
> alias ls 'ls -CF'
>
> but still
>
> [Joe-Mac-1008:~] josephcain% ng4ex gsun01n
> ng4ex: Command not found.
>
> and the environment is still set to the old file which is not there!
>
> [Joe-Mac-1008:~] josephcain% env | grep NCARG
> NCARG_ROOT=/Applications/ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421
> [Joe-Mac-1008:~] josephcain% grep ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0 ~/.*
> /Users/josephcain/.bash_history:/Applications/ncl_ncarg-5.1.1.MacOS_powerpc_9.7.0/bin/ng4ex ; exit;
> [Joe-Mac-1008:/applications] josephcain% echo $path
> /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin /usr/X11/bin ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/bin
> [Joe-Mac-1008:/] josephcain% cd /applications
> [Joe-Mac-1008:/applications] josephcain% ls -l | grep ncl
> drwx------@ 5 josephcain staff 170 Feb 21 18:06 ncl_ncarg-5.2.1.MacOS_10.6_i386_64bit_nodap_gcc421/
>
> Anyone have any ideas?
>
>
>
> _______________________________________________
> 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 Fri Feb 25 13:49:03 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 02 2011 - 09:19:21 MST