Hello,

Details are provided after the questions pertaining to WSL 2 Ubuntu 20.04 inside Microsot Windows 11:

  "git clone; cd vim/src"
  make distclean
  ./configure --prefix=/usr --enable-gui=gtk
  make && make test


Questions:

1) Build results in vim only -- no gui vim; how to build the gui vim?
2) 4 tests fail -- how to get a successful test?
3) How to install so that the existing version disappears?

Details:

What exists:
  OS: WSL 2 Ubuntu 20.04 inside Microsot Windows 11

  $  vi --version
  VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32)
  Included patches: 1-2269, 3612, 3625, 3669, 3741
  Modified by team+...@tracker.debian.org
  Compiled by team+...@tracker.debian.org
  Huge version with GTK3 GUI.

  type [vi|vim|gvim] shows "is hashed" /usr/bin/[vi|vim|gvim]
  which is soft-linked as follows:
/usr/bin/[vi|vim|gvim] -> /etc/alternatives/[vi|vim|gvim] -> /usr/bin/vim.gtk3

What I did:

  sudo apt install git make clang libtool-bin libxt-dev libgtk-3-devfg
  git clone  https://github.com/vim/vim.git
  cd vim/src
  make clean
  make distclean
  ./configure --prefix=/usr --enable-gui=gtk
  make  && make test

-------------------------------
Executed:  5169 Tests
 Skipped:    67 Tests
  FAILED:     4 Tests


Failures:
        From test_startup.vim:
        Found errors in Test_geometry():
command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_geometry line 31: Expected '41' but got '0' command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_geometry line 32: Expected '150' but got '0' command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_geometry line 33: Expected '[41, 150]' but got '[0, 0]'
        From test_vim9_builtin.vim:
        Found errors in Test_remote_expr():
command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_remote_expr[7]..<SNR>10_CheckDefExecAndScriptFailure[13]..<SNR>10_CheckDefExecFailure line 7: ['remote_expr("", "")']: Expected 'E241: Unable to send to ' but got 'E449: Invalid expression received': ['remote_expr("", "")'] command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_remote_expr[7]..<SNR>10_CheckDefExecAndScriptFailure[14]..<SNR>10_CheckScriptFailure line 6: ['vim9script', 'remote_expr("", "")']: Expected 'E241: Unable to send to ' but got 'E449: Invalid expression received': ['vim9script', 'remote_expr("", "")']
        Found errors in Test_remote_foreground():
command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_remote_foreground line 8: command did not fail: remote_foreground("")
        Found errors in Test_remote_send():
command line..script /opt/vim/src/testdir/runtest.vim[468]..function RunTheTest[44]..Test_remote_send line 6: command did not fail: remote_send("", "")

TEST FAILURE
make[1]: *** [Makefile:49: report] Error 1
make[1]: Leaving directory '/opt/vim/src/testdir'
make: *** [Makefile:2234: scripttests] Error 2

--Suresh




--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/765b5b11-a2c8-99fb-cc5a-310c2b0545c9%40yahoo.com.

Reply via email to