Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

PAR-Packer/PP -> tkx

by DreamT (Pilgrim)
on Oct 07, 2009 at 17:05 UTC ( #799762=perlquestion: print w/ replies, xml ) Need Help??
DreamT has asked for the wisdom of the Perl Monks concerning the following question:

Hi! I've managed to create a GUI application with tkx that I now want to create an exe from. So, I installed PAR-Packer-0.991, followed by running 'pp htaccess_grafisk.pl'. It ran without error messages, but when I tried to run my new a.exe, I cot the following error message:
Could not access registry "HKLM\Software\ActiveState\ActiveTcl" Could not access registry "HKCU\Software\ActiveState\ActiveTcl" Failed to load Tcl dll! at C:/Perl/lib/DynaLoader.pm line 225. Unable to initialize Tcl at C:/Perl/lib/DynaLoader.pm line 225. Compilation failed in require at Tkx.pm line 206. BEGIN failed--compilation aborted at Tkx.pm line 206. Compilation failed in require at script/htaccess_grafisk.pl line 8. BEGIN failed--compilation aborted at script/htaccess_grafisk.pl line 8 +.
I've been searching for a solution based on the error output above, but I haven't found a good solution. Any ideas?

Comment on PAR-Packer/PP -> tkx
Download Code
Re: PAR-Packer/PP -> tkx
by SilasTheMonk (Chaplain) on Oct 07, 2009 at 18:52 UTC
    I have two suggestions for other places you can look. Firstly try looking on the ActiveState website. This is clearly an active state version of perl and they are much more Windows oriented. Secondly I would try rereading all the documentation relating to PAR. I found quite a lot, tutorials, FAQs etc on CPAN. I scanned it quickly for information about registry but found nothing, but you might find links to other resources. There is also the possibility that someone who actually knows this module will read your post.
Re: PAR-Packer/PP -> tkx
by Anonymous Monk on Oct 08, 2009 at 00:56 UTC
    I've been searching for a solution based on the error output above, but I haven't found a good solution. Any ideas?

    Failed to load Tcl dll means you need to pack/add Tcl dll

      I used your answer to Google for a new answer and found this:
      http://stackoverflow.com/questions/1285087/trying-to-create-a-standalone-app-from-a-perl-script-that-uses-tkx-tcl-tk
      Worked like a charm:-) Thank you!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://799762]
Approved by SilasTheMonk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-11-28 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (191 votes), past polls