Skip to content

Instantly share code, notes, and snippets.

$ cvs -z3 -d:pserver:[email protected]:/sources/screen co screen
$ curl http://old.evanmeagher.net/files/gnu-screen-vertsplit.patch > gnu-screen-vertsplit.patch
$ cd screen/src
$ patch < ../../gnu-screen-vertsplit.patch
$ ./configure --enable-locale --enable-telnet --enable-colors256 --enable-rxct_osc
$ make
$ sudo make install
# set up flags for Numpy C extentions compiling
export CFLAGS="-arch i386 -arch x86_64"
export FFLAGS="-m32 -m64"
export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64"
export CC=gcc
export CXX="g++ -arch i386 -arch x86_64"
sudo pip install numpy
# success!
OPENFST_VERSION=1.3.4
PYFST_VERSION=0.2.3
export CXX="clang++ -std=c++11 -stdlib=libstdc++"
cd ~/Downloads
curl -O http://openfst.org/twiki/pub/FST/FstDownload/openfst-$OPENFST_VERSION.tar.gz
tar zxf openfst-$OPENFST_VERSION.tar.gz
pushd openfst-$OPENFST_VERSION