Skip Menu |

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

Report information
The Basics
Id: 60795
Status: resolved
Priority: 0/
Queue: Win32-File-VersionInfo

People
Owner: BRAD [...] cpan.org
Requestors: Daniel.Balas [...] knorr-bremse.com
Cc:
AdminCc:

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



Subject: VersionInfo package bug
Date: Fri, 27 Aug 2010 14:23:10 +0200
To: <bug-Win32-File-VersionInfo [...] rt.cpan.org>
From: "Balas, Daniel" <Daniel.Balas [...] knorr-bremse.com>
Hi, I'm upgrading from Perl 5.8 to Perl 5.12.1. During the process I had to upgrade my Win32-File-VersionInfo package too. During this process I have encountered problems: First I dowloaded Win32-File-VersionInfo-0.03.tar.gz from cpan.org. Then I have extracted it and ran Makefile.PL. Then I tried to build it with the following command: mingw32-make. I have mingw 5.1.6. Then I got an error message: syntax error at -e line 1, near "'755') " Missing right curly or square bracket at -e line 1, at end of line Execution of -e aborted due to compilation errors. mingw32-make: *** [pm_to_blib] Error 255 I have found errors in the Makefile, many curly left brackets were doubled and LD = link had to be coorected to LD = gcc. After correcting the Makefile by hand I could translate the code. (The corrected Makefile is attahed.) The next step was mingw32-make install. When I ran a small test try.pl (attached). I found an other error in Win32::File::VersionInfo : Can't load 'C:/Perl/site/lib/auto/Win32/File/VersionInfo/VersionInfo.dll' for module Win32::File::VersionInfo: load_file:Invalid access to memory location at C:/Perl/lib/XSLoader.pm line 70. at C:/Perl/site/lib/Win32/File/VersionInfo.pm line 15 Compilation failed in require at W:\balasd\pp\vi\VersionInfo\try.pl line 1. BEGIN failed--compilation aborted at W:\balasd\pp\vi\VersionInfo\try.pl line 1. The error was in line 255: VerLanguageName ( dw[foo], temp, 127 ); If I comment this line and insert: memset(temp,0,sizeof(temp)); than try.pl doesn't throw an error. I attached the modified VersionInfo.xs. Best regards, Dániel Balás This transmission is intended solely for the addressee and contains confidential information. If you are not the intended recipient, please immediately inform the sender and delete the message and any attachments from your system. Furthermore, please do not copy the message or disclose the contents to anyone unless agreed otherwise. To the extent permitted by law we shall in no way be liable for any damages, whatever their nature, arising out of transmission failures, viruses, external influence, delays and the like.
Download Makefile
application/octet-stream 28.9k

Message body not shown because it is not plain text.

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

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

Subject: Re: [rt.cpan.org #60795] VersionInfo package bug
Date: Fri, 27 Aug 2010 18:51:38 +0000 (UTC)
To: "Balas, Daniel via RT" <bug-Win32-File-VersionInfo [...] rt.cpan.org>
From: Alexey Toptygin <alexeyt [...] freeshell.org>
On Fri, 27 Aug 2010, Balas, Daniel via RT wrote: Show quoted text
> Fri Aug 27 08:23:24 2010: Request 60795 was acted upon. > Transaction: Ticket created by Daniel.Balas@knorr-bremse.com > Queue: Win32-File-VersionInfo > Subject: VersionInfo package bug > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: Daniel.Balas@knorr-bremse.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=60795 >
Thank you for your report; unfortunately I haven't had time to maintain this package for several years; I will try to get a new version out in the next few months, but I can't make any promises :-( Alexey
Closing as solved.