X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:content-type:content-transfer-encoding
	:mime-version:subject:message-id:date:cc:to; q=dns; s=default; b=
	vptk2lqnTd5uyLx1VtutpRh49liebSW1BuB4t1mU36sxsKDiXJBikN6IrG34HCkS
	aFzHxlP5j0jD88C76bUNZ6bdV06ZweiSpkrKGSAL9pPIGlxUUxtMzSahkvEk2G3k
	6vzZUwtbbnxBNcvlnKxpBqLJBSDGW3oTkysgBPOpAfs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:content-type:content-transfer-encoding
	:mime-version:subject:message-id:date:cc:to; s=default; bh=99RCj
	pSvETtaCxb0R5gYHeB1zaY=; b=ylsYdsAAIDVUg7B6izBqDyJwQwiQ81qOTDaDW
	BHx7tXCr/zc1yLb9TSHvmnBjfz37mIJFMIQ55N7kOXuMVlnesf7SVqXuUipnuhGE
	BKMq9K6ZvNvmQEjxVIjdAUfPP2LAiBu3BNJWh5wZIGiVHddhLtJ1II3F53HF0sX+
	YKIyyQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=BAYES_00,EXECUTABLE_URI,FREEMAIL_FROM,KAM_EXEURI,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=cygcheck, UD:mirror.constant.com, UD:cygwin.mirror.constant.com, cygwinmirrorconstantcom
X-HELO: mail-it0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:from:content-transfer-encoding:mime-version         :subject:message-id:date:cc:to;        bh=oduw9CJfkSFHPcqZRvx6T+eRvz5finhGQuIWSPek0SM=;        b=ky2GWOgWNYP9admWP3IVUB1iwcbZdSWL0cuLBASoAfllR7O6/lJsGDPSFRlysfijaQ         PE/q0I3JuCk1DgnirhPjWtr/YVweNBVejkxIc4t0UhHnvrYEdEzxajs8XiIGofnNXe+P         dR8axiYmWVAKSjcOeMFWOPtm+hti2cyNf4Wu+JD/hAY5qq6faYGZQ6t7Lw0kIIPx4Ejo         pjfJB5tnTosvTVVDMUD4Z2I/+N8xNmuzJZhh65Nh7UxmNVTRM3pD2Zcv2FGsi6zHWkE6         QLwJroPzr7cvOoQu7Ij2JG6w9wUxriYnPeb4JdjD0b34a7PKBqjtCIWz8A6+Aq/zFz9r         +zfA==
X-Gm-Message-State: AA6/9RmhKVjlFWO93tCdikh9/BjTOTduT3G3UkC8baEt5hjwFbrF2hF/jvuT//Q3fntAiQ==
X-Received: by 10.36.69.79 with SMTP id y76mr8284406ita.49.1475024443640;        Tue, 27 Sep 2016 18:00:43 -0700 (PDT)
From: Rian Quinn <rianquinn@gmail.com>
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
Subject: CMake "command not found" on Windows Server 2012 R2
Message-Id: <2451A58E-48C6-4E44-9D43-CD0FCF877511@gmail.com>
Date: Tue, 27 Sep 2016 19:00:40 -0600
Cc: tony@kelman.net
To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u8S11EHR011195

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


