This is the mail archive of the cygwin@cygwin.com 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]

Re: FW: bin dir not created during cygwin setup in Win2kPro


I have cygwin installed now, this is a follow up report, as promised, as to the mess I found in the registry.

There are differneces I find in the registry for
cygwin (the one that worked after I deleted cygwin1)
and
cygwin1 (the one that was cygwin I had to rename cygwin1)
I'm only showing registry settings that are different.

HKEY_CURRENT_USER\Sofrware\Cygnus Solutions\Cygwin\mounts v2
  <No values set>

HKEY_CURRENT_USER\Sofrware\Cygnus Solutions\Cygwin1\mounts v2
   cygdrive   REG_DWORD   0x00000022 (34)
   cygdrive prefix  REG_SZ   /cygdrive

======================================================

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
   Subkeys /  /usr/bin   /usr/lib   /usr/X11R6/lib/X11/fonts
  all native set to correct install paths off of c:\cygwin.  No other subkeys.

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin1\mounts v2
   Subkeys /  /usr/lib /usr/X11R6/lib/X11/fonts
  all native set to correct install paths off of e:\cygwin
   Subkeys /bin /etc /ssh /usr/bin /usr/local/bin /usr/local/etc /var
  all set incorrectly off of:
   e:\Program Files\NetworkSimplicity\

======================================================

Those seem to be the most relevant changes that effected why it would not install correctly before.

Regards,

Jim Langston

Jim Langston wrote:

> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
> Sent: Tuesday, October 22, 2002 11:32 AM
> To: Jim Langston
> Cc: cygwin@cygwin.com
> Subject: RE: bin dir not created during cygwin setup in Win2kPro
>
> On Tue, 22 Oct 2002, Jim Langston wrote:
>
> > From: Christopher Faylor <cgf at redhat dot com>
> >
> > > On Mon, Oct 21, 2002 at 09:40:56PM -0700, Jim Langston wrote:
> > > >I've installed from internet and downloaded from internet both, but
> > > >exact same thing.
> > >
> > > Only one is appropriate: "Install from internet".  Essentially, at
> > > this point, you should just be running Setup and clicking on Next
> > > repeatedly. Don't make any decisions other than that.
> >
> > Yes, I've done that.  When I click on Install from Internet, it still
> > asks me for 2 directory paths, one where it will install the program
> > to, and one where it will download the package too.  Yes, I know it
> > doesn't make sense for it to ask for where to download it to when I am
> > installing from the internet, but it does anyway.
> >
> > The only way I've seen it act different in these two methods in the 13
> > installs I've done so far is that if you tell it to download from the
> > internet it will download the packages and then exit the program and
> > not install anything.  Then I can run the setup.exe again and tell it
> > to install from the local hard drive and point to where it's located.
> > If you tell it to install from the internet it will download it and
> > then install it.
> >
> > Is this the way it's supposed to act?  I couldn't tell you, this is my
> > first attempt at installing this program.  I'm giving up after 13
> > attempts to reinstall with many different methods (install from
> > internet, download from internet, install from local hard drive,
> > install to e, install to c, etc...)
> >
> > It may be something hosed in my computer, I just don't know.  The
> > reason I'm attempting to install cygwin is so I can connect to a SuSe
> > box running SSH and CVS.  For some reason WinCVS will not connect me
> > through SSH to the CSV server even using plink and putty, even though
> > someone else follows the exact same steps and it works for them.  For
> > me the server tells me it doesn't like my public key, go figure.
> >
> > I've tried installing this using every method I could find, with the
> > same exact results every time no matter what I do.  So my feeling now
> > is that either there is something in the registry that's preventing
> > this from installing, some environment variable I have to tweak, or
> > that my MSI is not compatable with the cygwin setup.exe (which I
> > highly doubt).
> >
> > Unless there are any suggestions other than, "try installing it
> > again", I give up.
>
> Jim,
>
> Unfortunately, any suggestion that does not contain "try installing it again" will leave you with a computer without a Cygwin installation.  So, do try installing it again following these steps:
>
> Cleanup:
> C1) Open Windows Explorer, browse to C:\cygwin, either delete it
>     completely or rename it to something else (if it exists)
> C2) Start->Run, type "regedit", Edit->Find, type "Cygwin", select Keys
>     only
>  C2.1) Remove (or rename) all the keys you find to something else, say,
>        Cygwin1 (you don't have to rename subkeys once the top-level key is
>        renamed)
> Note: as with all registry changes, don't forget to back up your registry
>       (see your Windows manual for details)
>
> Install:
> 1) Create a download directory for Cygwin, e.g., c:\temp\CygwinInstall
> 2) Download the latest setup.exe by clicking on "Install now" on the
>    Cygwin web page ( http://www.cygwin.com/ ) and save it in
>    c:\temp\CygwinInstall
> 3) Run c:\temp\CygwinInstall\setup.exe
> 4) Click "Next", select "Install from Internet", click "Next"
> 5) In the "Root Directory" box type "C:/cygwin" (if it's not already
>    there), choose "Install For->All Users", with the default text file
>    type of "Unix", click "Next"
> 6) In the "Local Package Directory" box type "C:\temp\CygwinInstall",
>    click "Next"
> 7) Choose "Use IE5 Settings" (it won't hurt, and will help if you're
>    behind a firewall), click "Next"
> 8) Select a mirror ( ftp://ftp.nas.nasa.gov/ is as good as any), click
>    "Next"
> 9) Select the packages you'd like to install, click "Next"
> 10) Choose where you'd like to create your icons, and click "Finish"
> 11) Wait for all the postinstall scripts (flashing black windows) to
>     complete, then click "OK" in the "Install complete" box
>
> You should now have a working installation of Cygwin.  Browse to C:\cygwin and verify that you have the "bin", "lib", "usr", and "etc" subdirectories.  Then try clicking on the Cygwin icon on the desktop. If the above doesn't work, report back to the list.
>         Igor
> P.S. BTW, when you select "Install from Internet", the packages are cached in your local download directory, so you can later do an "Install from a Local Directory" if you need to reinstall something.
> --
>                                 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/


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