Skip to content

Instantly share code, notes, and snippets.

@hbredin
Last active March 25, 2016 09:53
Show Gist options
  • Save hbredin/57d48e0971efa5768fcd to your computer and use it in GitHub Desktop.
Save hbredin/57d48e0971efa5768fcd to your computer and use it in GitHub Desktop.
Cluster install logs
export PATH=/people/bredin/cluster/bin:$PATH
export LD_LIBRARY_PATH=/people/bredin/cluster/lib:/people/bredin/cluster/lib64:$LD_LIBRARY_PATH
# GCC suivant la procédure d'Eric
# OpenSSL
wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz
tar xzvf openssl-1.0.2g.tar.gz
cd openssl-1.0.2g
CFLAGS=-fPIC ./config shared --openssldir=/people/bredin/cluster
make depend
make
make test
make install
# ncurses
wget ...
tar xzf ncurses-6.0.tar.gz
cd ncurses-6.0
./configure --prefix=/people/bredin/cluster --with-shared
make -j12
make
# readline
wget ftp://ftp.cwru.edu/pub/bash/readline-6.3.tar.gz
tar xzf readline-6.3.tar.gz
cd readline-6.3
./configure --prefix=/people/bredin/cluster
make -j12
make
# Python 2.7.11
export LDFLAGS="-L/people/bredin/cluster/lib -L/people/bredin/cluster/lib64"
export CPPFLAGS="-I/people/bredin/cluster/include -I/people/bredin/cluster/include/openssl -I/people/bredin/cluster/include/ncurses"
./configure --prefix=/people/bredin/cluster --enable-shared --enable-unicode=ucs4
make -j12
make install
# Boost
wget http://downloads.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz
tar xzf boost_1_60.tar.gz
cd boost_1_60
./bootstrap.sh --prefix=/people/bredin/cluster/
./b2 -j12 --prefix=/people/bredin/cluster --libdir=/people/bredin/cluster/lib64 --layout=system install
# pip
wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
python get-pip.py
# virtualenv
pip install virtualenvwrapper
# dlib
wget http://dlib.net/files/dlib-18.18.tar.bz2
tar xjvf dlib-18.18.tar.bz2
cd dlib-18.18
# EDIT dlib/cmake
# < add_definitions(-msse4)
# > # add_definitions(-msse4)
python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment