Installing Gene Cluster on Ubuntu

Gene Cluster is a program for clustering. I wanted to use it to analyse gene expression data. However, I had problems during installation under Ubuntu 14.04. This is how I solved it:
[bash]
# install dependencies: Motif libraries
sudo apt-get install libxext-dev libmotif-dev
[/bash]

Get GeneCluster3.0 source code and unpack it.
[bash]
# configure to install in local dir
./configure –prefix=`pwd` –program-prefix=gene_ && make && make install

# add install dir to ~/.bashrc
[/bash]

pysam installation error on Ubuntu 14.04

If you encounter error during pysam installation:
[bash]
sudo easy_install -U pysam

pysam/csamtools.c:8:22: fatal error: pyconfig.h: No such file or directory
#include "pyconfig.h"
^
compilation terminated.
error: Setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
[/bash]

try installing python-dev first.
[bash]
sudo apt-get install python-dev
[/bash]

Solution found on github.