J-Win
J-Win

Reputation: 1492

Trouble Installing Vim 8.0

I followed the instructions at http://www.vim.org/git.php but got the following errors (after cloning the repo and running make in vim/src):

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

I got this when I ran make in just vim/

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

Also, I'm using MobaXTerm, which came with Vim 7.3

Using the built in installer does not work as well.

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

Upvotes: 1

Views: 1863

Answers (1)

Prasanna
Prasanna

Reputation: 1274

There is configure script under src. You need to run it before running make.

The configure script creates config.mk file which is used by make.

Let me know if it helps.

Upvotes: 4

Related Questions