Installation consists of three steps:
You will need to choose a directory in which to put surveyor. To estimate how much disk space will be needed (in bytes), you can use the command:
zcat surveyor-2.0.tar.Z | wc -c
It is recommended that you find a location which is accessible from all the systems on your local network and install a surveyor directory tree there. This tree will hold all the executable and data files needed to run Surveyor. The tar file can then be unpacked directly into that directory. The following command illustrates this process:
cd /usr/local zcat surveyor-2.0.tar.Z | tar xvf -
At this point all the Surveyor files should be copied to your disk in a directory called surveyor.
As delivered, Surveyor actually consists of three executable files: surveyor, backanimation, and survd. The main part of surveyor which contains the user interface is the surveyor program. The backanimation program is a background animation controller which is used to perform rendering in the background (batch mode), distributed on a network of workstations.
The survd program is what we refer to as the server. When using Surveyor, all of the rendering is done by the server. You can use multiple servers on different computers on your network at the same time. Likewise, a single running server on a given computer can service multiple requests from different users running Surveyor simultaneously (hence the name server). It is important to install survd as described below so that it will be available to users without effort. If individual users ran survd from the command line, they would be killing each other's render jobs. In addition, if Joe starts up a survd, and Mary goes to render a frame, she will unwittingly use Joe's survd, and won't be able to save a frame into her own directory.
Installing the Surveyor Server (daemon)
Once Surveyor has been loaded onto your system, you should install the
Surveyor server (survd) as a daemon for each system on which you wish
to use Surveyor. The installation is done with the simple three step
process described below.
survd 536872004Note that if you had a previous version of surveyor installed you will need to modify the number as above.
If you are servicing rpc with NIS (Network Information Systems), you should remake yp or NIS at this point. If not, you will need to do this for each system you wish to make survd available on.
survd stream rpc/tcp wait root /usr/local/surveyor/bin/sun4/survd survd /usr/local/surveyorOnce inetd.conf has been modified, use the kill -HUP command to restart inetd, as follows:
% ps ax|grep inetd 131 ? IW 0:02 inetd 3833 p2 S 0:00 grep inetd % kill -HUP 131
survd/11 stream rpc/tcp wait root /usr/local/surveyor/bin/sgi/survd survd /usr/local/surveyorOnce inetd.conf has been modified, use the following command to restart inetd:
/etc/killall -HUP inetdNote that if you are using an SGI and you had a version of surveyor installed previously, you will need to change the version number on survd as above (survd/11).
Making the programs available to users
In order to use Surveyor, each user must have both the surveyor
and the backanimation programs in their path. This can be
accomplished in one of two ways:
cd /usr/local/bin ln -s /usr/local/surveyor/bin/sun4/surveyor surveyor ln -s /usr/local/surveyor/bin/sun4/backanimation backanimationor for a Silicon Graphics machine:
cd /usr/local/bin ln -s /usr/local/surveyor/bin/sgi/surveyor surveyor ln -s /usr/local/surveyor/bin/sgi/backanimation backanimation
Surveyor is built using a series of individual makefiles which are all referenced from one master makefile. A normal build of everything is accomplished as follows:
cd /usr/local/surveyor
make all.sun4For SGI IRIX 5.2:
make all.sgi