Documentation Contents Compiling Contents

Compile CCP4 libs with gcc/g++

Install Python2.6

Compile Qt 4.5

The Qt 4.5 binary downloads are now compiled with MSVC, which makes redistributing them harder.

So I compile Qt from source.

Install some auxiliary stuff

Install PyQt


Compile MG

Make python have no MSVC lib dependency

OK, Python26 is not really redistributable unless target machine has (from some source) the VC++ redistributable dlls.

Compile Pixie

Compile PISA

PISA will have been built when CCP4 was built (it is part of it), unless you did make onlylib.

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

Download the patch: ccp4mg-2.5.1-pisa-patch.tar.gz

cd ccp4_dir/src/pisa/pisa
tar zxvf path to/ccp4mg-2.5.1-pisa-patch.tar.gz
rm -f pisa_interface.o pisa_view.o
cp pisa ccp4mg_dirccp4_suite/bin
cp -a sbase ccp4mg_dirccp4_suite/share

Do not do this if you plan to use this copy of PISA in any other way from with CCP4MG. Make a separate copy in that instance.

Install monomer library

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

Run the program


Build release

cp /c/msys/1.0/home/Stuart/qt-everywhere-opensource-src-4.6.2/bin/*.dll ccp4mg_dir/lib
cp -a /c/msys/1.0/home/Stuart/qt-everywhere-opensource-src-4.6.2/plugins ccp4mg_dir/QtPlugins
cp /c/GnuWin32/bin/*.dll ccp4mg_dir/lib
cp ccp4mg_dir/pixie/bin/zlib1.dll ccp4mg_dir/lib
make distrib