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]

Re: Problems installing Cygwin


Bryan A. Zimmer wrote:
>
> Most recently the post-install scripts seem to have run fine, and the
> installation was complete, I attempted to start Cygwin. I even took the
> precaution of creating the password and group files with the mkpasswd
> and mkgroup programs, with the commands:
>
> $ mkpasswd -l -g > /etc/passwd
> $ mkgroup -l > /etc/group
>
> I have also made sure my home directory in the Windows environment was set
> to HOME=C:\cygwin\home\baz and that the CYGWIN environment variable was
> set to: CYGWIN=ntsec binmode tty glob (I also tried with "nontsec")
>
> Having done this, I can press the "Cygwin" icon and get a command console
> that LOOKS like Cygwin, but the directory I get places in is /usr/bin, and
> there is not even a default path, so that I have to type in things like "/bin/ls"
> or "/bin/mount".
>
> Doing a "/bin/bash --login -i" has the same effect, as do
> all attempt to start the program with Cygwin.bat from a cmd.exe prompt.
>
> I do not know if I have missed some crucial and recent change, or what.
> The same installation process used to work just fine. This year (2008),
> I have only had the non-success described above.
>

I need some more information to help:

First, the output of `/bin/mount`, which is a list of all the
mountpoints on your system. The most common reason that the shell
can't find commands in the PATH is that the mount table has gotten
messed up.

Second, the output of `/bin/env`, which is a dump of your environment
variables. Any nuber of problems result from one or more of these
being messed up.

Third, the output of `/bin/uname -a`, which is the version information
of your Cygwin installation. This is generally useful so we know how
it's *supposed* to work.

Lastly, please confirm or correct the following info:
- Your base install directory is "C:\Cygwin"
- The installer (setup.exe) finished without errors

-- Sam Hanes
<elemecca AT gmail DOT com>
Send list replies to <cygwin AT cygwin DOT com>!

--
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]