Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 69357
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: RSCHUPP [...] cpan.org
Requestors: David [...] mdebro.es
Cc:
AdminCc:

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



Subject: bug-PAR-Packer
Date: Fri, 08 Jul 2011 13:30:08 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: David <David [...] mdebro.es>

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

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

On 2011-07-08 07:30:46, David@mdebro.es wrote: Show quoted text
> g++ main.o my_par_pl.o win32.coff ... > win32.coff: file not recognized: File format not recognized
Known problem on 64-bit Windows - win32.coff is a 32-bit object. I don't have access to a 64-bit Windows box, but I have received reports that a 64-bit version of this file may not be necessary at all. Please try the following: - unpack a PAR::Packer tarball - change line 107 of myldr/Makefile.PL from $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : ''; to $res = ''; - build and test as usual perl Makefile.PL dmake dmake test If the test succeeds (or there are only a few failures) install and try to pack a minimal script dmake install pp -o hello.exe -e "print qq[hello world\n]" I'm interested in the output of objdump -h hello.exe in particular if it lists a resource section (".rsrc") (objdump.exe is in E:\prog\strawberry\c\bin). Also attach the output of "dmake test" if there were any failures. Cheers, Roderich
Subject: Re: [rt.cpan.org #69357] bug-PAR-Packer
Date: Wed, 13 Jul 2011 12:14:25 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: David <David [...] mdebro.es>
El 12/07/2011 15:43, Roderich Schupp via RT escribió: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=69357> > > On 2011-07-08 07:30:46, David@mdebro.es wrote:
>> g++ main.o my_par_pl.o win32.coff ... >> win32.coff: file not recognized: File format not recognized
> Known problem on 64-bit Windows - win32.coff is a 32-bit object. > I don't have access to a 64-bit Windows box, but I have received > reports that a 64-bit version of this file may not be necessary at all. > Please try the following: > > - unpack a PAR::Packer tarball > - change line 107 of myldr/Makefile.PL from > > $res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : ''; > > to > > $res = ''; > > - build and test as usual > > perl Makefile.PL > dmake > dmake test > > If the test succeeds (or there are only a few failures) > install and try to pack a minimal script > > dmake install > pp -o hello.exe -e "print qq[hello world\n]" > > I'm interested in the output of > > objdump -h hello.exe > > in particular if it lists a resource section (".rsrc") > (objdump.exe is in E:\prog\strawberry\c\bin). > Also attach the output of "dmake test" if there were any failures. > > Cheers, Roderich > >
Thank you.

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

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

On 2011-07-13 06:15:08, David@mdebro.es wrote: Show quoted text
> hello.exe: file format pei-x86-64
... but no .rsrc section. I guess that when you pop up the property sheet of hello.exe in Windows Explorer it doesn't show a cute Perl camel icon either. But otherwise the patch looks good, I'll commit it and roll out a release ASAP as the Windows 64 bit build problem is currently the most often reported issue. Thanks for the confirmation. Cheers, Roderich
Fixed in PAR::Packer 1.010