delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/12/21:02:13

X-Spam-Check-By: sourceware.org
Message-ID: <448E0DFC.5040202@earthlink.net>
Date: Mon, 12 Jun 2006 17:59:40 -0700
From: S Page <skierpage AT earthlink DOT net>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: vim executables hidden after vim7 install, with workaround
X-ELNK-Trace: d80ce6162cd4a4c8d6dd28457998182d7e972de0d01da940c435b3db6e75adc543ae4978789e9e14350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019