Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Win32-GUI CPAN distribution.

Report information
The Basics
Id: 87368
Status: resolved
Priority: 0/
Queue: Win32-GUI

People
Owner: Nobody in particular
Requestors: mzangen [...] ironhost.com
Cc:
AdminCc:

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



Subject: Syntax errors while installing Win32::GUI v1.06 unofficial x64 patch3
Date: Sat, 27 Jul 2013 02:36:04 -0400
To: <bug-Win32-GUI [...] rt.cpan.org>
From: "Matt Zangen" <mzangen [...] ironhost.com>
I’m using the following patch recommended by you: http://strawberryperl.com/package/kmx/perl-modules-patched/Win32-GUI-1.06_patched3.tar.gz I’m on Windows 8 x64 using Strawberry Perl 5.18.0.1-64bit When installing with pip, as you recommended, I received a number of subsequent test failures due to syntax errors in the code. I’ve listed them here, along with the changes I made to correct them. I’m sorry that I don’t have the exact syntax error output available, but my descriptions are accurate to my memory. Win32-GUI-Constants/t/10_inherit.t, Line 26: Win32::ABC->import qw(CW_USEDEFAULT); Gave a syntax error on “->import”. Changed to: Win32::ABC->import(qw(CW_USEDEFAULT)); Next error... Same file, line 32: is(CW_USEDEFAULT(), 2147483648, "correct value"); Resulted in something along the lines of “undefined subroutine &main::CW_USEDEFAULT” runtime error. Changed to: is(&CW_USEDEFAULT, 2147483648, "correct value"); Next error... Win32-GUI-Scintilla/Scintilla.PL (makes into Scintilla.PM) fails on use by /t/01_load.t Cited a runaway multiline from 130-135 of Scintillia.PL (actual error ended on line 108 in eventual .PM build): for my $option qw( -name -parent -left -top -width -height -pos -size -pushstyle -addstyle -popstyle -remstyle -notstyle -negstyle -exstyle -pushexstyle -addexstyle -popexstyle -remexstyle -notexstyle ) { Changed to: for my $option ("-name", "-parent", "-left", "-top", "-width", "-height", "-pos", "-size", "-pushstyle", "-addstyle", "-popstyle", "-remstyle", "-notstyle", "-negstyle", "-exstyle", "-pushexstyle", "-addexstyle", "-popexstyle", "-remexstyle", "-notexstyle" ) { After these changes, the module successfully installed. I do not know if there was some sort of intended syntax choice at work here, but this worked for me. I’m submitting this bug report before extensively using the module after this installation.
fixed in 1.08