This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

vim executables hidden after vim7 install, with workaround


I installed vim 7 on my Windows XP SP2 cygwin system (DLL version: 1.5.19) using Cygwin setup.

But there's no vim.exe in my path. It's not in /bin or /usr/bin. I've reinstalled with Cygwin setup twice.

$ cygcheck -v -h -c vim
Cygwin Package Information
Last downloaded files to: C:\cygwin\packages
Last downloaded files from: http://mirrors.dotsrc.org/cygwin

Package              Version        Status
Missing file: /usr/bin/ex from package vim
Missing file: /usr/bin/rview from package vim
Missing file: /usr/bin/rvim from package vim
Missing file: /usr/bin/vi from package vim
Missing file: /usr/bin/view from package vim
Missing file: /usr/bin/vim.exe from package vim
Missing file: /usr/bin/vimdiff from package vim
Missing file: /usr/bin/vimtutor from package vim
Missing file: /usr/bin/xxd.exe from package vim
vim                  7.0.017-1      Incomplete


From Windows' perspective, I found the binaries and symlinks were not in
/cygdrive/c/cygwin/bin/
with the rest of my programs, but in
/cygdrive/c/cygwin/usr/bin/
where there are no other binaries, and where my cygwin installation can't find them.


(The install did put lots of vim files in /usr/share/vim/vim70.)


To work around this install problem, I moved vim.exe, vimtutor, and xxd.exe from /cygdrive/c/cygwin/usr/bin to /cygdrive/c/cygwin/bin , and recreated the symlinks for ex, vi, etc. cygcheck reports OK.


QUESTION: since /usr/bin is somehow an equivalent to /bin/ in Cygwin, should I have a /cygdrive/c/cygwin/usr/bin directory (now empty after my workaround) at all?


I compared my previous working vim64 package with vim7, and noticed that the paths in the tar files are different: the vim64 tar file has usr/bin/vim.exe, vim7 has ./usr/bin/vim.exe. I don't know if that's significant. See output below.


I hope this information is useful to someone.

Invimcibly yours,
--
=S




(Old vim6, worked:)


$ cd /cygdrive/c/cygwin/packages
$ bunzip2.exe -c - http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/vim/vim-6.4-4.tar.bz2 | tar -tvf - | grep vim.exe
lrwxrwxrwx corinna/root 0 2005-12-18 07:17:07 usr/bin/ex -> vim.exe
lrwxrwxrwx corinna/root 0 2005-12-18 07:17:08 usr/bin/rview -> vim.exe
lrwxrwxrwx corinna/root 0 2005-12-18 07:17:07 usr/bin/rvim -> vim.exe
lrwxrwxrwx corinna/root 0 2005-12-18 07:17:50 usr/bin/vi -> vim.exe
lrwxrwxrwx corinna/root 0 2005-12-18 07:17:07 usr/bin/view -> vim.exe
-rwxr-xr-x corinna/root 1061888 2005-12-18 07:16:49 usr/bin/vim.exe
lrwxrwxrwx corinna/root 0 2005-12-18 07:17:08 usr/bin/vimdiff -> vim.exe


(New vim7, didn't install to right location:)

$ bunzip2.exe -c - http%3a%2f%2fmirrors.dotsrc.org%2fcygwin/release/vim/vim-7.0.017-1.tar.bz2 | tar -tvf - | grep vim.exe
lrwxrwxrwx corinna/root 0 2006-06-12 01:52:09 ./usr/bin/ex -> vim.exe
lrwxrwxrwx corinna/root 0 2006-06-12 01:52:09 ./usr/bin/rview -> vim.exe
lrwxrwxrwx corinna/root 0 2006-06-12 01:52:09 ./usr/bin/rvim -> vim.exe
lrwxrwxrwx corinna/root 0 2006-06-12 01:52:09 ./usr/bin/vi -> vim.exe
lrwxrwxrwx corinna/root 0 2006-06-12 01:52:09 ./usr/bin/view -> vim.exe
-rwxr-xr-x corinna/root 1375232 2006-06-12 01:52:36 ./usr/bin/vim.exe
lrwxrwxrwx corinna/root 0 2006-06-12 01:52:09 ./usr/bin/vimdiff -> vim.exe


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]