***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


On Wed, 2006-12-13 at 14:18 -0600, Kerr, Iain wrote:
> ***  For details on how to be removed from this list visit the  ***
> ***          CCP4 home page http://www.ccp4.ac.uk         ***
> 
> 
> I'm having trouble building Clipper on FC6 (for Coot-0.1.2 install from 
> source code).

By far the easiest way to compile coot and its dependences is to use the
auto-build script.

> --with-fftw=/usr/local

This is in the autobuild script.

> during "make check" I get the error (last line):
> 
> make[2]: Leaving directory
> `/usr/local/Xray_Programs/CCP4/ccp4-onlylibs-dev/lib/clipper/clipper/contrib'
> Making check in cif
> make[2]: Entering directory
> `/usr/local/Xray_Programs/CCP4/ccp4-onlylibs-dev/lib/clipper/clipper/cif'
> make[2]: Warning: File `.deps/cif_data_io.Plo' has modification time
> 2e+04 s in the future
> source='cif_data_io.cpp' object='cif_data_io.lo' libtool=yes \
>         depfile='.deps/cif_data_io.Plo'
> tmpdepfile='.deps/cif_data_io.TPlo' \
>         depmode=gcc3 /bin/sh ../../depcomp \
>         /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I. -I../.. -I/usr/local/lib    -g -O2 -c -o cif_data_io.lo `test -f
> 'cif_data_io.cpp' || echo './'`cif_data_io.cpp
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/lib -g -O2 -c
> cif_data_io.cpp -MT cif_data_io.lo -MD -MP -MF .deps/cif_data_io.TPlo
> -fPIC -DPIC -o .libs/cif_data_io.o
> cif_data_io.cpp:54:29: error: mmdb/mmdb_mmcif.h: No such file or
> directory

Yes, we saw this to recently, I think.  The solution, when building libs
for coot, is to cd into the clipper directory and make, make install
there. This does not try to build the clipper applications (this
work-around is in the coot auto-build script.)

> MMDB_CXXFLAGS="-I/usr/local/lib"

should probably be -I/usr/local/include 

So, to summarise, use the autobuild script for easy building of coot and
it's dependencies.  If you want to compile them by hand and have
difficulties, see the autobuild script to see how various configuration
issues are dealt with.

Paul.



Reply via email to