First install libevent using –prefix=$HOMEthis
erro:「libevent not found」spa
solve with using this when install tmux:it
DIR="$HOME";event
./configure --prefix=$DIR CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib"make
makeco
make installtmux