Skip to content

Instantly share code, notes, and snippets.

@iori-yja
Created June 20, 2014 06:16
Show Gist options
  • Save iori-yja/09c7c5b3812d37314770 to your computer and use it in GitHub Desktop.
Save iori-yja/09c7c5b3812d37314770 to your computer and use it in GitHub Desktop.
mkdir tmux_build
cd tmux_build
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar zxf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
mkdir build
export LIBEVENT_PREFIX=${PWD}/build
./configure --prefix=${LIBEVENT_PREFIX}
make
make install
cd ..
wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz
tar zxf tmux-1.9a.tar.gz
cd tmux-1.9a
mkdir build
CFLAGS="-I${LIBEVENT_PREFIX}/include" LDFLAGS="-L${LIBEVENT_PREFIX}/lib" ./configure --enable-static --prefix=${PWD}/build
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment