$ pwd/cygdrive/d/chrome/src$ python -VPython 2.6.2$ ls -l /cygdrive/d/depot_tools/gclient.py-rw-r--r--+ 1 rickcam Domain Users 52193 2011-07-20 15:59 /cygdrive/d/depot_tools/gclient.py$ head -1 /cygdrive/d/depot_tools/gclient.py#!/usr/bin/env python$ ls -l /usr/bin/env-rwxr-xr-x 1 rickcam root 47630 2010-06-25 05:41 /usr/bin/env*$ which python/cygdrive/d/chrome/src/third_party/python_26/python$ gclient syncD:\chrome\src\third_party\python_26\python.exe: can't open file '/cygdrive/d/depot_tools/gclient.py': [Errno 2] No such file or directory$
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
>
Looks like something is passing a cygwin-style path to a windows-only
python.exe?
On Thu, Jul 21, 2011 at 4:25 PM, Rick Campbell <ric...@google.com> wrote:
> Yesterday and overnight I rebuilt a fresh windows dev environment with a
> fresh depot tools, avoiding *all* use of cmd -- everything was done with
> cygwin.
> This morning I'm still seeing this strange gclient error message -- saying
> that a file does not exist, when it does:
>
> $ pwd
> /cygdrive/d/chrome/src
> $ python -V
> Python 2.6.2
> $ ls -l /cygdrive/d/depot_tools/gclient.py
> -rw-r--r--+ 1 rickcam Domain Users 52193 2011-07-20 15:59
> /cygdrive/d/depot_tools/gclient.py
> $ head -1 /cygdrive/d/depot_tools/gclient.py
> #!/usr/bin/env python
> $ ls -l /usr/bin/env
> -rwxr-xr-x 1 rickcam root 47630 2010-06-25 05:41 /usr/bin/env*
> $ which python
> /cygdrive/d/chrome/src/third_party/python_26/python
gclient doesn't work with cygwin, at least not for me. I saw in the docs (http://dev.chromium.org/developers/how-tos/build-instructions-windows)that I should run it like this from cygwincmd /c gclient <args>
PK
Well it's in the docs on that page that it doesn't work so I'm not the only one that has run into this. Search for 'cmd' on that page.
Can you update it and link to the relevant subsection?
As of 6:10pm PST (sorry I'm in TKO so I wanted to make sure)This pageIs apparently wrong.It as Linux and OSX at the top and Windows and Cygwin at the bottomIt should have Linux, OSX, and Cygwin at the top and Windows (non-cygwin) at the bottomright?(I just followed the instructions at the top and my cygwin gclient started working)
On Mon, Jul 25, 2011 at 6:12 PM, Gregg Tavares (wrk) <gm...@google.com> wrote:As of 6:10pm PST (sorry I'm in TKO so I wanted to make sure)This pageIs apparently wrong.It as Linux and OSX at the top and Windows and Cygwin at the bottomIt should have Linux, OSX, and Cygwin at the top and Windows (non-cygwin) at the bottomright?(I just followed the instructions at the top and my cygwin gclient started working)I changed both top and bottom at 6 (as I previously posted). The top was changed to put the depot_tools last on the PATH instead of first.
But Greg was right, cygwin users should use the same instruction than linux and mac users.