[vim 8.0] -python, -python3 Áö¿ø°¡´ÉÇϵµ·Ï compile ¹®ÀÇ

   Á¶È¸ 3621   Ãßõ 2    

vim8.0을 기본값으로 complile하여 설치하면, 하기와 같이 python이 지원되지 않네요

> vim --version | grep python

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 12 2017 05:24:26)
Included patches: 1-635
Compiled by ****@***.localdomain
Huge version without GUI.  Features included (+) or not (-):

...
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      -python3         +wildignore


하기와 같이 설치하면, 

./configure --with-features=huge \
                 --with-python-config-dir=/usr/lib/python2.7/config

하기와 같이 설치가 되네요

[nso] root:~/vim > vim --version | grep python
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      -python3         +wildignore


vim 8.0에 python module enable 하신분의 조언 부탁 드립니다.


감사합니다.


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
--enable-pythoninterp ¿É¼Çµµ Ãß°¡ÇØÁÖ¼¼¿ä..
     
¾Ë·ÁÁֽŠÁ¶¾ð´ë·Î ÇÏ¿´´Âµ¥, ¾ÆÁ÷ ÇØ´ç Çö»óÀº ÇØ°áµÇÁö ¾Ê¾Ò½À´Ï´Ù.
Á¦°¡ ¹«¾ùÀΰ¡ ³õÄ¡°í ÀÖ´Â °ÍÀÌ ÀÖ´Â °Å °°½À´Ï´Ù.

./configure --with-features=huge --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
....
1634 translated messages, 3 fuzzy translations.
make[2]: Leaving directory `/root/vim/vim80/src/po'
make[2]: Entering directory `/root/vim/vim80/src/po'
make[2]: Nothing to be done for `converted'.
make[2]: Leaving directory `/root/vim/vim80/src/po'
make[1]: Leaving directory `/root/vim/vim80/src'

make
....
checking linker --as-needed support... yes
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h

make install
....
if test -d /usr/local/share/applications -a -w /usr/local/share/applications; then \
  cp ../runtime/vim.desktop \
        ../runtime/gvim.desktop \
        /usr/local/share/applications; \
  if test -z "" -a -x ""; then \
      -q /usr/local/share/applications; \
  fi \
fi
make[1]: Leaving directory `/root/vim/vim80/src'

$  ls -al /usr/local/bin/vim
-rwxr-xr-x. 1 root root 2525800 Jun 13 17:22 /usr/local/bin/vim
$  /usr/local/bin/vim --version | grep python
+cryptv          +linebreak      -python          +vreplace
+cscope          +lispindent      -python3        +wildignore
          
--with-python-config-dir=/usr/bin/python-config ·Î º¯°æÇغ¸¼¼¿ä


QnA
Á¦¸ñPage 4240/5688
2015-12   1539559   ¹é¸Þ°¡
2014-05   5003761   Á¤ÀºÁØ1
2019-01   3622   ³ª³Ê¿ì¸®
2019-07   3622   NAS°íÀå³µ´Ù¡¦
2015-03   3621   ±è°Ç¿ì
2018-05   3621   Sakura24
2016-08   3621   µþ±â´ëÀå
2023-04   3621   °³¹ß³×¹ß
2015-11   3621   ±èÁ¤ÇöB
2017-09   3621   Sakura24
2018-08   3621   ÇູÇϼ¼
2013-12   3621   ȲÁø¿ì
2021-02   3621   Àü¼³¼ÓÀǹ̡¦
2018-04   3621   ºÐÃâ¼ö
2018-03   3621   ¼¼¿¡¶ó
2018-10   3621   °ø¾ËÀÌ
2019-02   3621   ÇÁ·Î½Ã¾Æ
2015-08   3621   Àü¼³¼ÓÀǹ̡¦
2016-08   3621   ³ë¾Æµð
2023-10   3621   ¾×ü¿ÍÄÄÇ»ÅÍ
2017-08   3621   ³ªÆÄÀÌ°­½ÂÈÆ
2018-10   3621   ÀüÁø