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>
Download perl_version.txt
text/plain 2.4k

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

Download PAR-Packer.txt
text/plain 3.2k

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

Download (untitled) / with headers
text/plain 1022b
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>
Download (untitled) / with headers
text/plain 1.1k
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.

Download dmake_test.txt
text/plain 653b

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

Download (untitled) / with headers
text/plain 448b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.