Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PerlApp, Perl/Tk issues, widget.dll

Status
Not open for further replies.

parkers

Vendor
Oct 21, 2002
157
GB
Hi,

I wonder if anyone can help me on this one ...

I'm looking to generate an executable perl file using PerlApp from Active State...

on running...

perlapp myscript.pl

(from my c:\perl\eg folder)

it generates a myscript.exe file ... when I run this exe from c:\perl\eg the Tk application works as expected ... however if I then move the exe to another location e.g. c:\ the exe does not run ... DOS window appears however this quickly disappears before the Tk app should display ...

To debug:

perlapp --verbose myscript.pl

to check which modules were being installed ... everything looked OK until the following statement ...

Tk\Widget.pm
warn: auto\Tk\Widget\Widget.dll not found
refby: c:\perl\site\lib\Tk.pm
file: c:\perl\site\lib\Tk\Widget.pm

Further to this ... I tried a simple print hello world app and this was able to run anywhere.

Will it be a case of finding / downloading widget.dll ... if so does anyone know a site where I can get this?

Appreciate any info...
SP

 
... ignore this thread ... I found the problem to be that I did not bind the correct associated files to the application...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top