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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=XYZDTYiKcbZZrMPE
	DdEOaEwlUxQ0FRgAedyi8ZvmZwPuduuwr6Ye8aHIGTTaz6k2g88iJUI5Hzf/xHGQ
	qR+1LmlgdNI3tKy5GnRArAyz8xZJrNBbJxHYS0DY3vftK8nYXAoiNMgd7mrBMZZo
	CkzcX+7ZR4dMNPt7+qR95Cs8HB4=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=fCg33mVSSpvGrpmmmQIy8T
	flUgk=; b=xkdkgRQUCgDaLSnHClHkepo3trVIV8/bN49yqkCobwBN3YMo2oIMx2
	Q0KclbVaUjsYXMNkfqCXPKQv/qIAd+lXgDiX6nOEdNtFWLr6eyjuVltuPHXk3cj2
	T8kQYgXV5lAPhVmfULqDxb4mLwUmsJKYfLLNb5MUJ6LxjjGM2bTiY=
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-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 spammy=W10, rih3306, w10
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: building expect problems on W10
To: cygwin@cygwin.com
References: <1562880320576-0.post@n5.nabble.com> <b595740e-3e01-8a22-2a77-c9af96560931@gmail.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Openpgp: preference=signencrypt
Message-ID: <aa560db2-2a18-e16f-5f86-ee2dab743d45@SystematicSw.ab.ca>
Date: Fri, 12 Jul 2019 10:07:17 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <b595740e-3e01-8a22-2a77-c9af96560931@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 2019-07-11 17:09, René Berber wrote:
> On 7/11/2019 4:25 PM, rih3306 wrote:
>> I'm having trouble building expect. 
>> I'm using W10 + cygwin + GCC 9.1.0
>> $ uname -a
>> CYGWIN_NT-10.0  GZ1CB  2.11.2(0.329/5/3) 2018-11-08 14:34 x86_64 Cygwin
> That's an odd combination, an ancient version of Cygwin with a new gcc
> (which you probably built).
>> using this configure line
>> ./configure --build=x86_64-unknown-cygwin  
>> CC=/cygdrive/C/work/usr/local/bin/gcc  --cache-file=config.cache 
>> &>expect-configure-out.txt
> Why are you configuring like a cross-compilation?
> None of that should be needed to build a package that is to be used in
> the current version.
>> Configure output includes
>> This script, last modified 2003-10-07, has failed to recognize
>> the operating system you are using. 
> Configure usually shows "Target: x86_64-pc-cygwin", but yes the log also
> shows "host='x86_64-unknown-cygwin'".  Anyway that is using configure
> without any build, or host parameter.

Install cygport, the current Cygwin expect src package, upgrade Cygwin and all
packages that don't conflict with your local builds.

Untar the src package, and use cygport to build expect under Cygwin, as it takes
care of dependencies and quirks, from the directory containing the cygport file:

	$ cygport expect.cygport download all

which should build without errors.

Then you can update the expect version in expect.cygport and retry with the
latest source version.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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

