# # First, install guile libraries not currently in Ubuntu or # not up-to-date: # mkdir tmplibs; cd tmplibs tar xvfz /local/xtal_packages/goosh-1.3.tar.gz cd goosh-1.3 ./configure --prefix=/usr sudo make install cd .. tar xvfz /local/xtal_packages/guile-gui-0.2.tar.gz cd guile-gui-0.2 ./configure --prefix=/usr sudo make install cd .. tar xvfz /local/xtal_packages/guile-gtk-0.41.tar.gz cd guile-gtk-0.41 ./configure --prefix=/usr make make install cd .. tar xvfz /local/xtal_packages/net-http-0.3.1.tar.gz cd net-http ./configure --prefix=/usr sudo make install cd ../.. ; rm -rf tmplibs # # Second, make sure you have installed the packages # imlib11, imlib11-dev, imlib-base # Ubuntu installs libimlib2 y libimlib2-dev but not these ones # # You will need also some symbolic links. Make sure these # links exist: # /usr/lib/libImlib.so -> libImlib.so.11.0.0 # /usr/lib/libImlib.so.1 -> libImlib.so.11.0.0 # /usr/lib/libImlib.so.11 -> libImlib.so.11.0.0 # # Then, the development ccp4 libs # cd /usr/local/ tar xvfz path-to/ccp4-onlylibs-dev.tar.gz cd ccp4-onlylibs-dev/ cp include/ccp4.setup-bash include/ccp4.setup vi include/ccp4.setup # edit as appropriate perl -pi.bak -e 's|enable_mmdbold=no|enable_mmdbold=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_phs=no|enable_phs=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_mmdb=no|enable_mmdb=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_minimol=no|enable_minimol=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_cif=no|enable_cif=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_ccp4=no|enable_ccp4=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_cns=no|enable_cns=yes|g' lib/clipper/configure* perl -pi.bak -e 's|enable_fortran=no|enable_fortran=yes|g' lib/clipper/configure* rm -f include/*.bak lib/clipper/*.bak source include/ccp4.setup ./configure --onlylibs linux ln -s $CCP4/lib/src $CCP4/lib/clipper/ccp4 make make install rm $CCP4/lib/clipper/ccp4 make realclean # # And finally, coot # cd ../ tar xvfz path-to/coot-0.2.tar.gz cd coot-0.2/ export CPPFLAGS="-I$CCP4/lib/clipper/clipper/mmdbold" ./configure --with-mmdb-prefix=$CCP4 --with-clipper-prefix=$CCP4 --with-fftw=$CCP4 --with-ssmlib-prefix=$CCP4 --with-imlib-prefix=/usr --with-gtkcanvas-prefix=/usr -with-guile-prefix=/usr -with-guile-gtk-prefix=/usr --with-guile --with-guile-gtk --with-python --prefix=/usr/local/coot-0.2 mv src/coot_wrap_python.cc src/coot_wrap_python.cc.orig make make -i install cp src/coot.py share/coot/python/coot.py mkdir -p share/guile/gui cp -r /usr/share/guile/gui share/guile/ cd share/coot tar xvfz /local/xtal_packages/reference-structures.tar.gz