Installation of TCM

Source tar.gz distributions         Binary tar.gz distributions         Binary RPM distributions        
User Interface         Mouse issues         Font and Color issues         Export Formats         Model Checking        

Source tar.gz distributions

You untar the file in the same way as for binary distributions and you set the variables $TCM_HOME and $PATH.

Go to $TCM_HOME and enter make. This tries to configure some things and then writes some instructions to standard output for how to proceed.

If the above method does not work well on your system or you are only interested in compiling some part of the sources then do the following:

  1. Change to the directory $TCM_HOME/src of the distribution.
  2. Make a softlink named Config.tmpl to Config.tmpl_YOUR_PLATFORM.
  3. Check and, if necessary, update the settings in Config.tmpl.
  4. Make a softlink named Makefile to Makefile_YOUR_COMPILER.
  5. issue make clean
  6. issue make depend
  7. issue make all or make some_execuatable or make some_library (this step can be repeated multiple times).
Additional technical information about compiling the software and about the internal structure of the software, see the document in TCM_DOC/developersguide/index.html or TCM_DOC/developersguide-version.ps.gz.

Binary tar.gz distributions

To install a TCM distribution (tar.gz file) with binaries: unzip and untar the TCM distribution by:
gtar xzvfp distribution.tar.gz or
gunzip -c distribution.tar.gz | tar xvfp - or
zcat distribution.tar.gz | tar xvfp -

This creates a new directory named tcm-version/ in the current directory.

You should set your TCM_HOME environment variable to the directory where TCM has been installed. TCM_HOME is the home directory where TCM and its components (subdirectories) are stored by default. As of version 2.10 any of these components can be placed in directories not directly under the $TCM_HOME directory. Beside TCM_HOME any of TCM_BIN, TCM_LIB, TCM_CONFIG, TCM_DOC, TCM_HELP and TCM_MAN can be set in order to allow a more flexible installation. See the user's guide for a more information on this topic.
It is recommended that you add TCM_BIN to your PATH and add TCM_MAN to your MANPATH environment variables.

The distributions for Solaris contain shared object libraries. If you have one of these distributions and you have TCM installed in a directory other than /opt/tcm, then each user should add to the LD_LIBRARY_PATH variable the directory TCM_LIB. Users of Linux do not need to set LD_LIBRARY_PATH.

To configure for example the path names of some external Unix programs that are used by TCM you can modify the TCM_CONFIG/tcm.conf file or you can override its options in a personal configuration file $HOME/.tcmrc.

Finally, test the TCM startup tool called tcm and at least one of the tools (e.g. tgd, tefd, tssd etc).

For more information you are referred to our extensive user's guide which can be read here and which can also be found in TCM_DOC/usersguide/index.html or TCM_DOC/usersguide-version.ps.gz.

Binary RPM distributions

These distributions are made and tested with Redhat 6 and Redhat 7.

Install the distribution by: rpm --install tcm-distribution.i386.rpm

Or upgrade an existing distribution by: rpm --upgrade tcm-distribution.i386.rpm

By default TCM is installed in /opt/tcm. With the rpm option --prefix directory you can install it in a different directory. Some of the documentation will be installed by default in /usr/doc/tcm-version/.

There are two sorts of binary RPMs. One contains the name statmotif and the other dynmotif. The first sort have Motif statically linked into the executables. The dynmotif RPMs are dynamically linked against Motif 1.2. It uses the libXm.so (version 1.2) of Motif or Lesstif on your system.

The RPM installation creates some initialization scripts for TCM in /etc/profile.d. It is therefore not necessary to set yourself environment variables like for the tar.gz distribution. You only have to login again before you start using TCM.

User Interface

For compiling TCM you either need a developer version of Motif or any of the free Motif-clones LessTif or OpenMotif. However we experienced some problems with LessTif in the past, so try to use OpenMotif if at all possible.

For running TCM binaries you need a Motif or Lesstif runtime library, unless you have downloaded a distribution with 'statmotif' as substring in the file name.

The looks of TCM is sometimes subject of discussion. For users who liked how TCM looked last century there is an option in TCM_CONFIG/tcm.conf:

       { GUIstyle Classic }.

Mouse issues

TCM needs a 3-button mouse. The left and middle buttons are the most essential for drawing nodes and edges and the right button is only used for a pop-up menu. Most 2-button mice emulate the middle button by pressing both buttons at the same time or by pressing the left button together with the Shift- or Ctrl-key. A possibly better solution is to change the function of the right and middle mouse button with: xmodmap -e "pointer = 1 3 2".

If you're using a so-called 5-button mouse (IntelliMouse with wheel-button), you can change the function of the right and middle mouse button with: xmodmap -e "pointer = 1 3 2 4 5".

As of version 1.98 the middle mouse button is not required anymore. Pressing or dragging with the left mouse button while you press the Shift-key has the same effect as pressing or dragging the middle button.

Font and Color issues

In TCM_CONFIG/tcm.conf you can see which font is used for the TCM documents by default. If you wish some other font you can edit this file (or better, override the options in a personal configuration file $HOME/.tcmrc).

TCM uses scalable X fonts. If these are not installed or don't look good for your tastes then you can tell TCM to work with unscalable fonts by specifying in a configuration file:

       { ScalableFonts False }.
If you wish fonts of a certain foundry, e.g. only Adobe fonts, then specify that with the following line in a configuration file:
       { FontFoundry Adobe }
In TCM_CONFIG/TCM you can see which fonts and colors are being used for the Motif GUI of TCM. These can be overridden too if you wish. Changes to these defaults can be added to your $HOME/.Xdefaults or $HOME/.Xresources file or loaded for the current X session with the xrdb command.

As of version 2.10 you can extend the standard TCM pointsizes (8, 10, 12, 14, 18, 24). If you want any additional pointsizes, just add one or more AddPointSize entries to your personal TCM configuration file $HOME/.tcmrc), e.g.:

       { AddPointSize 9 }.

Export Formats

TCM is able to generate Xfig format and PNG graphics format from a diagram. For the generation of PNG we rely on the fig2dev tool. You should have a fairly recent version of transfig (fig2dev is part of transfig). If you want to download a recent version of fig2dev and you use Linux with RPM support, you could get one of the 'transfig' packages from http://www.rpmfind.net . The sources can be downloaded from ftp://epb1.lbl.gov/xfig. At these sites you can also find the sources or binaries of the Xfig drawing program.

Model Checking

A prototype of TATD that supports verification of workflow models specifed in UML activity diagrams is available for download.
See the dowloading page for information on obtaining the NuSMVfair model checker.

-----------

stats

Send comments to tcm@cs.utwente.nl