Installing Casper; a program that needs to be placed in a directory on my PATH I need to install software but I don't understand how to do so.
I have downloaded a file which contains 5 files which includes a
Unix Executable file which when I open displays this:

Last login: Tue Jul 19 14:07:37 on ttys001
laurens-MacBook:~ Lauren$ /Users/Lauren/Documents/casper-2.1/casper-1 ; exit;
/Users/Lauren/Documents/casper-2.1/casper-1: binary file /usr/bin not found
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]


One of the files describes how to install the program..but I don't understand how to interpret these instructions...

Any help would be very much appreciated!


  Installation Instructions for Casper
  2/09/2009
  
  To install Casper the entire contents of this directory should be
  placed somewhere on your filesystem. Then, the file casper should be
  edited such that CASPERBASE points to this directory. Lastly, the
  edited casper should be placed in a directory that is on your PATH.
First of all the casper-2.1-release.tar.gz file would not extract successfully for me using the normal default OS X way and I tried three other and different methods. I was able to extract the contents however I had to set the casper file to executable after the extraction with the one method that successfully extracted all files. The other normal and default OS X method failed to extract beyond the casper-2.1-release.tar tar-ball. IMO There is something wrong with the casper-2.1-release.tar.gz archive file.

The picture below shows the line in the casper bash script executable that the "Then, the file casper should be edited such that CASPERBASE points to this directory." is referring to.

Line 19 is where you set CASPERBASE= to CASPERBASE=${path_to_casper_directory}, e.g.:

CASPERBASE=${$HOME/casper-2.1}


As I extracted the archive to my Home Folder.







Then for the part of the install instructions "Lastly, the edited casper should be placed in a directory that is on your PATH." I then edited my ̃/.bash_profile file, and added the $HOME/casper-2.1 directory to my $PATH, e.g:

export PATH=$PATH:$HOME/casper-2.1


I then closed Terminal and reopened it for the change to take effect.



Note the picture below is showing the contents of the casper-2.1-release.tar.gz file in Pacifist however it could not extract the highlighted casper file, while it did extract the other files.  I had to use Zipeg to extract all files but had to set the casper file to executable after the extraction, using chmod u+x casper while in the casper-2.1 directory in Terminal.