Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: framstag [...] rus.uni-stuttgart.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Installation fails on Strawberry Perl (Windows XP)
Date: Wed, 3 Sep 2008 19:58:26 +0200
To: bug-Tk [...] rt.cpan.org
From: Ulli Horlacher <framstag [...] rus.uni-stuttgart.de>
I have set up a new Strawberry Perl on Windows XP and tried to install Tk with: cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled Show quoted text
cpan> install Tk
Database was generated on Wed, 03 Sep 2008 14:24:34 GMT Running install for module 'Tk' Running make for S/SR/SREZIC/Tk-804.028.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\S\SR\SREZIC\Tk-804.028.tar.gz ok (...) CPAN.pm: Going to build S/SR/SREZIC/Tk-804.028.tar.gz C:\strawberry\perl\bin\perl.exe is installed in c:\strawberry\perl\lib okay PPM for perl5.008008 Test Compiling config/perlrx.c config/perlrx.c: In function `main': config/perlrx.c:8: error: structure has no member named `offs' Test Compiling config/pmop.c Test Compiling config/pregcomp2.c config/pregcomp2.c:7:32: macro "pregcomp" requires 3 arguments, but only 2 given config/pregcomp2.c: In function `main': config/pregcomp2.c:7: error: `pregcomp' undeclared (first use in this function) config/pregcomp2.c:7: error: (Each undeclared identifier is reported only once config/pregcomp2.c:7: error: for each function it appears in.) Test Compiling config/signedchar.c Test Compiling config/Ksprintf.c Writing Tk/Config.pm Writing pTk/tkConfig.h Skip InputO on MSWin32 Skip Mwm on MSWin32 Skip WinPhoto on MSWin32 WARNING: DISTVNAME is not a known parameter. Checking if your kit is complete... Looks good (...) Tk.c: In function `XS_Tk__Widget_WindowId': Tk.c:1838: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_X': Tk.c:1863: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_Y': Tk.c:1886: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_ReqWidth': Tk.c:1909: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_ReqHeight': Tk.c:1932: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_Width': Tk.c:1955: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_Height': Tk.c:1978: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_IsMapped': Tk.c:2001: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_Depth': Tk.c:2024: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_InternalBorderWidth': Tk.c:2047: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_IsTopLevel': Tk.c:2070: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_Name': Tk.c:2093: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_PathName': Tk.c:2116: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_Class': Tk.c:2139: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_XRaiseWindow': Tk.c:2223: warning: implicit declaration of function `XRaiseWindow' Tk.c:2223: error: syntax error before ')' token Tk.c:2223: error: syntax error before ')' token Tk.xs: In function `XS_Tk__Widget_MoveToplevelWindow': Tk.xs:852: error: `winPtr' undeclared (first use in this function) Tk.xs:852: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_GetAtomName': Tk.c:2493: error: syntax error before "atom" Tk.c:2497: error: `atom' undeclared (first use in this function) Tk.c: In function `XS_Tk__Widget_ClearSelection': Tk.c:2517: error: syntax error before "selection" Tk.c:2519: error: `selection' undeclared (first use in this function) Tk.c: In function `XS_Tk__Widget_Parent': Tk.c:2796: error: syntax error before ')' token Tk.c: In function `boot_Tk': Tk.c:3131: warning: unknown conversion type character `_' in format Tk.c:3131: warning: too many arguments for format Tk.xs:1124: warning: implicit declaration of function `TkWin32DllPresent' dmake.EXE: Error code 129, while making 'Tk.o' SREZIC/Tk-804.028.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SREZIC/Tk-804.028.tar.gz : make NO Show quoted text
cpan>
-- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
Subject: Re: [rt.cpan.org #38958] AutoReply: Installation fails on Strawberry Perl (Windows XP)
Date: Mon, 22 Sep 2008 14:46:22 +0200
To: Bugs in Tk via RT <bug-Tk [...] rt.cpan.org>
From: Ulli Horlacher <framstag [...] rus.uni-stuttgart.de>
Update: I tried it again, with a fresh installation of Windows XP and both http://strawberry-perl.googlecode.com/files/strawberry-perl-5.8.8.2.exe and http://strawberry-perl.googlecode.com/files/strawberry-perl-5.10.0.2.exe failed with: cpan shell -- CPAN exploration and modules installation (v1.9205) ReadLine support enabled Show quoted text
cpan> install Tk
Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Creating database file ... Gathering information from index files ... Populating database tables ... Done! Running install for module 'Tk' Running make for S/SR/SREZIC/Tk-804.028.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/S/SR/SREZIC/Tk-804.028.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/S/SR/SREZIC/CHECKSUMS Checksum for C:\strawberry\cpan\sources\authors\id\S\SR\SREZIC\Tk-804.028.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes DONE (...) Tk.c:2223: warning: implicit declaration of function `XRaiseWindow' Tk.c:2223: error: syntax error before ')' token Tk.c:2223: error: syntax error before ')' token Tk.xs: In function `XS_Tk__Widget_MoveToplevelWindow': Tk.xs:852: error: `winPtr' undeclared (first use in this function) Tk.xs:852: error: syntax error before ')' token Tk.c: In function `XS_Tk__Widget_GetAtomName': Tk.c:2493: error: syntax error before "atom" Tk.c:2497: error: `atom' undeclared (first use in this function) Tk.c: In function `XS_Tk__Widget_ClearSelection': Tk.c:2517: error: syntax error before "selection" Tk.c:2519: error: `selection' undeclared (first use in this function) Tk.c: In function `XS_Tk__Widget_Parent': Tk.c:2796: error: syntax error before ')' token Tk.xs: In function `boot_Tk': Tk.xs:1124: warning: implicit declaration of function `TkWin32DllPresent' dmake.EXE: Error code 129, while making 'Tk.o' SREZIC/Tk-804.028.tar.gz C:\strawberry\c\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: SREZIC/Tk-804.028.tar.gz : make NO Show quoted text
cpan>
http://strawberryperl.com/support.html says: Bug Reports If your bug is with a specific module not working with Strawberry (for example, you tried to install it with the CPAN client, but it failed) please report the bug to the specific Request Tracker queue. I can offer a 4 GB vmware image if you want to reproduce the error. -- Ullrich Horlacher Informationssysteme und Serverbetrieb Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
Subject: Re: [rt.cpan.org #38958] AutoReply: Installation fails on Strawberry Perl (Windows XP)
Date: 22 Sep 2008 22:21:59 +0200
To: bug-Tk [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Ulli Horlacher via RT" <bug-Tk@rt.cpan.org> writes: Show quoted text
> Queue: Tk > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38958 > > > > Update: > > I tried it again, with a fresh installation of Windows XP and both > http://strawberry-perl.googlecode.com/files/strawberry-perl-5.8.8.2.exe > and > http://strawberry-perl.googlecode.com/files/strawberry-perl-5.10.0.2.exe > > failed with: > > cpan shell -- CPAN exploration and modules installation (v1.9205) > ReadLine support enabled > >
> cpan> install Tk
> Fetching with LWP: > http://cpan.strawberryperl.com/authors/01mailrc.txt.gz > Fetching with LWP: > http://cpan.strawberryperl.com/modules/02packages.details.txt.gz > Fetching with LWP: > http://cpan.strawberryperl.com/modules/03modlist.data.gz > Creating database file ... > Gathering information from index files ... > Populating database tables ... > Done! > Running install for module 'Tk' > Running make for S/SR/SREZIC/Tk-804.028.tar.gz > Fetching with LWP: > http://cpan.strawberryperl.com/authors/id/S/SR/SREZIC/Tk-804.028.tar.gz > Fetching with LWP: > http://cpan.strawberryperl.com/authors/id/S/SR/SREZIC/CHECKSUMS > Checksum for C:\strawberry\cpan\sources\authors\id\S\SR\SREZIC\Tk-804.028.tar.gz > ok > Scanning cache C:\strawberry\cpan\build for sizes > DONE > (...) > Tk.c:2223: warning: implicit declaration of function `XRaiseWindow' > Tk.c:2223: error: syntax error before ')' token > Tk.c:2223: error: syntax error before ')' token > Tk.xs: In function `XS_Tk__Widget_MoveToplevelWindow': > Tk.xs:852: error: `winPtr' undeclared (first use in this function) > Tk.xs:852: error: syntax error before ')' token > Tk.c: In function `XS_Tk__Widget_GetAtomName': > Tk.c:2493: error: syntax error before "atom" > Tk.c:2497: error: `atom' undeclared (first use in this function) > Tk.c: In function `XS_Tk__Widget_ClearSelection': > Tk.c:2517: error: syntax error before "selection" > Tk.c:2519: error: `selection' undeclared (first use in this function) > Tk.c: In function `XS_Tk__Widget_Parent': > Tk.c:2796: error: syntax error before ')' token > Tk.xs: In function `boot_Tk': > Tk.xs:1124: warning: implicit declaration of function `TkWin32DllPresent' > dmake.EXE: Error code 129, while making 'Tk.o' > SREZIC/Tk-804.028.tar.gz > C:\strawberry\c\bin\dmake.EXE -- NOT OK > Running make test > Can't test without successful make > Running make install > Make had returned bad status, install seems impossible > Failed during this command: > SREZIC/Tk-804.028.tar.gz : make NO > >
> cpan>
> > > http://strawberryperl.com/support.html says: > > Bug Reports > > If your bug is with a specific module not working with Strawberry > (for example, you tried to install it with the CPAN client, but it > failed) please report the bug to the specific Request Tracker > queue. > > > I can offer a 4 GB vmware image if you want to reproduce the error. >
I would like to, but I don't have vmware. Can you send me the *full* log of the build process (output of both perl Makefile.PL and make)? Best is to turn verbose mode on, that is, perl Makefile.PL VERBOSE=1 Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de tksm - Perl/Tk program for searching and replacing in multiple files http://ptktools.sourceforge.net/#tksm
Subject: Re: [rt.cpan.org #38958] AutoReply: Installation fails on Strawberry Perl (Windows XP)
Date: Tue, 23 Sep 2008 17:53:09 +0200
To: "slaven [...] rezic.de via RT" <bug-Tk [...] rt.cpan.org>
From: Ulli Horlacher <framstag [...] rus.uni-stuttgart.de>
On Mon 2008-09-22 (16:23), slaven@rezic.de via RT wrote: Show quoted text
> > I can offer a 4 GB vmware image if you want to reproduce the error. > >
> > I would like to, but I don't have vmware.
No problem. The vmware-player is free. You can download it (after registration) at vmware.com or I can send it to you. I have the versions: -RW- 182,479,472 08-04-10 13:11 VMware-player-2.0.3-80004.exe -RW- 68,995,595 08-04-10 13:12 VMware-player-2.0.3-80004.i386.rpm -RW- 68,494,110 08-04-10 13:11 VMware-player-2.0.3-80004.i386.tar.gz -RW- 33,293,357 08-04-10 13:13 VMware-player-2.0.3-80004.x86_64.tar.gz Show quoted text
> Can you send me the *full* log of the build process (output of both > perl Makefile.PL and make)? Best is to turn verbose mode on, that is, > > perl Makefile.PL VERBOSE=1
Uhh...ehh... how do I make this under Windows? I have attached the screen capture from the cpan Installation. Is this sufficent? -- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/

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

One problem reported in a Strawberry duplicate of this bug is that the TK Makefile.PL requires you to say perl Makefile.PL MSWin32 Of course, there's no way whatsoever that a CPAN client can just automagically KNOW to say that. This might be able to be resolved relatively easily, if the Makefile.PL is just tweaked to autodetect a Windows build, rather than having to be told.
On Mon Sep 29 05:04:38 2008, ADAMK wrote: Show quoted text
> One problem reported in a Strawberry duplicate of this bug is that the > TK Makefile.PL requires you to say > > perl Makefile.PL MSWin32 > > Of course, there's no way whatsoever that a CPAN client can just > automagically KNOW to say that. > > This might be able to be resolved relatively easily, if the Makefile.PL > is just tweaked to autodetect a Windows build, rather than having to be > told.
Strange, why is this so? In previous Strawberry Perl versions this was not necessary. Regards, Slaven
On Mo. 29. Sep. 2008, 05:04:38, ADAMK wrote: Show quoted text
> One problem reported in a Strawberry duplicate of this bug is that the > TK Makefile.PL requires you to say > > perl Makefile.PL MSWin32 > > Of course, there's no way whatsoever that a CPAN client can just > automagically KNOW to say that. > > This might be able to be resolved relatively easily, if the Makefile.PL > is just tweaked to autodetect a Windows build, rather than having to be > told.
I just built Tk-804.028 on an unmodified strawberry 5.10.0.2 - unpacked the stawberry zipfile - manually added C:\strawberry\perl\bin C:\strawberry\c\bin to PATH. Then built with perl Makefile.PL dmake dmake test And got a PASS Christoph
On Tue Sep 23 11:55:06 2008, framstag@rus.uni-stuttgart.de wrote: Show quoted text
> On Mon 2008-09-22 (16:23), slaven@rezic.de via RT wrote: >
> > > I can offer a 4 GB vmware image if you want to reproduce the error. > > >
> > > > I would like to, but I don't have vmware.
> > No problem. The vmware-player is free. You can download it (after > registration) at vmware.com or I can send it to you. >
It seems that my OS (FreeBSD) is to odd to be supported by vmware... But I think I found the problem. Can you try to build Tk *outside* of CPAN.pm? You can download and extract using the CPAN.pm shell, and then drop into commandline just with: look Tk then try to build and test it perl Makefile.PL dmake all dmake test One or two test failures may occur, but the build should be successful. Regards, Slaven
Subject: Re: [rt.cpan.org #38958] Installation fails on Strawberry Perl (Windows XP)
Date: Tue, 4 Nov 2008 17:18:03 +0100
To: Adam Kennedy via RT <bug-Tk [...] rt.cpan.org>
From: Ulli Horlacher <framstag [...] rus.uni-stuttgart.de>
With the new Strawberry Perl release my problems have gone! Today I have installed Strawberry Perl 5.8.8.3 and a Show quoted text
cpan> install Tk
run successfully on my Windows XP! I have now Perl+Tk+PAR and can build GUI-executables for windows! See http://fex.rus.uni-stuttgart.de/download/schwuppdiwupp.exe -- Ullrich Horlacher Server- und Arbeitsplatzsysteme Rechenzentrum E-Mail: horlacher@rus.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-685-65868 Allmandring 30 Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
On Tue Nov 04 11:18:20 2008, framstag@rus.uni-stuttgart.de wrote: Show quoted text
> > With the new Strawberry Perl release my problems have gone! > > Today I have installed Strawberry Perl 5.8.8.3 and a
> cpan> install Tk
> run successfully on my Windows XP! > > I have now Perl+Tk+PAR and can build GUI-executables for windows! > See > http://fex.rus.uni-stuttgart.de/download/schwuppdiwupp.exe > > >
Fine. So it was very probably caused by the default setting in Strawberry's CPAN.pm.