Thank you, I still have a few hours till I can get access to my testing station, I will give all of this a try.
Travis On Tue, Mar 8, 2011 at 2:48 PM, Maurice Mengel <mauricemen...@gmail.com>wrote: > Hi, > > I was just given miraculous help from Roderich. I can try to help you > a bit further in return. While windows isn't so nice on the command > line, Strawberry is really nice! Don't panic. > > BTW. I am using perl with cygwin on windows. Has it's drawbacks as > well, but it is closer to unix than strawberry. > > Type cpan on the command line and get in the interactive mode of cpan. > > > look PAR > > should get you to shell with the unpacked PAR module. Maybe it is > PAR::Packer instead, I don't remember which module you're dealing has > Heavy.pm. > > >perl Makefile.PL > >make > > After make you should have that module build in a subdirectory. I > believe it is blib. Then look for Heavy.pm in that module. > > If you have no patch command on your windows, maybe you just apply > that patch manually in the editor of you choice. It is simple enough. > > Minus lines are deleted and plus lines are added. If this sounds > strange google how patch and diff work. > > You could also cheat and change the version that is installed on your > system. Better make a backup. This is dirty, of course. Make you that > you don't forget to install an unpatched version in the end. > > Find it with > perldoc -l PAR > or > perldoc -l PAR::Packer > > Maybe that helps you until Roderich gets back to you. > > best > mokko > > > > > On Tue, Mar 8, 2011 at 1:40 PM, Travis Williams <trav...@gmail.com> wrote: > > So.. > > > > I truthfully have no idea how to install this by hand. If I had a > > linux/unix box, no problem (for the longest time installing by hand was > the > > only way allowed at my work), but I've always relied on Activestate (and > now > > Strawberry) to handle these things for me on the windows side. > > > > I can't just make the change in the Heavy.pm? > > > > Sorry for the trouble :) > > > > Travis > > > > On Tue, Mar 8, 2011 at 8:14 AM, Roderich Schupp < > > roderich.sch...@googlemail.com> wrote: > > > >> On Tue, Mar 8, 2011 at 1:58 PM, Travis Williams <trav...@gmail.com> > wrote: > >> > All the DLL's when unziped are the correct size. > >> > >> Strange. Can you try the following (it's crucial to do it in the order > >> listed): > >> > >> 1. apply the patch below to an unpacked source of PAR > >> (adds some diagnostic when extracting DLLs) > >> 2. rebuild and install PAR > >> 3. do a fresh build and install of PAR::Packer > >> 4. re-pack your script > >> 5. completely remove the cache area (C:\temp\par-USER or some such) > >> 6. run the packed executable from step 4; > >> this should produce lines like (on stderr) > >> > >> extracted lib/auto/Digest/MD5/MD5.so to > >> > >> > /tmp/par-ccm_root/cache-ce8e8907c5a3c22d60ba163427934b0262c3cf18/c7868040.so > >> => 0 > >> > >> 7. post the complete output from step 6 > >> > >> Cheers, Roderich > >> > >> === patch follows === > >> --- lib/PAR/Heavy.pm.orig 2011-03-08 14:24:55.000000000 +0100 > >> +++ lib/PAR/Heavy.pm 2011-03-08 14:44:30.000000000 +0100 > >> @@ -164,7 +164,9 @@ > >> > >> if ($fh) { > >> binmode($fh); > >> - $member->extractToFileHandle($fh); > >> + my $rc = $member->extractToFileHandle($fh); > >> + printf STDERR "extracted %s to %s => %d\n", > >> + $member->fileName, $filename, $rc; > >> close $fh; > >> chmod 0755, $filename; > >> } > >> > > >