public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Karr <davidmichaelkarr@gmail.com>
To: Mike Gran <spk121@yahoo.com>
Cc: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Trying to figure out what is wrong in a colleague's Cygwin setup
Date: Fri, 16 Jun 2023 13:54:16 -0700	[thread overview]
Message-ID: <CAA5t8Vqt4MNC+BxQgawVi8iabdy-Cm_BqBhDp=wG56d+DUikhw@mail.gmail.com> (raw)
In-Reply-To: <1485135977.587825.1686943031498@mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Actually, I was mistaken. I was given incomplete information. I'm getting
much of this second hand. Adding that to the PATH made no difference.

It appears this is something specific to "kubectl".  They ended up setting
the KUBECONFIG environment variable to "C:\Users\<uid>\.kube\config", which
is very odd, as that is basically the default value of it, and I have never
set that, and I've never seen this problem. Whatever. They're working now.

On Fri, Jun 16, 2023 at 12:17 PM Mike Gran <spk121@yahoo.com> wrote:

> > Ok, well, we managed to resolve this, but I don't understand why what we
> > did would fix this.
>
> > In system environment variables in Windows, they added "c:\cygwin64\bin"
> to
> > the end of the PATH. That fixes the problem. That just doesn't make any
> > sense to me. In a Cygwin shell, "/usr/bin" is in the PATH, which is the
> > same as "c:\cygwin64\bin".
>
> Hello David-
> The fact that their uname said MINGW implies they weren't running
> "real" Cygwin, but, actually MSYS, which is the slightly modified Cygwin
> that is bundled with MINGW to allow it to run bash and other
> coreutils.
>
> MSYS has its own location for '/usr/bin', which is probably
> c:/msys64/usr/bin or similar. It won't look in c:/cygwin64 by default.
>
> Just a guess, but, hope this helps.
> -Mike Gran
>

      reply	other threads:[~2023-06-16 20:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 21:54 David Karr
2023-06-15 21:07 ` David Karr
2023-06-16 19:02   ` David Karr
2023-06-16 19:17     ` Mike Gran
2023-06-16 20:54       ` David Karr [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA5t8Vqt4MNC+BxQgawVi8iabdy-Cm_BqBhDp=wG56d+DUikhw@mail.gmail.com' \
    --to=davidmichaelkarr@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=spk121@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).