Coot on OS X

hexley.png




Hexley with cootNew:  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:

1. Install Apple's X11.app AND Apple's X11 SDK. Don't use fink's X11, as the graphics speed is inferior. Detailed directions are located here.

2. Install Xcode 2.1 or 2.2 if you have not already done so. My directions are located here.

3. Install Fink if you have not already done so. My directions are located here.

4. Issue the following fink commands in the following sequence:

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




Click here for web site index Valid HTML 4.01!