Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 6778
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: Nobody in particular
Requestors: u11ir6e02 [...] sneakemail.com
Cc:
AdminCc:

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



Subject: Tk::BrowseEntry doesn't load arrowdownwin.xbm like cbxarrow.xbm
Using ActivePerl 5.8.4 on XP, the sample script fails to run using: "pp -o script.exe script.pl" It can be fixed by: "pp -a c:/perl/site/lib/Tk/arrowdownwin.xbm;lib/Tk/arrowdownwin.xbm -o script.exe script.pl" It adds 1MB to the executable (which is alread +2MB) but will eliminate this problem until it is resolved: "pp -a c:/perl/site/lib/Tk;lib/Tk -o script.exe script.pl" #----- Start script.pl ----- #!/usr/bin/perl use Encode::Unicode; use Tk; use Tk::BrowseEntry; my $valpbe; my $mw = MainWindow->new; my $be= $mw->BrowseEntry(-variable => \$valbe); $be->pack(-side => 'left', -anchor => 'w', -fill => 'x', -expand => 1); MainLoop; #----- End Script -------
From: Alan Stewart
[guest - Mon Jun 28 19:26:08 2004]: Show quoted text
> Using ActivePerl 5.8.4 on XP, the sample script fails to run using: > "pp -o script.exe script.pl" > > It can be fixed by: > > "pp -a c:/perl/site/lib/Tk/arrowdownwin.xbm;lib/Tk/arrowdownwin.xbm -o > script.exe script.pl" > > It adds 1MB to the executable (which is alread +2MB) but will > eliminate this problem until it is resolved: > > "pp -a c:/perl/site/lib/Tk;lib/Tk -o script.exe script.pl" >
I sent Autrijus a patch to add arrowdownwin.xbm to ScanDeps.pm, but I don't see the 1MB size increase from using the -a option you show - just the expected increase from adding one small file, with -a or with the patch. Can you confirm that? Alan
From: Alan Stewart
[guest - Mon Jun 28 22:37:41 2004]: Show quoted text
> [guest - Mon Jun 28 19:26:08 2004]: >
> > Using ActivePerl 5.8.4 on XP, the sample script fails to run using: > > "pp -o script.exe script.pl" > > > > It can be fixed by: > > > > "pp -a c:/perl/site/lib/Tk/arrowdownwin.xbm;lib/Tk/arrowdownwin.xbm
> -o
> > script.exe script.pl" > > > > It adds 1MB to the executable (which is alread +2MB) but will > > eliminate this problem until it is resolved: > > > > "pp -a c:/perl/site/lib/Tk;lib/Tk -o script.exe script.pl" > >
> > I sent Autrijus a patch to add arrowdownwin.xbm to ScanDeps.pm, but I > don't see the 1MB size increase from using the -a option you show - > just > the expected increase from adding one small file, with -a or with the > patch. Can you confirm that? > > Alan
I didn't read carefully the first time. Did you mean the first -a example where you add just the xbm makes it 1MB bigger or the second -a example where you add the entire Tk dir makes it bigger? Of course the second would, but why would you want to do that? Alan
From: u11ir6e02 [...] sneakemail.com
The first command adds only arrowdownwin.xbm. The second command adds the entire Tk directory. The second method should prevent any of Tk's other "special" files from being missed. The point about the 1MB size was more that while a lot is beeing added, considerably more is already there ~2.5 MB. [guest - Mon Jun 28 23:55:07 2004]: Show quoted text
> [guest - Mon Jun 28 22:37:41 2004]: >
> > [guest - Mon Jun 28 19:26:08 2004]: > >
> > > Using ActivePerl 5.8.4 on XP, the sample script fails to run
> using:
> > > "pp -o script.exe script.pl" > > > > > > It can be fixed by: > > > > > > "pp -a
> c:/perl/site/lib/Tk/arrowdownwin.xbm;lib/Tk/arrowdownwin.xbm
> > -o
> > > script.exe script.pl" > > > > > > It adds 1MB to the executable (which is alread +2MB) but will > > > eliminate this problem until it is resolved: > > > > > > "pp -a c:/perl/site/lib/Tk;lib/Tk -o script.exe script.pl" > > >
> > > > I sent Autrijus a patch to add arrowdownwin.xbm to ScanDeps.pm, but
> I
> > don't see the 1MB size increase from using the -a option you show
> -
> > just > > the expected increase from adding one small file, with -a or with
> the
> > patch. Can you confirm that? > > > > Alan
> > I didn't read carefully the first time. Did you mean the first -a > example where you add just the xbm makes it 1MB bigger or the > second -a example where you add the entire Tk dir makes it bigger? > Of course the second would, but why would you want to do that? > > Alan >
Should have been closed a long time ago. Support is in Module::ScanDeps.