转自https://www.cnblogs.com/shinemic/p/8409827.html
./configure --with-features=huge
–enable-rubyinterp=yes
–enable-luainterp=yes
–enable-perlinterp=yes
–enable-pythoninterp=yes
–enable-python3interp=yes
–with-python-config-dir=/usr/lib64/python2.7/config
–with-python3-config-dir=/usr/lib64/python3.4/config-3.4m
–enable-fontset=yes
–enable-cscope=yes
–enable-multibyte
–disable-gui
–enable-fail-if-missing
–prefix=/usr/local
–with-compiledby=‘Professional operations’