Created
May 10, 2013 07:32
-
-
Save violetyk/5552949 to your computer and use it in GitHub Desktop.
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
cd /usr/local/src/ | |
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
tar xf libevent-2.0.21-stable.tar.gz | |
./configure --prefix=/usr/local/libevent2 | |
make | |
paco -D make install | |
cd /usr/local/src/ | |
wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz | |
tar xf tmux-1.8.tar.gz | |
cd /usr/local/src/tmux1.8 | |
# tmuxをconfigureするときにCFLAGSとLDFLAGSを指定する。 | |
./configure --prefix=/usr/local/tmux CFLAGS="-I/usr/local/libevent2/include" LDFLAGS="-L/usr/local/libevent2/lib" | |
make | |
paco -D make install | |
#ldconfigしてlibevent2をロードできるようにする | |
echo /usr/local/libevent2/lib > /etc/ld.so.conf.d/libevent2.conf | |
ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment