Hi fellows,
One detail with the new installer that I will like to share:
I am giving it a try in a RHEL6 working station without root permission, so I modified the "/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_distribution.py" file and changed one line:
destination = "/usr/local"
with the new path:
destination = "/scratch/cctbx-new"
The installation went pretty well until it got stuck trying MatplotLib, I don't think it got stuck because of the little hack I did, but still worth commenting and chowing the full console output.
Anybody can have a look?
Thanks,
Luiso.
./install --makedirs
==========================================================================
CCTBX Installation
version: 2014_09_21_2205
machine type: intel-linux-2.6-x86_64
OS version: 2.6.32-431.20.5.el6.x86_64
user shell: /bin/bash
destination: /scratch/cctbx-new
# of processors: 4
=========================================================================
No binary bundles found for intel-linux-2.6-x86_64
Okay, this must be the source-only installer.
CCTBX installation target directory set to:
/scratch/cctbx-new/cctbx-2014_09_21_2205
CCTBX installation source directory set to:
/scratch/cctbx-installer-2014_09_21_2205
CCTBX installation build directory set to:
/scratch/cctbx-new/cctbx-2014_09_21_2205/build
CCTBX temporary build directory set to:
/scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201
****************************************************************************
Automated CCTBX dependencies build script
report problems to [email protected]
****************************************************************************
Setting up directories...
*** Building dependencies first ***
--------------------------------------------------------------------------------
Installing Python...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/Python_install_log
getting package Python-2.7.6_cci.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/Python-2.7.6_cci.tar.gz
verifying Python installation... OK
--------------------------------------------------------------------------------
Installing numpy...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/numpy_install_log
getting package numpy-1.8.1.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/numpy-1.8.1.tar.gz
verifying numpy installation... OK
--------------------------------------------------------------------------------
Installing BioPython...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/BioPython_install_log
getting package biopython-1.64.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/biopython-1.64.tar.gz
verifying BioPython installation... OK
--------------------------------------------------------------------------------
Installing Freetype...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/Freetype_install_log
getting package freetype-2.4.2.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/freetype-2.4.2.tar.gz
--------------------------------------------------------------------------------
Installing Imaging...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/Imaging_install_log
getting package Imaging-1.1.7.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/Imaging-1.1.7.tar.gz
verifying Imaging installation... OK
--------------------------------------------------------------------------------
Installing reportlab...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/reportlab_install_log
getting package reportlab-2.6.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/reportlab-2.6.tar.gz
verifying reportlab installation... OK
--------------------------------------------------------------------------------
Installing HDF5...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/HDF5_install_log
getting package hdf5-1.8.8.tar.bz2...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/hdf5-1.8.8.tar.bz2
getting package h5py-2.0.1-edit.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/h5py-2.0.1-edit.tar.gz
verifying h5py installation... OK
--------------------------------------------------------------------------------
Installing libpng...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/libpng_install_log
getting package libpng-1.2.32.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/libpng-1.2.32.tar.gz
--------------------------------------------------------------------------------
Installing gettext...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/gettext_install_log
getting package gettext-0.18.2.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/gettext-0.18.2.tar.gz
--------------------------------------------------------------------------------
Installing glib...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/glib_install_log
getting package glib-2.12.11.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/glib-2.12.11.tar.gz
--------------------------------------------------------------------------------
Installing expat...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/expat_install_log
getting package expat-1.95.8.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/expat-1.95.8.tar.gz
--------------------------------------------------------------------------------
Installing fontconfig...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/fontconfig_install_log
getting package fontconfig-2.3.95.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/fontconfig-2.3.95.tar.gz
--------------------------------------------------------------------------------
Installing render...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/render_install_log
getting package render-0.8.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/render-0.8.tar.gz
--------------------------------------------------------------------------------
Installing Xrender...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/Xrender_install_log
getting package xrender-0.8.3.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/xrender-0.8.3.tar.gz
--------------------------------------------------------------------------------
Installing Xft...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/Xft_install_log
getting package xft-2.1.2.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/xft-2.1.2.tar.gz
--------------------------------------------------------------------------------
Installing pixman...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/pixman_install_log
getting package pixman-0.19.2.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/pixman-0.19.2.tar.gz
--------------------------------------------------------------------------------
Installing cairo...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/cairo_install_log
getting package cairo-1.8.10.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/cairo-1.8.10.tar.gz
--------------------------------------------------------------------------------
Installing pango...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/pango_install_log
getting package pango-1.16.1.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/pango-1.16.1.tar.gz
--------------------------------------------------------------------------------
Installing atk...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/atk_install_log
getting package atk-1.9.1.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/atk-1.9.1.tar.gz
--------------------------------------------------------------------------------
Installing tiff...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/tiff_install_log
getting package tiff-v3.6.1.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/tiff-v3.6.1.tar.gz
--------------------------------------------------------------------------------
Installing gtk+...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/gtk+_install_log
getting package gtk+-2.10.11.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/gtk+-2.10.11.tar.gz
--------------------------------------------------------------------------------
Installing gtk-engine...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/gtk-engine_install_log
getting package clearlooks-0.5.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/clearlooks-0.5.tar.gz
--------------------------------------------------------------------------------
Installing fonts...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/fonts_install_log
getting package fonts.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/fonts.tar.gz
--------------------------------------------------------------------------------
Installing wxPython...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/wxPython_install_log
getting package wxPython-src-2.8.12.1.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/wxPython-src-2.8.12.1.tar.gz
building wxWidgets with options:
--disable-mediactrl
--with-opengl
--prefix="/scratch/cctbx-new/cctbx-2014_09_21_2205/base"
--enable-optimize
--disable-debugreport
--with-gtk
--with-gtk-prefix="/scratch/cctbx-new/cctbx-2014_09_21_2205/base"
--with-gtk-exec-prefix="/scratch/cctbx-new/cctbx-2014_09_21_2205/base/lib"
--enable-graphics_ctx
building wxPython with options:
BUILD_GLCANVAS=1
BUILD_STC=0
BUILD_GIZMOS=0
BUILD_DLLWIDGET=0
BUILD_OGL=0
UNICODE=0
verifying wxPython installation... OK
--------------------------------------------------------------------------------
Installing PyRTF...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/PyRTF_install_log
getting package PyRTF-0.45.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/PyRTF-0.45.tar.gz
verifying PyRTF installation... OK
--------------------------------------------------------------------------------
Installing Matplotlib...
log file is /scratch/cctbx-installer-2014_09_21_2205/install_tmp/intel-linux-2.6-x86_64/ws201/Matplotlib_install_log
getting package matplotlib-1.3.1.tar.gz...
using /scratch/cctbx-installer-2014_09_21_2205/dependencies/matplotlib-1.3.1.tar.gz
Traceback (most recent call last):
File "./bin/install.py", line 34, in <module>
installer(sys.argv[1:])
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_distribution.py", line 127, in __init__
self.install_from_source()
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_distribution.py", line 380, in install_from_source
log=out)
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_base_packages.py", line 113, in __init__
self.build_cctbx_dependencies()
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_base_packages.py", line 170, in build_cctbx_dependencies
self.build_misc()
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_base_packages.py", line 646, in build_misc
confirm_import_module="matplotlib")
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_base_packages.py", line 337, in build_python_module_simple
log=pkg_log)
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/install_base_packages.py", line 192, in call
return call(args, log=log)
File "/scratch/cctbx-installer-2014_09_21_2205/lib/libtbx/auto_build/installer_utils.py", line 53, in call
raise RuntimeError("Call to '%s' failed with exit code %d" % (args, rc))
RuntimeError: Call to '/scratch/cctbx-new/cctbx-2014_09_21_2205/base/bin/python setup.py build ' failed with exit code 1
________________________________
From: Nathaniel Echols [[email protected]]
Sent: 09 September 2014 19:46
To: cctbx mailing list
Subject: [cctbxbb] new cctbx-plus installers
Hi all--
We now have improved installers for CCTBX with all optional third-party dependencies, including numpy, wxPython, and matplotlib; these are basically just a simplified Phenix installer (minus anything that isn't open-source, obviously). For anyone doing visualization these are probably preferable to the default packages. More useful for doing active development is that since these include the pre-build Python, if you are working directly with the CCTBX sources you can bootstrap from these packages.
Yesterday's build is here:
http://cci.lbl.gov/cctbx_build/plus_bundles/2014_09_08_0005/
and in general the latest version can be obtained here:
http://cci.lbl.gov/cctbx_build/plus_bundles/current
although today's build isn't finished yet. The next build will also incorporate IPython. I still need to fix the download page so these are listed alongside the old bundles. Once this is done we'll probably declare an official "release".
-Nat
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom