
New: Coot on OS X
wiki. Click on the image to the right to go
there.
Introduction: Coot compiles on OS X,
but there are many dependencies. There are several reasonable
alternatives to compiling everything manually.
The first two options involve the use
of the fink package for
coot, which I
maintain. This installs coot as well as all of its dependencies
(including a version of clipper, mccp4, mmdb, ssmlib, and so on).
This package and many of its dependencies (including all those
listed explicitly) are in the unstable branch of fink, which
requires that you at least temporarily enable that. More on this
below.
The third option is to obtain a version
of coot compiled for OS X: Coot compiled for PPC or Intel
Installing a Coot Debian binary I built with Fink
(OS X v. 10.4.x power-pc only)
This will most likely be the easiest and fastest way for you to
have a working coot program on your Apple computer. You need
to install X-windows and Fink, and then
follow these directions.
Briefly, fink is a package manager that enables you to install
software either by compiling it or by installing pre-compiled
binaries. Sort of like Red Hat Linux RPM files, but different
(this is more similar to the Debian Linux package management
system, from which it evolved). Normally you would only be
able to get Debian packages from the Fink website, and sadly they
don't yet exist for coot and many of its dependencies. To
remedy that, I have made my /sw/fink directory tree available on a
webserver, and you can configure fink to search my directories as
well as those on the various fink mirrors. You will then be
able to download and install the Debian packages for coot and its
dependencies that I have built.
This is new, so please
let me know if it works for you (or if you have
problems).
All you need to do after setting this up is to issue the
command
sudo-apt-get
install coot
Compiling Coot with Fink
This should be the most straightforward approach.
Unfortunately, some people have reported problems that I simply
haven't been able to figure out, so if you have trouble, it might
be better to use the second option. Here's what to do:
fink
index
fink
selfupdate-cvs
fink
update-all
sudo
apt-get update
sudo
apt-get install atk1 atk1-shlibs db42 expat fftw g77 gdbm3 gettext
giflib gimp-print-shlibs glib glib2 glut gmp gnome-libs gsl gtk+
gtk+2 gtkglarea guile16 imlib libglade2 libiconv libjpeg libpng3
libtiff libxml2 ncurses netpbm openjade opensp4 orbit pango1-xft2
python23 tcltk
Some of these probably won't be present. Don't worry. This was just
to give you a head-start.
5. Now we need to activate the "unstable" branch of fink. Please do
the following:
sudo perl -pi -e
's| stable/main | stable/main unstable/main |g'
/sw/etc/fink.conf
fink selfupdate-rsync
fink install coot
6. After the selfupdate, it will tempt you to "update-all". Don't
do it. Just type fink install coot. This will take awhile. When it
is done, deactivate the "unstable" branch of fink by undoing the
previous perl command, i.e.,
sudo perl -pi -e
's| unstable/main | |g' /sw/etc/fink.conf
