Building tmux 1.5 on Mac OS X Lion 10.7.2Edit

$ curl -O http://iweb.dl.sourceforge.net/project/tmux/tmux/tmux-1.5/tmux-1.5.tar.gz
$ tar xzf tmux-1.5.tar.gz
$ cd tmux-1.5
$ export LDFLAGS=-lresolv
$ ./configure
$ make
$ sudo make install

See also