*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Just to clarify why this sort of problem arises (and to explain why I
have no idea how to help with it I suppose)...
The situation as I understand it is that there are currently at least 4
(maybe 5) different build systems for Clipper, as follows:
1. There are the shell scripts and makefiles I distribute. These are the
only ones I can support, since I have too much to do to learn autoconf.
(There was also a SCONS system I put together years ago, but it didn't
work on anything except Linux and is probably broken by now.
2. There is the CCP4 build system, which uses a mix of GNU-autoconf and
non-autoconf bits.
3. There is the coot build system, which is autoconf, but for licensing
reasons only uses parts of the CCP4 version.
4. There is a build system for building clipper within CCTBX.
This question relates to the coot build system. While this uses the
clipper autoconf from the ccp4 distribution, and so there may be useful
answers here, it is also called from a non-ccp4 build system context
which may be the cause of the problems, so the coot mailing list may
provide additional help.
I wish I could offer more help in this mess, but I could easily spend
months trying to sort it out, time which I would rather spend developing
buccaneer. (Which runs just fine as a binary distribution, so you don't
need to build it yourself.)
Kevin
Kerr, Iain wrote:
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
Ok the following runs for configure:
./configure --with-ccp4=/usr/local/Xray_Programs/CCP4/ccp4-6.0.1/
CCP4_LIBS="-L/usr/local/Xray_programs/CCP4/ccp4-6.0.1/lib/" CCP4_CXXFLAGS="-I/usr/local/Xray_programs/CCP4/ccp4-6.0.1/include/ccp4"
--with-mmdb=/usr/local/lib
MMDB_LIBS="-L/usr/local/lib -lmmdb"
MMDB_CXXFLAGS="-I/usr/local/lib"
--with-fftw=/usr/local/lib
FFTW_LIBS="-L/usr/local/lib -lrfftw -lfftw"
FFTW_CXXFLAGS="-I/usr/local/lib"
--enable-mmdb --enable-mtz --enable-cif --enable-mmdbold --enable-minimol --enable-phs --enable-ccp4
Configuration Summary
------------------------------
core: yes
contrib: yes
phs: yes
cns: yes
mmdb: yes
mmdbold: yes
minimol: yes
cif: yes
ccp4: yes
cctbx: no
fortran: no
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
Then a whole bunch of errors and "make" fails...
This file appears to be in several directories (eg. in the CCP4 install
directory) but changing the MMDB_CXXFLAGS to one of these has no effect...
Any ideas ?
Thanks,
Iain
-----Original Message-----
From: Mark Brooks [mailto:[EMAIL PROTECTED]
Sent: Wed 13-Dec-06 15:20
To: Kerr, Iain; [email protected]
Subject: Re: [ccp4bb]: Problems building Clipper
I guess this is a "ld" (dynamic linker) problem. Does the file
/etc/ld.so.conf contain a line with "/usr/local/lib" in it? If not,
add it, re-run ldconfig (sudo /sbin/ldconfig -v | grep fft) & try the
configure script again.
Maybe you need to also tell clipper where everything is using yet more
./configure script arguments. Particularly, the include files would
be hard for Clipper to locate by itself.
e.g. ./configure --with-fftw=PATH-TO-FFTW
FFTW_LIBS="-L/PATH-TO-FFTW-LIBS -lrfftw -lfftw"
FFTW_CXXFLAGS="-I/PATH-TO-FFTW -I/PATH-TO-FFTW-INCLUDES"
HTH
Mark
P.S. ./configure --help usually comes to the rescue in these types of
cases. Perhaps you tried that.
On 13/12/06, Kerr, Iain <[EMAIL PROTECTED]> 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).
As suggested in the coot README, I'm using
ftp://ftp.ccp4.ac.uk/prerelease/ccp4-onlylibs-dev.tar.gz
After unpacking:
cd lib
cd clipper
./configure --enable-mmdb --enable-mtz --enable-cif --enable-mmdbold
--enable-minimol --enable-phs
I get:
checking for fftw_print_max_memory_usage in fftw... no
checking for fftw_print_max_memory_usage in sfftw... no
configure: error: If fftw exist on you system, are you sure you are using the
fftw libraries that was configured with --enable-float?
In /usr/local/lib (which is in my PATH):
librfftw.la
libfftw.la
libfftw.a
librfftw.a
Any ideas ? The FFTW libraries come from
http://www.ysbl.york.ac.uk/~emsley/software/fftw-2.1.5.tar.gz
Thanks,
Iain