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 PyQt

Following http://diotavelli.net/PyQtWiki/BuildPyQt4Windows

Install some auxiliary stuff

Compile MG

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 .
cp -a ccp4_build clipper
PATH=/c/Python26/:$QTDIR/bin:$PATH ./configure --extra-inc=/c/GnuWin32/include --extra-lib=/c/GnuWin32/lib
make

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

In preparation.

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

cp ccp4_dir/src/pisa/pisa.exe ccp4mg_dir/ccp4_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/winccp4mg.exe

Build release

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