Radomir Hejl [mailto:[EMAIL PROTECTED] wrote:

> when I execute a packaged script with a Tk::Toolbar module I 
> get a warning: 
> can not find tkIcons.
> I also tried -a option to include the tkIcons file but with no avail. 
> tkIcons file does exist in a Toolbar directory.
> Running on windows xp.

I just tried to pack the sample script toolbar.pl in
the Tk::Toolbar distribution on Linux and got the same warning.
I then packed it with

  pp -o toolbar.exe -a "where/ever/your/tkIcons;lib/Tk/ToolBar/tkIcons" 
toolbar.pl

and now it works. I.e. make sure the tkIcons file gets included
into the PAR (=zip) archive as "lib/Tk/ToolBar/tkIcons". You can
double check with something like
  
  unzip -l toolbar.exe

Cheers, Roderich

Reply via email to