1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
REQUIREMENTS:
-------------
The ghemical package is dependent on "libghemical" package, in addition
to the packages/files that are needed to compile and run programs at
the GTK2 platform.
You can get "libghemical-2.00.tgz" or newer from
http://bioinformatics.org/ghemical/download.html
Other software/packages that are needed to compile and run this program
are:
g++ gcc version 2.95.4 or later
make GNU Make version 3.76.1
pkg-config pkg-config-0.15
glut/freeglut glut 3.6
glib glib-2.0 version 2.6.0 or newer
gtk+ gtk+-2.0 version 2.4.0 or newer
gtkglext gtkglext-1.0 version 1.0.5 or newer
libglade libglade-2.0 version 2.4.0 or newer
gthread gthread-2.0 version 2.4.0 or newer (optional)
In short, any up-to-date Linux installation like Redhat 9.0, Mandrake 9.0
or Debian 3.0 should work, if the necessary development packages (that
contain the header files) are also present, in addition to the standard
packages (that contain the libraries).
INSTALLATION:
-------------
Simple set of commands
./autogen.sh
./configure
make
make install [run as root user]
will produce an executable program and install it into your system. For more
options and information you can try
./configure --help
Options include creating a multithreaded user interface, and a bonobo-2 server
application (THIS IS A BIT BROKEN NOW BUT I TRY TO FIX IT SOON).
If at configuration step you get stuck and see some error messages about
PKG_CONFIG, please try the following tricks (and re-try ./configure):
export PKG_CONFIG=pkg-config
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Also if problems appear you might want to try updating the configuration
files using commands at the top of the source tree (and re-try ./configure):
aclocal
autoconf
autoheader
This is an example how to set different compiler versions in Makefiles:
CC=gcc-3.4 CXX=g++-3.4 ./configure
The "make install"-command will copy the executable and some extra files to
their proper places so that the program can be run anywhere. After you have
installed the program you can click the item "Help/Help" from the main menu
to read the User's Manual (highly recommended).
In the "examples"-directory there are some useful example molecules, and
in the "small-utilities"-directory there are... well, some small utilities.
Enjoy!!!
|