Last active
September 25, 2017 14:03
-
-
Save bwangelme/1b5060789adda56705e0db36dc692df7 to your computer and use it in GitHub Desktop.
gvim compile script on ubuntu 16.04, add python2/3, ruby, lua, gui support
This file contains 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/bash | |
# checking for xmkmf... no | |
# checking for X... (cached) no | |
# checking if X11 header files can be found... no | |
# checking --enable-gui argument... no GUI support | |
# checking for X11/SM/SMlib.h... (cached) no | |
## if you meet the above situation on ubuntu 16.04, please follow the following cmd | |
# sudo apt-get install xorg-dev | |
LDFLAGS="" CPPFLAGS="" CFLAGS="-g -O2" ./configure \ | |
--with-compiledby="bwangel" \ | |
--enable-fail-if-missing \ | |
--enable-cscope \ | |
--enable-gpm \ | |
--enable-selinux \ | |
--disable-smack \ | |
--with-features=huge \ | |
--enable-multibyte \ | |
--enable-acl \ | |
--with-x \ | |
--enable-xim \ | |
--enable-gui=gnome2 \ | |
--disable-gtk2-check \ | |
--enable-gnome-check \ | |
--disable-motif-check \ | |
--disable-athena-check \ | |
--disable-fontset \ | |
--enable-luainterp \ | |
--disable-mzschemeinterp \ | |
--enable-perlinterp \ | |
--enable-pythoninterp \ | |
--with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ | |
--enable-python3interp \ | |
--with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu \ | |
--enable-tclinterp \ | |
--with-tclsh=/usr/bin/tclsh && make -j4 && sudo make install && vim --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment