./configure --enable-gdb --prefix=/usr --enable-multibyte --enable-fontset --enable-xim --enable-gui=auto --enable-pythoninterp=dynamic --enable-pythoninterp --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-rubyinterp --enable-perlinterp --enable-cscope --enable-sniff --with-x --with-compiledby=erocpil --with-features=huge --enable-luainterp=dynamic --with-python-config-dir=/usr/lib/python2.7/config-i386-linux-gnu/
Make的时候加上如下参数:
make CFLAGS="-O2 -D_FORTIFY_SOURCE=1"
如果还不行,就试试这样做:
make CFLAGS="-O3 -D_FORTIFY_SOURCE=1"
原文:http://www.cnblogs.com/wjgaas/p/3841662.html