![]() |
CCP4 Molecular Graphics Documentation | ![]() |
Build Instructions for CCP4MG on Linux |
Documentation Contents | Compiling Contents |
cd qt-all-opensource-src-4.5.0/ ./configure make make installThis will install in /usr/local/Trolltech/Qt-4.5.0 unless you told configure otherwise.
QTDIR=/usr/local/Trolltech/Qt-4.5.0 PATH=$QTDIR/bin:$PATH export QTDIR cd sip-4.8-snapshot-20090311 <path to python2.6 installation>/bin/python configure.py cd PyQt-win-gpl-4.5-snapshot-20090311 <path to python2.6 installation>/bin/python configure.py make make install
yum install giflib giflib-devel libpng libpng-devel libtiff libtiff-devel libjpeg libjpeg-devel zlib zlib-devel
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
tar zxf Pixie-X.Y.Z.tar.gz cd Pixie-X.Y.Z ./configure --prefix=ccp4mg_dir/pixie --enable-selfcontained make make installThis compilation takes a long time.
cd ccp4mg_dir/pixie/shaders LD_LIBRARY_PATH=$PWD/../lib export LD_LIBRARY_PATH for in *.sl; do ../bin/sdrc $i done
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.
cp -a ccp4_dir/lib/data/monomers/ ccp4mg_dir/data/monomer_library
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