From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51967 invoked by alias); 12 Jul 2019 16:07:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 51957 invoked by uid 89); 12 Jul 2019 16:07:23 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 Jul 2019 16:07:21 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id ly4sh4IssSrVcly4thW6T6; Fri, 12 Jul 2019 10:07:19 -0600 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> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: Date: Fri, 12 Jul 2019 16:07:00 -0000 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: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00101.txt.bz2 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