Created
October 18, 2017 11:28
-
-
Save nocd5/805383f7a9d969041be15dd0ec899750 to your computer and use it in GitHub Desktop.
build tmux
This file contains hidden or 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
#/bin/csh | |
git clone --depth 1 https://github.com/libevent/libevent | |
git clone --depth 1 https://github.com/tmux/tmux | |
pushd libevent | |
./autogen.sh | |
./configure --prefix=$HOME/usr --enable-static --disable-shared --with-pic | |
make -j4 && make install | |
popd | |
pushd tmux | |
setenv LIBEVENT_CFLAGS -I$HOME/usr/include | |
setenv LIBEVENT_LIBS "-L$HOME/usr/lib -Wl,-dn,-levent,-dy" | |
./autogen.sh | |
./configure --prefix=$HOME/usr | |
make -j4 && make install | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment