Microsystems Technology Laboratories > OpenCoral
 

Install Equipment Controller

Assumptions

We assume that OpenCoral Equipment Controller will be compile and deployed on a machine called eqc_machine. The fully qualified machine name is eqc_machine.my_university.edu. OpenCoral Equipment Controller source code will be in /home/eqcsys/eqcontroller/src and deployed in /usr/local/eqcontroller. We also assume that a valid CVS username and password has been obtained from opencoral at mtl.mit.edu for you to download the source code.

Download Source

Note: most people installing opencoral and eqcontroller packages will be given read-only access to the CVS repository. In that case, they will access the CVS repository using the :pserver: definition and the username coral that immediately follows.

Get the source code from CVS repository with the following commands:

# su - eqcsys
$ cd ~eqcsys
$ cvs -d :pserver:coralcvs@opencoral.mit.edu:/usr/local/coral-repository checkout eqcontroller

If this is the only use of CVS, you may find it easier to define the environment variable CVSROOT using the command setenv CVSROOT :pserver:coralcvs@opencoral.mit.edu:/usr/local/coral-repository (or export CVSROOT=:ext:coralcvs@opencoral.mit.edu:/usr/local/coral-repository depending on whether you are using a csh-compatible or bash-compatible shell, respectively) and then you may simply checkout the eqcontroller package with the command cvs checkout eqcontroller

Note: If you are a developer who has write-access to the opencoral CVS repositories, then you will access them using the :ext: method using SSH encryption. In this case you will need to add CVS_RSH and an alternative definition of CVSROOT to eqcsys' environment. Add the following line to .cshrc in eqcsys' home directory:

setenv CVS_RSH ssh
setenv CVSROOT :ext:[cvs_user_name]@opencoral.mit.edu:/usr/local/coral-repository

Compile

As root do the following:

# cd ~eqcsys/eqcontroller/src
# make bootstrap
# make all

Install

As root do the following:

# cd ~eqcsys/eqcontroller/src
# make install
# make clean