This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building expect problems on W10


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]