2017-05-29 134 views
0

我也跟着在http://www.vim.org/git.php指示,但得到了下面的错误(克隆回购和运行使vim/src后):安装问题的Vim 8.0

makefile:304: auto/config.mk: No such file or directory 
makefile:2007: target `tags' given more than once in the same rule. 
rm -f auto/config.cache 
process_begin: CreateProcess(C:\Users\Justin\DOCUME~1\MOBAXT~1\slash\bin\rm, rm -f auto/config.cache, ...) failed. 
make (e=193): Error 193 
make: [auto/config.mk] Error 193 (ignored) 
    if test "X" != "Xclean" \ 
      -a "X" != "Xdistclean" \ 
      -a "X" != "Xautoconf" \ 
      -a "X" != "Xreconfig"; then \ 
     GUI_INC_LOC="" GUI_LIB_LOC="" \ 
      CC="" CPPFLAGS="" CFLAGS="" \ 
      LDFLAGS="" srcdir="." \ 
      ./configure \ 
       \ 
       \ 
       \ 
       \ 
       \ 
       \ 
       \ 
      \ 
       \ 
       \ 
      ; \ 
    fi 
"X" was unexpected at this time. 
make: *** [auto/config.mk] Error 255 

我得到这个,当我跑使刚刚vim/

! was unexpected at this time. 
make: *** [first] Error 255 

而且,我使用MobaXTerm,其中用Vim 7.3

来使用内置的安装程序无法正常工作。

mobapt 

Updating packages list, please wait... 
Installing vim 

/bin/apt-cyg install vim 
Found package vim 
Downloading vim-8.0.0494-1.tar.xz... 
Downloading /home/mobaxterm/.aptcyg/http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin/release/vim/vim-8.0.0494-1.tar.xz using Windows internet settings 
sha512sum: can't open 'vim-8.0.0494-1.tar.xz': No such file or directory 
/bin/apt-cyg: line 476: test: 66691247e5715e05e96098f47174b13d7e0ab3027f1c3f0c325ee24804f9d72c64c617fbecf4f3fe8d8ca41ebc09ba67b82a62a0c7bd25f0c763f0236bc13751: unary operator expected 
md5sum: can't open 'vim-8.0.0494-1.tar.xz': No such file or directory 
/bin/apt-cyg: line 479: test: 66691247e5715e05e96098f47174b13d7e0ab3027f1c3f0c325ee24804f9d72c64c617fbecf4f3fe8d8ca41ebc09ba67b82a62a0c7bd25f0c763f0236bc13751: unary operator expected 
Checksum did not match, exiting 
+0

MobaXTerm似乎现在出现了很多,所以我去了他们的网站,它似乎使用[Cygwin](https://cygwin.com/),它有[最近的Vim]( https://cygwin.com/packages/x86_64/vim/)可以...你为什么不使用它? – romainl

+0

我不确定你发布的链接是什么。该页面上的链接不会让你下载任何东西 –

+0

谁说关于下载的任何内容? MobaXterm网站声称它有一个内置的包管理器,你试过了吗? – romainl

回答

1

有src下configure脚本。您需要在运行make之前运行它。

configure脚本创建config.mk文件,该文件由make使用。

让我知道它是否有帮助。

+0

它给了我这个错误'找不到终端库',所以我试着安装ncurses并用'--with-tlib = ncursesw'重新配置脚本,但它也没有工作 –

+0

老实说,我只是要切换回Cygwin。 MobaXTerm的开发者声称它是Cygwin的更新和更好的版本,但是我尝试安装东西并解决依赖关系时遇到了太多麻烦。该应用程序的GUI方面很好,但他们应该打包所有这些依赖关系,并确保其内置的安装功能可以运行“mobapt” –