public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Rian Quinn <rianquinn@gmail.com>
To: cygwin@cygwin.com
Cc: tony@kelman.net
Subject: CMake "command not found" on Windows Server 2012 R2
Date: Wed, 28 Sep 2016 03:33:00 -0000	[thread overview]
Message-ID: <2451A58E-48C6-4E44-9D43-CD0FCF877511@gmail.com> (raw)

Using the following AppVeyor script, attempting to run cmake returns “command not found”. If I run “which cmake”, I get “/usr/bin/cmake”, so it’s there. If I compile cmake manually it works fine (using the same 3.6.2). As a not, CMake seems to work fine on Windows 10. 

Here is the script so that others can repro the issue:

------------------------------------------

environment:
    global:
        CYG_ROOT: C:\cygwin64
        CYG_MIRROR: http://cygwin.mirror.constant.com
        CYG_CACHE: C:\cygwin64\var\cache\setup
        CYG_BASH: C:\cygwin64\bin\bash

cache:
    - '%CYG_CACHE%'

install:
    - ps: 'Start-FileDownload "https://cygwin.com/setup-x86_64.exe" -FileName "setup-x86_64.exe"'
    - 'setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages cmake'
    - '%CYG_BASH% -lc "cygcheck -dc cygwin"'

build_script:
    - 'echo Building...'
    - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; which cmake"'
    - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; cmake"’

branches:
  only:
    - master

test: off


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2016-09-28  1:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28  3:33 Rian Quinn [this message]
2016-09-29  2:04 ` Tony Kelman

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=2451A58E-48C6-4E44-9D43-CD0FCF877511@gmail.com \
    --to=rianquinn@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=tony@kelman.net \
    /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).