Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've installed a program from NASA, that use a csh command but I got the following error:

$ do_ledaps.csh L71124049_04920000912_MTL.txt
bash: /home/j/Documents/LEDAPStool/ledapsSrc/bin/do_ledaps.csh: /bin/csh: bad interpreter: No such file or directory

Any idea what can be wrong?

The 4 submodules of the program work fine all of them, but this command to run all of them at once does not work.

I've also already set up the environment defining the export path in the ~/.bashrc:

export PATH=/home/j/Documents/LEDAPStool/ledapsSrc/bin:$PATH
export ANC_PATH=/home/j/Documents/LEDAPStool/LedapsAnc
share|improve this question

1 Answer 1

The C-Shell (csh) package is probably not installed.

sudo apt-get install csh
share|improve this answer
    
Thanks I install csh and now it works! –  user53128 Apr 2 '12 at 12:39
2  
@user53128: so you may consider to accept the answer clicking on the gray check under the number of votes. –  enzotib Apr 2 '12 at 13:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.