Hi,
PAR::Packer won't work as it currently doesn't know about the changes in
Win32::Exe.
It looks like there may be some issue with your install. The line
numbers of the errors show you have Win32::Exe 0.14 installed, but I
can't see how you could get the errors using the exe_update.pl that is
installed with version 0.14.
It should have the following code at line 109
if(!$exec->has_resource_section) {
die("Cannot create new resource section on this platform. Requires
Win32") if $^O !~ /^mswin/i;
$exec->create_resource_section or die("Failed to create new resource
section");
$exec = Win32::Exe->new($exe) or die "Unable to open file $exe";
}
On Tue May 04 11:40:37 2010, DJIBEL wrote:
Show quoted text> Dear,
>
> Sorry, but it is not working. I have theses messages now :
>
> 1) exe_update.pl -i test.ico test.exe
>
> No resource section found in file test.exe at
> C:/Perl/site/lib/Win32/Exe.pm line 348.
> No resource section found in file test.exe at
> C:/Perl/site/lib/Win32/Exe.pm line 348.
> Can't call method "remove" on an undefined value at
> C:/Perl/site/lib/Win32/Exe.pm line 473.
>
> Or this message using PAR::Packer
> 2) pp -o test.exe test.pl -i test.ico
> Set up gcc environment - 4.4.3
> Set up gcc environment - 4.4.3
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There
is NO
Show quoted text> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Show quoted text>
>
> No resource section found in file parllOZP.exe at
> C:/Perl/site/lib/Win32/Exe.pm line 348.
> Can't call method "remove" on an undefined value at
> C:/Perl/site/lib/Win32/Exe.pm line 473.
>
> Best regard,
>
> Djibril