***  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
>
>
>
>
>
>
>
>


-- 
Mark BROOKS
Telephone: 0169157968
Fax: 0169853715
INSTITUT de BIOCHIMIE et de BIOPHYSIQUE MOLECULAIRE et CELLULAIRE
UMR8619 - Bât 430 - Université de Paris-Sud
91405 ORSAY CEDEX




Reply via email to