Re: "bad signature" errors (was: Archive::Zip 1.09 breaks PAR)

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 09:02:11PM +0800, Autrijus Tang wrote: > Thanks for finding the cause for this problem. Archive::Zip 1.09 says > this in its changelog: > > - Always check for local header signatures before using them > > But for "padded" executables, of course it will have bad signatur

Re: Happiness with PAR...

2003-12-10 Thread David Kaufman
Autrijus Tang <[EMAIL PROTECTED]> wrote: > > Morbus Iff <[EMAIL PROTECTED]> wrote: >> * In Perl2EXE, the ./lib directory was always at the >> end of @INC. This was nice [...] >> How does PAR handle @INC and push'd directories? > > Normally. By that I mean if you put: > > use lib './l

Re: Happiness with PAR...

2003-12-10 Thread Morbus Iff
>> AmphetaDesk, a crossplatform RSS reader that has >> been downloaded 100,000+ times. > >Heya! I'm one of the 100,000+ users, and I'm very >happy that you find PAR helpful. :-) Now, that I didn't know, and that rules ... >Hey, that's a great idea, to simply rename the par.exe >to whatever name b

Re: Happiness with PAR...

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 04:26:38PM -0500, Morbus Iff wrote: > Heh, heh. --gui. Duh. One more question: > > * In Perl2EXE, the ./lib directory was always at the > end of @INC. This was nice because I could then: > >* bundle a module in the .exe. >* ignore that module by placi

Re: Happiness with PAR...

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 04:17:07PM -0500, Morbus Iff wrote: > Hey all. Just wanted to report a success story with PAR. > I've long (since 2001) been using Perl2EXE to build > AmphetaDesk, a crossplatform RSS reader that has > been downloaded 100,000+ times. Heya! I'm one of the 100,000+ users, an

RE: Happiness with PAR...

2003-12-10 Thread Jeremy White
From: Morbus Iff <[EMAIL PROTECTED]> * I've yet to read or research into how to get rid of that opening DOS window. In Perl2EXE, I'd pass the -gui flag. I've just noticed your other email...:) * Even though I can name the .exe with pp, the exe is always called "par.exe" internally. Thi

Re: Happiness with PAR...

2003-12-10 Thread Morbus Iff
> * I've yet to read or research into how to get >rid of that opening DOS window. In Perl2EXE, >I'd pass the -gui flag. Heh, heh. --gui. Duh. One more question: * In Perl2EXE, the ./lib directory was always at the end of @INC. This was nice because I could then: * bundle a mo

Happiness with PAR...

2003-12-10 Thread Morbus Iff
Hey all. Just wanted to report a success story with PAR. I've long (since 2001) been using Perl2EXE to build AmphetaDesk, a crossplatform RSS reader that has been downloaded 100,000+ times. When I first heard of PAR, I regarded it as the "right thing to do", both from the "who the hell are the perl

Re: $0

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 04:15:43PM -, Ian Cass wrote: > Well, it'll be tricky to do this in a portable manner unless you want to > depend on Proc::ProcessTable or something? Sure, but as this problem is not a portability one, any one platform will do nicely. Thanks! > Is that what you wanted

Re: $0

2003-12-10 Thread Ian Cass
Autrijus Tang wrote: > On Wed, Dec 10, 2003 at 02:51:15PM -, Ian Cass wrote: > Is it possible for you to reduce this to a perl program that > prints "not ok 1\n" when it works, and "ok 1\n" when it does > not (shelling out to `ps` is fine)? That will enable us to > run automatic blame-analyzer

Re: $0

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 11:05:14PM +0800, Autrijus Tang wrote: > Is it possible for you to reduce this to a perl program that > prints "not ok 1\n" when it works, and "ok 1\n" when it does > not (shelling out to `ps` is fine)? How bizzare of me. Of course I meant to print "ok 1\n" when it works,

Re: $0

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 02:51:15PM -, Ian Cass wrote: > Here's some more debug Hi there. No this is not intentional. Yes this is a bug that exists in PAR vs. perl 5.8.1 and 5.8.2. It is related to the weird fakeargv handling going on in the post-5.8.1 perl core. Is it possible for you

Re: $0

2003-12-10 Thread Ian Cass
Ian Cass wrote: > Hi, > > I notice my Par executables have $0 limited to 4 chars. Is this > intentional? Have I got something broken locally? It's not limited to 4 chars, but is missing off the last char of the filename but only when you have arguements. Here's some more debug [EMAIL PROTECT

$0

2003-12-10 Thread Ian Cass
Hi, I notice my Par executables have $0 limited to 4 chars. Is this intentional? Have I got something broken locally? Perl Packager, version 0.05 (PAR version 0.76) perl5 (revision 5.0 version 8 subversion 2) -- Ian Cass

"bad signature" errors (was: Archive::Zip 1.09 breaks PAR)

2003-12-10 Thread Autrijus Tang
On Wed, Dec 10, 2003 at 01:01:13PM +0100, Roderich Schupp wrote: > the recently (27 Nov 2003) released Archive::Zip 1.09 doesn't get > quite get along with PAR 0.76. > > On WindowsXP, Perl 5.8.1, I get: > > C:\temp\cpan\build\PAR-0.76>pp -o hello.exe -e "print q[hello]" > C:\temp\cpan\build\PAR-0

Re: Archive::Zip 1.09 breaks PAR

2003-12-10 Thread Roderich Schupp
On Wed, 2003-12-10 at 13:01, [EMAIL PROTECTED] wrote: > the recently (27 Nov 2003) released Archive::Zip 1.09 doesn't get > quite get along with PAR 0.76. Forgot to mention: you have to rebuild PAR _after_ installing Archive::Zip 1.09 to reproduce the problem. Cheers, Roderich

Archive::Zip 1.09 breaks PAR

2003-12-10 Thread Roderich Schupp
Hi, the recently (27 Nov 2003) released Archive::Zip 1.09 doesn't get quite get along with PAR 0.76. On WindowsXP, Perl 5.8.1, I get: C:\temp\cpan\build\PAR-0.76>pp -o hello.exe -e "print q[hello]" C:\temp\cpan\build\PAR-0.76>hello.exe format error: bad signature: 0x00905a4d at offset 0 in file