Installation

  1. Python

    0. download python from http://www.python.org
    
    1. to install under LINUX, do
       
       ./configure --prefix=YOUR_INSTALL_DIR
       make
       make install
       
    2. to install under SGI, do
    
       ./configure --without-gcc --with-cxx=CC  --prefix=YOUR_INSTALL_DIR
       make
       make install
    
    
  2. Boost Python

    0. Download boost source code from: http://www.boost.org.
       Assume it is boost_1_29_0. 
    
    1. Download 'bjam' for your platform.
    
       Local lab copies can be got from:
         1) linux-x86: ftp://water.3dem.bioch.bcm.tmc.edu/eman/bin/bjam.linux
         2) SGI Irix: ftp://water.3dem.bioch.bcm.tmc.edu/eman/bin/bjam.sgi
       Then rename it to 'bjam'.
    	
    2. set up environment variables for 'bjam':
       - PYTHON_ROOT
       - PYTHON_VERSION
    
       For example, if your python is at: /usr/bin/python. PYTHON_ROOT
       is '/usr'; PYTHON_VERSION is 2.2 if you are using python 2.2.X.
          
    3. cd boost_1_29_0/libs/python/build
    
    4. run 'bjam' with your options:
       1) linux-x86: % bjam
       2) SGI Irix:  % bjam "-sTOOLS=mipspro"	
    	
    
    5. copy file 'libboost_python.so' under
       'boost_1_29_0/libs/python/build/bin/...' directory to /usr/local/lib.
    
    6. copy everything under boost_1_29_0/boost to /usr/local/include:
       % cp -rf boost_1_29_0/boost /usr/local/include