Setup installed to c:/cygwin/usr/bin

Igor Pechtchanski pechtcha@cs.nyu.edu
Fri Nov 15 08:50:00 GMT 2002


On Fri, 15 Nov 2002, Norton Allen wrote:

> I have spent some time looking for a reference to this problem, but have not
> come across it.
>
> OS: Win2K
> Installed cygwin via setup (both download and install), pretty much accepted the
> defaults. Installed to C:\cygwin. Worked well.
>
> Returned a few weeks later to add a few more packages. Setup appeared
> to work well, but the new packages did not appear in /bin. Upon investigation,
> I located the files in C:\cygwin\usr\bin. I moved them into C:\cygwin\bin,
> and things seem to be working OK.
>
> Why did they go into C:\cygwin\usr\bin? The standard global mounts are
> there under HKLM.
>
> Below is a portion of setup.log.full showing the installation of the man package.
> What's with the '///'?
>
> Norton Allen
>
> 2002/11/14 19:51:20 Installing file://C:\home\nort-root\My
> Documents\cygpkg/ftp%3a%2f%2fplanetmirror.com%2fpub%2fsourceware%2fcygwi
> n/release/man/man-1.5g-2.tar.gz
> For filefile://C:\home\nort-root\My
> Documents\cygpkg/ftp%3a%2f%2fplanetmirror.com%2fpub%2fsourceware%2fcygwi
> n/release/man/man-1.5g-2.tar.gz ini digest iscc4e32fd649ff255ddd2fe2b4591a002 file
> digest is cc4e32fd649ff255ddd2fe2b4591a002
> Installing file cygfile:///usr/
> Installing file cygfile:///usr/bin/
> Installing file cygfile:///usr/bin/apropos
> Installing file cygfile:///usr/bin/man.exe
> Installing file cygfile:///usr/bin/man2html.exe
> Installing file cygfile:///usr/bin/whatis
> Installing file cygfile:///usr/lib/
> Installing file cygfile:///usr/lib/man.conf
> Installing file cygfile:///usr/man/
> Installing file cygfile:///usr/man/man1/
> Installing file cygfile:///usr/man/man1/apropos.1
> Installing file cygfile:///usr/man/man1/man.1
> Installing file cygfile:///usr/man/man1/man2html.1
> Installing file cygfile:///usr/man/man1/whatis.1
> Installing file cygfile:///usr/man/man5/
> Installing file cygfile:///usr/man/man5/man.conf.5
> Installing file cygfile:///usr/man/man8/
> Installing file cygfile:///usr/man/man8/makewhatis.8
> Installing file cygfile:///usr/sbin/
> Installing file cygfile:///usr/sbin/makewhatis
> compress::~compress called
> compress::~compress called
> 2002/11/14 19:51:27 mbox note: Installation Complete
> 2002/11/14 19:51:28 Ending cygwin install

The above is standard setup behavior.  Setup simply unpacks the files from
a package to the directories from which they have been packaged.  It also
reads the mount table and resolves directory references (cygfile:// is
setup's way of indicating the file is in the cygwin posix directory tree,
the third '/' is actually the root directory).

In your case, setup doesn't seem to resolve /usr/bin to c:\cygwin\bin (a
standard mount).  Please post the output of mount to the list.

Also, if your mounts turn out to be user mounts, make sure you ran setup
as the same user that you have cygwin installed for.  Or, better yet,
remount all standard mounts as system mounts.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list