Skip to content

Instantly share code, notes, and snippets.

@longkey1
Created February 26, 2013 07:12
Show Gist options
  • Save longkey1/5036573 to your computer and use it in GitHub Desktop.
Save longkey1/5036573 to your computer and use it in GitHub Desktop.
# libevent
wget https://github.com/downloads/libevent/libevent/libevent-2.0.17-stable.tar.gz
tar zxvf libevent-2.0.17-stable.tar.gz
cd libevent-2.0.17-stable
./configure --prefix=$HOME/local/libevent
make && make install
# tmux
wget http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.7/tmux-1.7.tar.gz
tar zxvf tmux-1.7.tar.gz
cd tmux-1.7
./configure --prefix=$HOME/local/tmux CPPFLAGS="-I$HOME/local/libevent/include" LDFLAGS="-static -L$HOME/local/libevent/include -L$HOME/local/libevent/lib"
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment