Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 60707
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: jerome.vivancos [...] laposte.net
persicom [...] cpan.org
Cc: matthew.persico [...] gmail.com
AdminCc:

Bug Information
Severity: Critical
Broken in: 804.028_503
Fixed in: (no value)



CC: matthew.persico [...] gmail.com
Subject: Install Failures - Strawberry 5.12.1.0, 64 bit
Fails to build with Strawberry. Release notes say to use this version for 64 bit compiling. Build log attached. I have also included a failed build for 029.
Subject: Tk-804.029-1282705805.log
Download Tk-804.029-1282705805.log
application/octet-stream 238.7k

Message body not shown because it is not plain text.

Subject: Tk-804.028_503-1282706499.log
Download Tk-804.028_503-1282706499.log
application/octet-stream 246k

Message body not shown because it is not plain text.

On 2010-08-24 23:23:51, PERSICOM wrote: Show quoted text
> Fails to build with Strawberry. Release notes say to use this version for > 64 bit compiling. Build log attached. > > I have also included a failed build for 029.
Hello Matthew, can you try the attached patch against 029? Regards, Slaven
Subject: 64bit.patch
diff --git c/pTk/mTk/xlib/X11/X.h w/pTk/mTk/xlib/X11/X.h index 95db07f..a1cf10c 100644 --- c/pTk/mTk/xlib/X11/X.h +++ w/pTk/mTk/xlib/X11/X.h @@ -40,7 +40,7 @@ SOFTWARE. /* Resources */ -#ifdef _WIN64 +#if defined(_WIN64) && defined(_MSC_VER) typedef __int64 XID; #else typedef unsigned long XID;
Subject: Re: [rt.cpan.org #60707] Install Failures - Strawberry 5.12.1.0, 64 bit
Date: Thu, 26 Aug 2010 22:18:07 -0400
To: bug-Tk [...] rt.cpan.org
From: Matthew Persico <matthew.persico [...] verizon.net>
On 8/25/2010 10:33 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=60707> > > On 2010-08-24 23:23:51, PERSICOM wrote:
>> Fails to build with Strawberry. Release notes say to use this version for >> 64 bit compiling. Build log attached. >> >> I have also included a failed build for 029.
> Hello Matthew, > > can you try the attached patch against 029? > > Regards, > Slaven >
Thank you. I got further this time. Now I get: cp PNG.pm ..\blib\lib\Tk\PNG.pm C:\strawberry\5.12.1.0.32\perl\bin\perl.exe C:\strawberry\5.12.1.0.32\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry\5.12.1.0.32\perl\lib\ExtUtils\typemap -typemap C:/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64/Tk/typemap PNG.xs > PNG.xsc && C:\strawberry\5.12.1.0.32\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- PNG.xsc PNG.c gcc -c -I.. -I/usr/local/include -I.. -I../pTk/mTk/xlib -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"4.004\" -DXS_VERSION=\"804.029\" "-IC:\strawberry\5.12.1.0.32\perl\lib\CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ PNG.c dmake: Error: -- `png.h' not found, and can't be made dmake.exe: Error code 255, while making 'subdirs' SREZIC/Tk-804.029.tar.gz C:\strawberry\5.12.1.0.32\c\bin\dmake.exe -- NOT OK Failed during this command: SREZIC/Tk-804.029.tar.gz : make NO The file is in the package though: matthew@mop ~ $ cd /cygdrive/c/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64 matthew@mop /cygdrive/c/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64 $ find . -name png.h ./PNG/libpng/png.h BTW I'm not building under cygwin, just using 'find' from that package. Since the patch was so small, I patched by hand. For future reference, using only strawberry tools, where would I normally put the patch and what command would I run to apply it? -- Matthew
On 2010-08-26 22:18:14, matthew.persico@verizon.net wrote: Show quoted text
> On 8/25/2010 10:33 PM, Slaven_Rezic via RT wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=60707> > > > > On 2010-08-24 23:23:51, PERSICOM wrote:
> >> Fails to build with Strawberry. Release notes say to use this
version for Show quoted text
> >> 64 bit compiling. Build log attached. > >> > >> I have also included a failed build for 029.
> > Hello Matthew, > > > > can you try the attached patch against 029? > > > > Regards, > > Slaven > >
> Thank you. I got further this time. Now I get: > > cp PNG.pm ..\blib\lib\Tk\PNG.pm > > C:\strawberry\5.12.1.0.32\perl\bin\perl.exe > C:\strawberry\5.12.1.0.32\perl\lib\ExtUtils\xsubpp -typemap > > C:\strawberry\5.12.1.0.32\perl\lib\ExtUtils\typemap -typemap > C:/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64/Tk/typemap > PNG.xs > PNG.xsc && C:\strawberry\5.12.1.0.32\perl\bin\perl.exe > -MExtUtils::Command -e "mv" -- PNG.xsc PNG.c > > gcc -c -I.. -I/usr/local/include -I.. -I../pTk/mTk/xlib -s -O2 > -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT > -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields > -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"4.004\" > -DXS_VERSION=\"804.029\" "-IC:\strawberry\5.12.1.0.32\perl\lib\CORE" > -Wall -Wno-implicit-int -Wno-comment -Wno-unused > -D__USE_FIXED_PROTOTYPES__ PNG.c > > dmake: Error: -- `png.h' not found, and can't be made > dmake.exe: Error code 255, while making 'subdirs' > SREZIC/Tk-804.029.tar.gz > C:\strawberry\5.12.1.0.32\c\bin\dmake.exe -- NOT OK > Failed during this command: > SREZIC/Tk-804.029.tar.gz : make NO > > The file is in the package though: > > matthew@mop ~ > $ cd /cygdrive/c/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64 > > matthew@mop /cygdrive/c/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-
GqmL64 Show quoted text
> $ find . -name png.h > ./PNG/libpng/png.h
Can you send me the contents of the generated PNG/Makefile? Show quoted text
> BTW I'm not building under cygwin, just using 'find' from that
package. Show quoted text
> > Since the patch was so small, I patched by hand. For future reference, > using only strawberry tools, where would I normally put the patch and > what command would I run to apply it?
Usually with the "patch" program, which should be available with cygwin: patch -p1 < /path/to/patchfile while being in the root directory of the source distribution. Regards, Slaven
Subject: Re: [rt.cpan.org #60707] Install Failures - Strawberry 5.12.1.0, 64 bit
Date: Sun, 26 Sep 2010 18:26:14 -0400
To: bug-Tk [...] rt.cpan.org
From: Matthew Persico <matthew.persico [...] verizon.net>
File attached. Thank you. On 9/26/2010 3:39 PM, Slaven_Rezic via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=60707> > > On 2010-08-26 22:18:14, matthew.persico@verizon.net wrote:
>> On 8/25/2010 10:33 PM, Slaven_Rezic via RT wrote:
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=60707> >>> >>> On 2010-08-24 23:23:51, PERSICOM wrote:
>>>> Fails to build with Strawberry. Release notes say to use this
> version for
>>>> 64 bit compiling. Build log attached. >>>> >>>> I have also included a failed build for 029.
>>> Hello Matthew, >>> >>> can you try the attached patch against 029? >>> >>> Regards, >>> Slaven >>>
>> Thank you. I got further this time. Now I get: >> >> cp PNG.pm ..\blib\lib\Tk\PNG.pm >> >> C:\strawberry\5.12.1.0.32\perl\bin\perl.exe >> C:\strawberry\5.12.1.0.32\perl\lib\ExtUtils\xsubpp -typemap >> >> C:\strawberry\5.12.1.0.32\perl\lib\ExtUtils\typemap -typemap >> C:/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64/Tk/typemap >> PNG.xs> PNG.xsc&& C:\strawberry\5.12.1.0.32\perl\bin\perl.exe >> -MExtUtils::Command -e "mv" -- PNG.xsc PNG.c >> >> gcc -c -I.. -I/usr/local/include -I.. -I../pTk/mTk/xlib -s -O2 >> -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT >> -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields >> -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"4.004\" >> -DXS_VERSION=\"804.029\" "-IC:\strawberry\5.12.1.0.32\perl\lib\CORE" >> -Wall -Wno-implicit-int -Wno-comment -Wno-unused >> -D__USE_FIXED_PROTOTYPES__ PNG.c >> >> dmake: Error: -- `png.h' not found, and can't be made >> dmake.exe: Error code 255, while making 'subdirs' >> SREZIC/Tk-804.029.tar.gz >> C:\strawberry\5.12.1.0.32\c\bin\dmake.exe -- NOT OK >> Failed during this command: >> SREZIC/Tk-804.029.tar.gz : make NO >> >> The file is in the package though: >> >> matthew@mop ~ >> $ cd /cygdrive/c/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-GqmL64 >> >> matthew@mop /cygdrive/c/strawberry/5.12.1.0.32/cpan/build/Tk-804.029-
> GqmL64
>> $ find . -name png.h >> ./PNG/libpng/png.h
> Can you send me the contents of the generated PNG/Makefile? >
>> BTW I'm not building under cygwin, just using 'find' from that
> package.
>> Since the patch was so small, I patched by hand. For future reference, >> using only strawberry tools, where would I normally put the patch and >> what command would I run to apply it?
> Usually with the "patch" program, which should be available with cygwin: > > patch -p1< /path/to/patchfile > > while being in the root directory of the source distribution. > > Regards, > Slaven > > >
-- Matthew

Message body is not shown because sender requested not to inline it.

Hi! I have some problems installing Tk, but after applying the patch mentioned in this ticket, I only get 2 tests that crahses dmake test: create.t and zzTixGrid.t. Test summary is attached, also the PNG/Makefile. Tk-804.029 didn't work here, too. -------------------------------------- More information: * OS: Windows 7 x64 * Perl: Strawberry perl 5, version 12, subversion 2 (v5.12.2) built for MSWin32-x64-multi-thread * Tk: 804.028503 * Compiler: C:\zwischen\Tk\Tk-804.028_503>gcc -v Using built-in specs. Target: x86_64-w64-mingw32 Configured with: ../gcc44-svn/configure --target=x86_64-w64-mingw32 -- host=x86_6 4-w64-mingw32 --disable-multilib --disable-nls --disable-win32-registry --prefix =/mingw64 --with-gmp=/mingw64 --with-mpfr=/mingw64 --enable- languages=c,c++ Thread model: win32 gcc version 4.4.3 (GCC) hth, Alex
Subject: tk.strawberry.dmake1.log
Download tk.strawberry.dmake1.log
application/octet-stream 886b

Message body not shown because it is not plain text.

Subject: Makefile
Download Makefile
application/octet-stream 27.8k

Message body not shown because it is not plain text.

Subject: Tk building fail on windows 7 64 bits
Hi, I tried to build Tk module version 804.029 but building failed while making pTk lib (see logs enclosed in "bug tk compil.txt"). Last error message: dmake: Error code 129, while making 'ClientWin.o' dmake.EXE: Error code 255, while making 'pTk\libpTk.a' SREZIC/Tk-804.029.tar.gz C:\Strawberry\c\bin\dmake.EXE -- NOT OK Failed during this command: SREZIC/Tk-804.029.tar.gz : make NO OS version: Windows 7 64Bits Perl Version: 5.12.2 (see file "perl version.txt" for details). J. Vivancos
Subject: bug tk compil.txt

Message body is not shown because it is too large.

Subject: Perl version.txt
C:\>perl -V Summary of my perl5 (revision 5 version 12 subversion 2) configuration: Platform: osname=MSWin32, osvers=6.1, archname=MSWin32-x64-multi-thread uname='Win32 strawberryperl 5.12.2.0 #1 Sat Nov 6 10:03:20 2010 x64' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DWIN64 -DCONSERVATIVE -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_C NTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.4.3', gccosandvers='' intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib"' libpth=C:\Strawberry\c\lib C:\Strawberry\c\x86_64-w64-mingw32\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi3 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnet pi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl512.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\Strawberry\perl\lib\CORE" -L"C:\Strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Built under MSWin32 Compiled at Nov 6 2010 10:11:48 @INC: C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib . C:\>
From: egman.ekki [...] gmail.com
On Sun Mar 27 13:17:22 2011, jvivancos wrote: Show quoted text
> Hi, > > I tried to build Tk module version 804.029 but building failed while > making pTk lib (see logs enclosed in "bug tk compil.txt"). > > Last error message: > > dmake: Error code 129, while making 'ClientWin.o' > dmake.EXE: Error code 255, while making 'pTk\libpTk.a' > SREZIC/Tk-804.029.tar.gz > C:\Strawberry\c\bin\dmake.EXE -- NOT OK > Failed during this command: > SREZIC/Tk-804.029.tar.gz : make NO > > OS version: Windows 7 64Bits > Perl Version: 5.12.2 (see file "perl version.txt" for details). > > > J. Vivancos
Hello, have you tried patch posted here? https://rt.cpan.org/Public/Bug/Display.html?id=60707
On 2010-08-24 23:23:51, PERSICOM wrote: Show quoted text
> Fails to build with Strawberry. Release notes say to use this version for > 64 bit compiling. Build log attached. > > I have also included a failed build for 029.
This should be fixed with Tk-804.029_500. Regards, Slaven