求助。
下面的 configure 不行:
export LDFLAGS='-static'
./configure \
--prefix="${HOME}/Work/Source/vim_src/vim_linux_package" \
--with-features=huge \
--with-compiledby="$(whoami)" \
--enable-multibyte \
--enable-pythoninterp \
--enable-gpm \
--enable-cscope \
--enable-fontset \
--disable-shared \
--enable-fail-if-missing
1
nG29DOMuRYTWfcSr 2017-06-16 23:05:05 +08:00
这个是我在 ubuntu 系统下编译 vim 的脚本
``` #!/bin/sh ./configure \ --with-features=huge \ --with-compiledby="wsdjeg" \ --enable-multibyte \ --enable-gui=gtk2 \ --enable-gpm \ --prefix=/usr \ --enable-cscope \ --enable-fontset \ --enable-sniff \ --enable-xim \ --enable-fail-if-missing \ --enable-mzschemeinterp \ --enable-perlinterp \ --enable-luainterp \ --enable-tclinterp\ --enable-rubyinterp \ --enable-pythoninterp \ --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ --enable-python3interp \ --with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu ``` |
3
ryanzyy 2017-07-21 13:16:24 +08:00
./configure \
--prefix="${HOME}/Work/Source/vim_src/vim_linux_package" \ --with-features=huge \ --with-compiledby="$(whoami)" \ --enable-multibyte \ --enable-pythoninterp=yes \ --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \ --enable-gpm \ --enable-cscope \ --enable-fontset \ --enable-fail-if-missing |
4
ryanzyy 2017-07-21 13:17:18 +08:00
python3 的 static link 似乎有问题
python2 没问题 |