The following operating systems are presently supported:
VIEWMOL 2.3 is provided precompiled for a number of architectures. Precompiled binaries are packaged separately from source, documentation, and examples:
viewmol-2.3.bin.Linux.tgz
(requires glibc2 distribution like
RedHat >=5.0 or Debian >=2.0)
viewmol-2.3.bin.IRIX.tgz
viewmol-2.3.bin.AIX.tgz
viewmol-2.3.bin.OSF1.tgz
Before installing VIEWMOL you need to make sure that the following libraries are available:
ifl_eoe
and ifl_dev
packages
have been installed. For other systems you need to obtain and compile
this library (e. g. from sgi.com under
graphics/tiff/tiff-v3.4-tar.gz)
Installation of the program is simple. VIEWMOL comes as gzipped tar
file, viewmol-2.3.src.tgz
. Unzip and untar it using
gunzip
viewmol-2.3.src.tgz
and
tar -xvf viewmol-2.3.src.tar
. You get three subdirectories,
source
, man
, and examples
, five resource
files (English, German, Russian, French, Spanish), Xdefaults.*
, and
the configuration file viewmolrc
. Copy all files you got into an
arbitrary directory. If you want to install precompiled binaries, download
the appropriate file for your operating system and unpack it from the same
directory you unpacked the source code. This will create a subdirectory in
the source directory which holds the binaries (the name of this directory
starts with the name of your operating system as you get it from uname -s
and may contain a CPU specific ending). If you run the supported operating
systems you have to set the environment variable $VIEWMOLPATH
to point
to the directory where you unpacked VIEWMOL (the compiled-in default for
VIEWMOLPATH
is /usr/local/lib/viewmol
) and the installation is
complete. Otherwise you have to recompile the program (cf. p. ).
The program uses dynamical memory allocation so that every size of a molecule
can be handled which fits the hardware limits of your workstation.
The installation directory also contains a file viewmolrc
. You might
have a look into this file and adapt it to your needs. The format is described
at page . In general the defaults should work fine.
VIEWMOL uses by default English as language, but it has been written so
that other languages can easily be used1. The distribution contains files
Xdefaults.<language>
which contain all the program messages, menus,
dialog boxes etc. in other languages (currently English, German, Russian, French,
and Spanish). If you want to use a different language for a system wide installation,
copy the corresponding Xdefaults.<language>
file to your applications
default directory (usually /usr/lib/X11/app-defaults
) and rename it to
Viewmol
. If you want to use a different language only for some users,
instruct them to configure the language through VIEWMOL's
Configuration
menu. VIEWMOL will run without any of the
Xdefaults.<language>
files installed. So if you are happy with English
and want to change only a few settings you don't need to install any of the
Xdefaults.<language>
files.
VIEWMOL needs a few external programs for some of its functions. Once
you have installed VIEWMOL and set
VIEWMOLPATH
, you can start
VIEWMOL, press Cancel
in the file selection box which will appear,
and press the right mouse button in the blue VIEWMOL window. A popup
menu will appear where the last but one option is Configuration ...
.
Choosing this option displays a dialog where you can set path names to four
external programs. These are (including their defaults)2:
Location of Web browser: netscape %s
Location of Moloch: moloch
Location of Rayshade: rayshade
Location of display program for RLE files: xv %s
If these program are installed and can be found in your path VIEWMOL
will automatically display the correct path names in the dialog. The %s
is a placeholder for the file name and is required for programs which use
command line arguments. Once you have set these path names, choose Save
from the buttons in the dialog and these settings will be stored permanently
in $HOME/.Xdefaults
.
Jörg-Rüdiger Hill
Sun Dec 10 17:38:35 MET 2000