Re: format error when trying to use --icon or changing the icon

2008-05-21 Thread Brian Mathis
Reply to myself for public archival purposes: It turns out that the resources need to be EXACTLY the same as the ones that are removed. Currently, the icon group consists of a 16x16 icon and a 32x32 icon, and both need to be 8-bit (256 colors). You cannot use icons at larger sizes or at differen

a patch for cygwin cpan test

2008-05-21 Thread Robert Davis
The test of PAR::Packer fails and I think I found the fix. Basically the exe's produced from pp still depend on the cygwin dll's and setting the path to one directory prevents them from being found. --- 30-current_exec.t.org 2008-05-21 17:20:58.326089100 -0400 +++ 30-current_exec.t

Re: BUG? PAR::par_handle($0) on cygwin

2008-05-21 Thread Steffen Mueller
Steffen Mueller wrote: > Since very recently*, there's also the function "get_filehandle" which > gives you the filehandle to the ZIP member. [...] > (I think. Archive::Zip might be doing weird stuff.) Well, yes, it is. I'll change get_filehandle to find_zip_member and let the user deal with it.

format error when trying to use --icon or changing the icon

2008-05-21 Thread Brian Mathis
Versions: - Windows Vista SP1 64-bit - Activestate Perl 32-bit 5.10.1003 - PAR 0.977 - PAR-Dist 0.29 - PAR-Packer 0.977 I'm trying to change the icon in the generated executable. I've tried 2 methods, each results in the same issue. Method 1: Using the "--icon" switch on the 'pp' command line. M

Re: BUG? PAR::par_handle($0) on cygwin

2008-05-21 Thread Steffen Mueller
Robert Davis wrote: > I was just trying to report what I considered a bug/pitfall. So now that > I read the code I see how I could use the zlib functions directly. Since very recently*, there's also the function "get_filehandle" which gives you the filehandle to the ZIP member. If you use this, yo

"-d" option on cygwin PAR

2008-05-21 Thread Robert Davis
I have had to predistribute cygperl5_8.dll to the target machines under cygwin. I looked in the cache directory and found libperl.dll.a when I omitted the "-d" option. Shouldn't the absence of the "-d" option include cygperl5_8.dll on cygwin PAR distributions? PAR 0.978 bob

RE: Undefined subroutine &DynaLoader::bootstrap ERROR

2008-05-21 Thread Robert Davis
> -Original Message- > From: Robert Davis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 20, 2008 6:43 PM > To: par@perl.org > Subject: Undefined subroutine &DynaLoader::bootstrap ERROR > > I get this error: > Undefined subroutine &DynaLoader::bootstrap called at > /usr/lib/perl5/5.8/cyg

RE: BUG? PAR::par_handle($0) on cygwin

2008-05-21 Thread Robert Davis
> -Original Message- > From: Steffen Mueller [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 21, 2008 8:34 AM > To: Bob Davis > Cc: par@perl.org > Subject: Re: BUG? PAR::par_handle($0) on cygwin > > Bob Davis wrote: > > Put an executable (or any file?) in a sub directory called parinc.

Re: Archive::Unzip::Burst on Win32

2008-05-21 Thread Steffen Mueller
Hi Mark, hi list, Mark Dootson wrote: > I got around to testing PAR::Packer build on Linux too, where it fails > the same test. > Just a heads up. I know. I tried to debug it quickly, but I always get frustrated by the big ball of code that is the 20-pp test script. No offense, Malcolm, I'm glad

Re: BUG? PAR::par_handle($0) on cygwin

2008-05-21 Thread Steffen Mueller
Bob Davis wrote: > Put an executable (or any file?) in a sub directory called parinc. > I tried different file names other than $0 and if didn't seem to make a > difference. > > ./hello.exe fails > hello.exe works if on path > /c/scripts/hello.exe works > c: