in reply to Re: Tk-804.036 build failure
in thread Tk-804.036 build failure

G'day Rob,

I don't know if any of the following will help, but here's some Perl, Tk and gcc version information for comparison. I've provided info for Perl 5.30 (which the OP had problems with) and Perl 5.36 (which you've had problems with) — note that I have different subversions.

I install Tk with all of my Perl versions. I usually get an error or two from `make test`, but nothing catastrophic; although, I seem to recall that I couldn't build Tk years ago (maybe Perl 5.26). I install with the cpan utility (force install Tk when tests fail). I run several of the widget demos, as additional tests, when `make test` fails.

I'm running Cygwin version 3.4.7 on Win10. I update both of these weekly; last done about seven hours ago.

Currently cmd.exe starts by showing:

Microsoft Windows [Version 10.0.19045.3155] (c) Microsoft Corporation. All rights reserved.

Cygwin's latest version of gcc:

$ gcc --version gcc (GCC) 11.4.0

I get Perl module version and location info with perlmodver:

Perl v5.30

$ perl -v | head -2 | tail -1 This is perl 5, version 30, subversion 0 (v5.30.0) built for cygwin-th +read-multi $ perl -V Summary of my perl5 (revision 5 version 30 subversion 0) configuration +: Platform: osname=cygwin osvers=3.0.7(0.33853) archname=cygwin-thread-multi uname='cygwin_nt-10.0 titan 3.0.7(0.33853) 2019-04-30 18:08 x86_64 + cygwin ' ... gccversion='7.4.0' ... $ perlmodver Tk Tk 804.034 in /home/ken/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/c +ygwin-thread-multi/Tk.pm ---------------------------------------------------------------------- +--

Full perl -V output:

Perl v5.36

$ perl -v | head -2 | tail -1 This is perl 5, version 36, subversion 0 (v5.36.0) built for cygwin-th +read-multi $ perl -V Summary of my perl5 (revision 5 version 36 subversion 0) configuration +: Platform: osname=cygwin osvers=3.2.0(0.34053) archname=cygwin-thread-multi uname='cygwin_nt-10.0 titan 3.2.0(0.34053) 2021-03-29 08:42 x86_64 + cygwin ' ... gccversion='10.2.0' ... $ perlmodver Tk Tk 804.036 in /home/ken/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0/c +ygwin-thread-multi/Tk.pm ---------------------------------------------------------------------- +--

Full perl -V output:

$ perl -V Summary of my perl5 (revision 5 version 36 subversion 0) configuration +: Platform: osname=cygwin osvers=3.2.0(0.34053) archname=cygwin-thread-multi uname='cygwin_nt-10.0 titan 3.2.0(0.34053) 2021-03-29 08:42 x86_64 + cygwin ' config_args='-de -Dprefix=/home/ken/perl5/perlbrew/perls/perl-5.36 +.0 -Aeval:scriptdir=/home/ken/perl5/perlbrew/perls/perl-5.36.0/bin' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define Compiler: cc='gcc' ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE - +fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY +_SOURCE=2' optimize='-O3' cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE - +fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong' ccversion='' gccversion='10.2.0' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='g++' ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,- +-enable-auto-image-base -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/lib/w32api /usr/local/lib /lib libs=-lpthread -ldl perllibs=-lpthread -ldl libc=/usr/lib/libc.a so=dll useshrplib=true libperl=cygperl5_36_0.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-sy +mbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector +-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API USE_THREAD_SAFE_LOCALE Built under cygwin Compiled at May 31 2022 12:16:12 %ENV: PERLBREW_HOME="/home/ken/.perlbrew" PERLBREW_MANPATH="/home/ken/perl5/perlbrew/perls/perl-5.36.0/man" PERLBREW_PATH="/home/ken/perl5/perlbrew/bin:/home/ken/perl5/perlbr +ew/perls/perl-5.36.0/bin" PERLBREW_PERL="perl-5.36.0" PERLBREW_ROOT="/home/ken/perl5/perlbrew" PERLBREW_SHELLRC_VERSION="0.86" PERLBREW_VERSION="0.86" PERL_READLINE_NOWARN="1" @INC: /home/ken/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0/cy +gwin-thread-multi /home/ken/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0 /home/ken/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/cygwin-threa +d-multi /home/ken/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0

— Ken