Linux users need Motif to compile and run the program (if the program
viewmol: can't load library 'libXm.so.1'" Motif is missing). Motif is
available from http://www.motifzone.org/download/. The Motif clone Lesstif
can be used with Viewmol starting with version 0.81. There are, however, some
glitches with Lesstif (e. g. shortcuts don't work).
If you want to recompile the program and you are running one of the supported
operating systems you may type
make. The shell script
determines the operating system you are running and sets some options for the
compiler. If this does not work you should have a look into the
The options set are explained there. They are the following:
getmachineshell script will ask you for the path names to the TIFF, PNG and Python libraries and to the include files necessary with these libraries. You may specify these path names using environment variables if you put the name of the variable in parentheses (e. g.
$(HOME)). These path names are assigned to the
LIBPYTHONflags and stored in a file
<OS>is the output of the
uname -scommand on your machine. If this file already exists,
getmachinedoes not ask for these path names.
Silicon Graphics compilers on 64-bit operating systems (IRIX64 - R8000, R10000, R12000) will produce a lot of warning messages concerning casts of pointers to integers. These can be safely ignored.
The make procedure will build the program in a directory whose name depends on the operating system and type of CPU you are using. You will find all executables in this directory. After compilation follow the steps under Installation to complete the installation. If you have compiled VIEWMOL yourself it is recommended that you use the included test scripts to ensure VIEWMOL is functioning correctly (cf. p. ).