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


Hi Iain -

I too had a number of issues when trying to install CCP4 on Ubuntu - Martyn was very helpful in working through them with me. I think Ubuntu, with its clean interface and install, does not install everything you might need so you have some work to do to make sure you have all the libraries and headers. Here is what I had to install (through Synaptic) in addition to what you have mentioned and what is on the CCP4 site:
libncurses (all)
flex
glkcanvas (I installed a number of variants - not sure which worked)
automake (1.4-1.9)
bltwsh (from Bill Scott)
f2c
gawk
guile

Hope this helps -

Miles

On Oct 24, 2006, at 12:48 PM, Iain Kerr wrote:

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


I posted the following message last night, but it's not appeared yet...:



I'm trying to build CCP4 from source on Ubuntu Dapper (6.06) obtained at:

ftp://ftp.ccp4.ac.uk/ccp4/ccp6.0.1

The build fails at the 'configure' stage:

./configure  --with-shared-libs --with-x linux

first error appears during X-windows configuration, then another later during MOSFLM configuration

X-windows error:

checking prl.h usability... no
checking prl.h presence... yes
configure: WARNING: prl.h: present but cannot be compiled
configure: WARNING: prl.h:     check for missing prerequisite headers?
configure: WARNING: prl.h: see the Autoconf documentation
configure: WARNING: prl.h: section "Present But Cannot Be Compiled"
configure: WARNING: prl.h: proceeding with the preprocessor's result
configure: WARNING: prl.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ##
checking for prl.h... yes
checking unq.h usability... no
checking unq.h presence... yes
configure: WARNING: unq.h: present but cannot be compiled
configure: WARNING: unq.h:     check for missing prerequisite headers?
configure: WARNING: unq.h: see the Autoconf documentation
configure: WARNING: unq.h: section "Present But Cannot Be Compiled"
configure: WARNING: unq.h: proceeding with the preprocessor's result
configure: WARNING: unq.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ##


Mosflm error:

checking for ccif_init in -lccif... no
configure: WARNING:
*** Can't find the ccif library against which to link.
*** You can set the environment variable CCP4_LIB to point to the right directory. Currently this is "/usr/local/programs_xtal/CCP4/ ccp4-6.0.1/lib". If necessary, check the
 file `config.log' for other problems.
*** Setting to /usr/local/programs_xtal/CCP4/ccp4-6.0.1/lib
checking for qisnan in -lccp4f... no
configure: WARNING:
*** Can't find the CCP4 library against which to link.
*** You can set the environment variable CCP4_LIB to point to the right directory. Currently this is "/usr/local/programs_xtal/CCP4/ ccp4-6.0.1/lib". If necessary, check the
 file `config.log' for other problems.
*** Setting to /usr/local/programs_xtal/CCP4/ccp4-6.0.1/lib/src
checking for xdl_open_view in -lxdl_view... no
configure: WARNING:
*** Can't find the xdl_view library against which to link.
*** You can set the environment variable CCP4_LIB to point to the right directory. Currently this is "/usr/local/programs_xtal/CCP4/ ccp4-6.0.1/lib". If necessary, check the
 file `config.log' for other problems.
*** Setting to /usr/local/programs_xtal/CCP4/ccp4-6.0.1/lib



I've installed the following as per Martyn Winn's pages:

gfortran 4.0.3
m4
bison
libxaw7-dev
libncurses5-dev
flex

Anyone come across this ? I'm still looking..

Thanks,
Iain


Miles Pufall
Postdoctoral Scholar
University of California-San Francisco
600 16th St., Rm S574, Box 2280
San Francisco, CA 94107
(415)476-4480



Reply via email to