Hi
I have the (unique??) problem that I have no root access on my computer at
work but would like to be able to install and run relax (and update it
without having to call my slow system administrator every time). All this was
possible thanks to Edward's help over skype. I wanted to share the experience
with all users just in case someone else finds himself in a similar
situation. I installed on linux FEDORA ... Here's the step-by-step (although
in the end it is nothing more than what is described in the docs, but with
the key step that the python ./configure command be run with a flag "prefix"
pointing to a writable directory... see below):
1)I downloaded the following into an install directory
(/scratch/cfares/install)
relax-1.3.2.GNU-Linux.i686.tar.bz2
Python >= 2.4: Python-2.4.3.tar.bz2
Numeric >= 21: Numeric-24.2.tar.gz
Scientific Python >= 2.2: ScientificPython-2.4.11.tar.gz
minfx >= 1.0.1: minfx-1.0.1.tar.bz2
numpy >= 1.0.4: numpy-1.0.4.tar.gz
scons: scons-1.1.0.tar.gz
2) I untarred each with "tar -zxvf *.tar.gz" and "tar -jxvf *.tar.bz2"
3) Python 2.4: (it is important to do this first)
cd Python-2.4.3/
./configure --prefix=/scratch/cfares !!!!!!!
make
make install
now I had to check if this version of python is the one that is
called up by the command "python". For eg:
% which python
/scratch/cfares/bin/python
If not, you may have to modify your $PATH so that "/scratch/cfares/bin"
appears at a more prevailing position
4) For each directory of Numeric, Scientific, numpy, minfx, scons:
cd <directory>
python setup.py build !(this step only for Numeric, Scientific, numpy)
python setup.py install
5) relax-1.3.2:
cd relax-1.3.2/
scons clean_all
scons
relax
within relax, the following should work without errors:
relax> import Numeric
relax> import Scientific
relax> import numpy
relax> import minfx
but the real test was the following which gave only one error (from the
command line)
% relax --test-suite
The error that I got is related to this issue:
https://mail.gna.org/public/relax-commits/2008-10/msg00316.html
6) finally, if all goes well, you can link it:
ln -s /scratch/cfares/install/relax-1.3.2/relax /scratch/cfares/bin/relax
hope this helps
Christophe
__________________________________________________________________
Christophe Farès
200 Elizabeth St
MBRC 5th Floor, R414
Toronto, ON M5G2C4
Canada
E-mail: cfares @ uhnres.utoronto.ca
__________________________________________________________________
Clinical Genomics Centre - Proteomics
University Health Network
University of Toronto
__________________________________________________________________