Created
June 20, 2014 06:16
-
-
Save iori-yja/09c7c5b3812d37314770 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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