Documentation Contents Compiling Contents

Compile CCP4 libs with gcc/g++

Install Python2.6

Compile Qt 4.5

Install PyQt

Install some auxiliary stuff

Install zlib, libungif, libtiff, libjpeg, libpng and development packages. e.g on Fedora this would be:
yum install giflib giflib-devel libpng libpng-devel libtiff libtiff-devel libjpeg libjpeg-devel zlib zlib-devel

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
QTDIR=/usr/local/Trolltech/Qt-4.5.0
export QTDIR
PATH=<path to python2.6 installation>/bin:$QTDIR/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 -a ccp4_dir/lib/data/monomers/ ccp4mg_dir/data/monomer_library

Run the program

ccp4mg_dir/bin/ccp4mg

Build release

cp /usr/local/Trolltech/Qt-4.5.0/lib/libQt*.so* ccp4mg_dir/lib
cp -a /usr/local/Trolltech/Qt-4.5.0/plugins ccp4mg_dir/QtPlugins
cp /usr/lib/lib{png,gif,ungif,tiff,jpeg,z}.so.* ccp4mg_dir/lib
cp -a <path to python2.6 installation> ccp4mg_dir/pythondist
make distrib