Notes sur la compilation de vim 8 et tmux 2 dans un environnement local.
S’assurer que python -V donne bien la version 3. Il faut aussi qu’il ait été compilé avec --enable-shared. (Ou si avec pyenv:PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install <version>.
vim
CPPFLAGS="-I${HOME}/local/include" LDFLAGS="-L${HOME}/local/lib"
./configure --prefix=${HOME}/local
--with-python3-command=python --enable-python3interp=yes
--enable-fail-if-missing
make -j$(nproc)
make install
Il est important de lier vim avec python pour que l’extension YouCompleteMe fonctionne bien.
tmux
dependencies
ncurses
export CPPFLAGS="-P"
./configure --prefix=${HOME}/local
make -j$(nproc)
make install
libevent
La même chose que ncurses
tmux
CPPFLAGS="-I${HOME}/local/include" LDFLAGS="-L${HOME}/local/lib" ./configure --prefix=${HOME}/local
make -j$(nproc)
make install