Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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'. 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/ line 225. Unable to initialize Tcl at C:/Perl/lib/ line 225. Compilation failed in require at line 206. BEGIN failed--compilation aborted at line 206. Compilation failed in require at script/ line 8. BEGIN failed--compilation aborted at script/ 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?

Replies are listed 'Best First'.
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:
      Worked like a charm:-) Thank you!
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://799762]
Approved by SilasTheMonk
[oiskuu]: ... getlogin refers to tty owner; if you close STDIN, then getlogin returns undef. I get undef in my shell (running under X)
[tye]: Then there is a more persistent big of data similar to getlogin(). I don't believe even daemonizing drops it. So you can tell services that were started at boot time from those started by a person.
[tye]: I'll have to look into that later. getlogin() suites my current needs.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-06-23 19:19 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.