Documentation Contents Compiling Contents

These instructions explain how to build a single architecture version for a single major release of OS X. Instructions on how to build a Universal binary for PPC/Intel are more complicated, but will be documented shortly.

Compile CCP4 libs with gcc/g++

Install Python2.6

Install Qt 4.5

Install PyQt

Caution this is untested!

Compile MG

The setting of environment variables on command line assumes Bourne type shell. You will need to do some setenv commands for csh type shells.

mkdir ccp4mg_dir
cd ccp4mg_dir
CVS_RSH=ssh CVSROOT=mgdev@cvs.ccp4.ac.uk:/public/ccp4mg/MG_CVS cvs -z9 co -r Rel_2_B .
ln -s ccp4_build clipper
PATH=/Library/Frameworks/Python.framework/Versions/2.6/bin/$PATH ./configure 
make

Compile Pixie

Compile PISA

In preparation.

PISA will have been built when CCP4 was built (it is part of it).

cp ccp4_dir/src/pisa/pisa ccp4mg_dirccp4_suite/bin

But we are still having to make some patches which we hope to agree with the PISA author Eugene Krissinel.

Install monomer library

cp -Rp ccp4_dir/lib/data/monomers/ ccp4mg_dir/data/monomer_library

Run the program

ccp4mg_dir/bin/ccp4mg

Build release

mkdir ccp4mg_dir/Frameworks
cp -Rp /Library/Frameworks/Qt*.framework ccp4mg_dir/Frameworks
cp -Rp /Developer/Applications/Qt/plugins ccp4mg_dir/QtPlugins
cp -Rp /Library/Frameworks/Python.framework ccp4mg_dir/Frameworks
make distrib