I have finally gotten coot to compile on my Centos5 64-bit computer.  Both
the autobuild flavors (i.e. build-it and build-it-gtk2-simple) failed to
compile coot so I compiled everything manually following the same order in
the build-it script.  My install and the dependencies are not in /usr/local
(or /srv/local64 in my case) and I try to keep each program I install in its
own directory so multiple versions are present in case you need to fall back
to a previous version so this may have confused the autobuild script.  Also,
since I was installing manually, I decided to put all the coot dependencies
in a separate "deps" directory within the coot directory so future builds
wouldn't need to have the dependencies built each time (i.e.
"/srv/local64/programs/coot/" contains "deps/" "0.4.1/" and "0.5/"
directories within it).  I was able to use the autobuild script for version
0.4.1 but I don't remember if I had Centos5 or RHEL4 installed then.


Here are things I needed to do to get the manual install to work in case
someone else wants to have a go at it.

 - setenv LD_LIBRARY_PATH
/srv/local64/programs/coot/deps/lib:/srv/local64/lib:/usr/lib64
 - setenv PKG_CONFIG_PATH
/srv/local64/programs/coot/deps/lib/pkgconfig:/srv/local64/lib/pkgconfig:/us
r/lib64/pkgconfig
 - set generic_prefix = /srv/local64/programs/coot/deps
 - set path = ( $generic_prefix/bin $path )

 - cd into each dependency's directory and
                1) "make clean" to remove the autobuilder stuff
                2) configure as seen in the build-it script, including
applying any patches/modifications that would have been changed when
re-running configure.
                3) make
                4) make install
        *** For guile-gtk-0.41, there is a problem when it looks for one
library file (/usr/lib/libgdk_pixbuf.so).  It should be looking in
/usr/lib64 instead.  I temporally removed the link in /usr/lib and made it
point to /usr/lib64.  Once it was compiled and installed, I fixed the link

  - compile coot with the following:
                ./configure --prefix=/srv/local64/programs/coot/0.5
--with-gtkcanvas-prefix=$generic_prefix --with-mmdb-prefix=$generic_prefix
--with-clipper-prefix=$generic_prefix --with-ssmlib-prefix=$generic_prefix
--with-gtkgl-prefix=$generic_prefix --with-glut-prefix=$generic_prefix
--with-guile --with-guile-gtk --with-guile-gtk-prefix=$generic_prefix
--disable-shared CXXFLAGS="-g -O"
                make
                make install

  - Needed to link the guilegtk library files from
/srv/local64/programs/coot/deps/lib/ to /srv/local64/lib (since this path is
not in /etc/ld.so.conf??).
                ln -s /srv/local64/programs/coot/deps/lib/libguilegtk*
/srv/local64/lib


====================================================
James M. Vergis, Ph.D.
University of Virginia Molecular Physiology and Biological Physics
MKWEINR 360A Snyder Building
480 Ray C. Hunt Drive
PO Box  800886
Charlottesville, VA 22908-0886
phone: 434-243-2730   FAX: 434-243-8271
[EMAIL PROTECTED]
====================================================

Reply via email to