Binaries are presently supported on the following operating systems:
VIEWMOL 2.4 is provided precompiled for a number of architectures. Precompiled binaries are packaged separately from source, documentation, and examples:
viewmol-2.4.bin.Linux.tgz
viewmol-2.4.bin.FreeBSD.tgz
viewmol-2.4.bin.MacOSX.tgz
Before installing VIEWMOL you need to make sure that the following software/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
ftp://ftp.remotesensing.org/pub/libtiff)
Installation of the program is simple. VIEWMOL comes as gzipped tar
file, viewmol-2.4.src.tgz
. Unzip and untar it using
gunzip viewmol-2.4.src.tgz
and
tar -xvf viewmol-2.4.src.tar
. You get six subdirectories,
source
, doc
, scripts
, tests
, locale
,
and examples
, 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 computer.
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 localized
versions of all the program messages, menus, dialog boxes etc. in the directory
locale
(currently for English, French, German, Hungarian, Polish, Russian,
and Spanish). If you want to use a different language for a system wide
installation, copy the corresponding Viewmol
file to your
applications default directory (usually /usr/lib/X11/app-defaults
).
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 localized files installed. So if
you are happy with English and want to change only a few settings you do not
need to install any of the files from the locale
directory.
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: mozilla %s Location of Moloch: moloch Location of Rayshade: x-povray +I%s +O%s +W%d +H%d Location of display program for images: xv %s
%s
and %d
are placeholders for the file name and dimensions and are
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
.
The correct installation of VIEWMOL can be tested through the included test scripts (cf. p. ).