Skip to content

Instantly share code, notes, and snippets.

@t-cyrill
Last active July 25, 2016 21:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save t-cyrill/5592427 to your computer and use it in GitHub Desktop.
Save t-cyrill/5592427 to your computer and use it in GitHub Desktop.
build tmux 1.8 on debian squeeze
#!/bin/bash
wget "https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz"
tar -xf libevent-2.0.21-stable.tar.gz
./configure
make
make verify
sudo make install
wget "http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz"
tar xvfz tmux-1.8.tar.gz
cd tmux-1.8/
./configure --enable-static && make
make
@2opremio
Copy link

There is no need to compile with --enable-static, you just need to run ldconfig as root after installing libevent to make sure the loader finds the newly installed library when calling tmux

@samo9789
Copy link

Thanks, it worked for me (not using the --enable-static either).
I had a message on ./configure at first : Error: "curses not found"
It was fixed with : aptitude install ncurses-dev (debian wheezy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment