Print

Print


Dear All

hopefully the fix for modules.def is now in the source and binaries for ccp4 6.1.13

Charles Ballard
CCP4

On 30 Aug 2010, at 18:06, [log in to unmask] wrote:

> Dear Colleagues,
> 
> some of you might have noticed that ARP/wARP does not install cleanly with the latest version of CCP4, 6.1.13. We did some experiments ourselves and can confirm the observation of an incomplete installation that is only partly functional, the lack of the possibility of manual deinstallation and the following error message that appears at the time of running the ARP/wARP 'install.sh' script:
> can't read "getcontentlist_array(TASK_MODULE,206)": no such element in array
> 
> NOTE: You can skip the next paragraph if you're not interested in how I reproduced the error and proceed to a bug fix. Sorry for the long paragraph.
> Two scenarios of CCP4+ARP/wARP installation were tested: Mac OSX 10.5 and Ubuntu Linux 9, x86_64. Both the latest versions of both softwares. The download of CCP4 was made from ccp4.ac.uk, a typical installation chosen, which included also the tclsh/bltwish components that the GUI depends on. The dmg-installer was used on the Mac to install into the folder /Applications, on Linux the downloaded file was just untarred in a folder of choice followed by running CCP4's 'install.sh'. The 'ccp4.setup_sh/csh' file was placed into the user's shell config file by sourcing it there: '.bashrc', '.cshrc', '.tcshrc' depending on the shell used. Starting from a terminal that has the new CCP4 environment setup, the ARP/wARP installation could be done. On the Mac however it is more complicated because the superuser owns the installation. Through 'sudo xterm' and in there 'source ~user/.cshrc' (to be replaced by your settings) the ccp4 environment is setup for the superuser. In both cases (on the Mac as superuser) 'cd' to the ARP/wARP folder, e.g. arp_warp_7.1, and run ARP/wARP's 'install.sh'. This script tries to install ARP/wARP into the CCP4 GUI automatically and this is where problems start. The error message from above, the 'Program List' contains no buttons from the installation, these are just in 'Model Building', manual deinstallation is not possible, the new tasks don't seem to be registered with the CCP4 GUI.
> 
> The fix: The tcl-files that control the installation of a new software module read the file '$CCP4I_TOP/etc/UNIX/modules.def'. This file seems to have a line missing: In the block of 'TASK_MODULE' lines (around line 500) the entry 'TASK_MODULE,206     programlist' is missing. Please add it there at about the right place. Rerun the ARP/wARP installation and the error message should be gone, the installation should be complete, i.e. ARP/wARP buttons in 'program list', too, and the possibility of manual deinstallation.
> 
> I hope this is helpful.
> 
> Cheers,
> Gerrit.