External Email - Use Caution
Hello Praveen, The first line of dcmunpack script should indicate it calls the tcsh interpreter. However, neither csh or tcsh interpreters are installed by default on Ubuntu. The "which" command will probably report it is not found on your system thru your $PATH.
$ which tcsh tcsh: Command not found
But you can install the C shells manually via, $ sudo apt-get install tcsh csh .... after the install try the which command again.
I am a working on a debian installer package so these manual installs will no longer be necessary.
- R. On Oct 20, 2020, at 01:10, Praveen Raghunathan <praveenvr28@gmail.com> wrote: External Email - Use Caution Hi Freesurfer developers,Sorry if I'm making a simple mistake that I've overlooked. I am currently trying to do the freesurfer tutorials available at http://surfer.nmr.mgh.harvard.edu/fswiki/Tutorialsand am having problems with the dcmunpack command on freesurfer. Whenever I try to run the dcmunpack script (whether it's dcmunpack -help or dcmunpack -src . -scanonly scan.log), I get the following error message :bash: /home/praveen/freesurfer/bin/dcmunpack: /bin/tcsh: bad interpreter: No such file or directoryI have installed freesurfer, added the license and am able to use freeview to open .mgz and .pial files so I'm not sure why dcmunpack is missing. I'm not able to find any online documentation on how to install or source that particular script either. I've searched the list archive and no similar errors have been reported. Please advise and let me know what I should do or what I'm doing wrong.I am currently running freesurfer on a virtual machine using Oracle Virtualbox 6.1 on my Windows laptop. The OS on the virtual machine I'm using is:Ubuntu 20.04.1 LTS and the freesurfer version is: freesurfer-linux-centos6_x86_64-7.1.1-20200723-8b40551I am using a Bash shell to run the commands.Thank you so much for your help! Please let me know if you need any other information.SincerelyPraveen V. Raghunathan_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu