Hi I got following error when I tried to install ATAT
./foolproof.sh /home/bipin/bin/ "g++"
set: Variable name must begin with a letter.
make: *** [makefile:9: all] Error 1
Thank you
Did you edit the foolproof.sh or any other file before installation? Sorry I cannot reproduce that error.
You could try
bash -v ./foolproof.sh /home/bipin/bin/ “g++”
to trace where the error occurs.
I found this following error:
./foolproof.sh /home/subhadeep/softwares/atat/bin/ “g++”
/bin/csh cannot be found. Please install it or create a symbolic link from /bin/csh to /usr/bin/tcsh , if installed.
make: *** [makefile:9: all] Error 1
Thanks then your solution is create a symbolic link from /bin/csh to /usr/bin/tcsh
ln -s /usr/bin/tcsh /bin/csh
If you don’t have permission, I’ll look for a workaround.
If you don’t have permission to create the symlink from my previous post, you could patch the code as follows:
cd root_of_atat_dir
perl -pi.bak -e 's+#!/bin/csh+#!/bin/tcsh+g;' src/* glue/*/* >& /dev/null
Let me know if this works - I’ll make it automatic for the next update.
Thank you very much for your help. Let me explain the steps I followed:
-
After downloading, I untar ‘atat3_36.tar’ file using the command: tar -xvf atat3_36.tar. It makes a directory named ‘atat’.
-
I entered the ‘atat’ folder and opened the ‘makefile’. At the first line of the ‘makefile’, I changed “e BINDIR=$(HOME)/bin/” to “BINDIR=/home/subhadeep/softwares/atat/bin/” (here, I made a folder ‘/bin’ inside the ‘atat’ folder. So, the path of the newly made ‘bin’ folder is ‘/home/subhadeep/softwares/atat/bin/’).
-
Then I typed ‘make’. It shows the error:
./foolproof.sh /home/subhadeep/softwares/atat/bin/ “g++”
/bin/csh cannot be found. Please install it or create a symbolic link from /bin/csh to /usr/bin/tcsh , if installed.
make: *** [makefile:9: all] Error 1
I checked the /usr/bin folder, the tcsh file doesn’t exist there.