Created
May 20, 2010 16:14
-
-
Save noah/407748 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
# tmux for non-root user | |
wget 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.2/tmux-1.2.tar.gz?use_mirror=cdnetworks-us-1' | |
wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz | |
tar zxvf libevent-1.4.13-stable.tar.gz | |
tar zxvf tmux-1.2.tar.gz | |
cd libevent-1.4.13-stable | |
./configure --prefix=~/opt/libevent-1.4.13-stable | |
make -j 5 | |
make install | |
cd ../tmux-1.2 | |
./configure | |
LDFLAGS=-L~/opt/libevent-1.4.13-stable/lib CFLAGS=-I~/opt/libevent-1.4.13-stable/include make | |
make install | |
vim GNUmakefile | |
(change install permissions) | |
make install PREFIX=~/opt/tmux-1.2 | |
LD_LIBRARY_PATH=~/opt/libevent-1.4.13-stable/lib ./opt/tmux-1.2/bin/tmux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment