Ok, listen. I have download this software:
ActivePerl 5.14.2 Build 1402 ActiveState Perl Dev Kit 9.1.1 Build 295479
The .pl need this extra library, i have download it with PPM:
Math-Random-Secure with: Math-Random-Secure depends on Crypt-Random-Source Math-Random-Secure depends on Math-Random-ISAAC Math-Random-Secure depends on Crypt-Random-Source-Strong-Win32 Math-Random-Secure depends on Any-Moose Math-Random-Secure depends on Capture-Tiny Math-Random-Secure depends on namespace-clean Math-Random-Secure depends on Module-Find Math-Random-Secure depends on Devel-Hide Math-Random-Secure depends on B-Hooks-EndOfScope Math-Random-Secure depends on Variable-Magic Math-Random-Secure depends on Crypt-Random-Source Math-Random-Secure depends on Math-Random-ISAAC Math-Random-Secure depends on Crypt-Random-Source-Strong-Win32 Math-Random-Secure depends on Any-Moose Math-Random-Secure depends on Capture-Tiny Math-Random-Secure depends on namespace-clean Math-Random-Secure depends on Module-Find Math-Random-Secure depends on Devel-Hide Math-Random-Secure depends on B-Hooks-EndOfScope Math-Random-Secure depends on Variable-Magic
Now if i open CMD and set the path of the .pl, the software works fine, but i need an executable. So i'm open the PerlDevKit - PerlApp Select the script - then --> File - Make executable Give me error: Math\Random\ISAAC\XS.pm Then i have download it with PPM Reclick on --> File - Make executable No error but if i'm open the exe i have this:
PerlApp 9.1.1 build 295479 Copyright (C) 1998-2011 ActiveState Software Inc. All rights reserved. Trial license (Expires: 2012-01-29) ********************************************************************** +****** * WARNING: Applications generated by this evaluation copy of PerlApp w +ill * * stop working after the end of the evaluation period: 2012-0 +1-29 * ********************************************************************** +****** Created 'pwgen.exe' [Test it] Executable size: 1.57 MB, 4 KB larger than last time (0%) [DONE] {.\pwgen.exe} Can't locate Crypt/Random/Source/Strong.pm in @INC (@INC contains: ). +at /<C:\Documents and Settings\Windows Xp\Desktop\pwgen.exe>Class/MOP +.pm line 135 Class::MOP::load_first_existing_class('Crypt::Random::Source::Stro +ng') called at /<C:\Documents and Settings\Windows Xp\Desktop\pwgen.e +xe>Class/MOP.pm line 140 Class::MOP::load_class('Crypt::Random::Source::Strong', undef) cal +led at /<C:\Documents and Settings\Windows Xp\Desktop\pwgen.exe>Moose +/Meta/Class.pm line 554 Moose::Meta::Class::superclasses(undef, 'Crypt::Random::Source::St +rong', 'Crypt::Random::Source::Base') called at /<C:\Documents and Se +ttings\Windows Xp\Desktop\pwgen.exe>Moose.pm line 61 Moose::extends('Moose::Meta::Class=HASH(0x2607b2c)', 'Crypt::Rando +m::Source::Strong', 'Crypt::Random::Source::Base') called at /<C:\Doc +uments and Settings\Windows Xp\Desktop\pwgen.exe>Moose/Exporter.pm li +ne 356 Moose::extends('Crypt::Random::Source::Strong', 'Crypt::Random::So +urce::Base') called at /<C:\Documents and Settings\Windows Xp\Desktop +\pwgen.exe>Crypt/Random/Source/Strong/Win32.pm line 10 eval '' called at perlapp line 848 PerlApp::safe_eval() called at perlapp line 948 PerlApp::my_require('Crypt/Random/Source/Strong/Win32.pm') called +at /<C:\Documents and Settings\Windows Xp\Desktop\pwgen.exe>if.pm lin +e 13 if::work(undef, undef, 'Crypt::Random::Source::Strong::Win32') cal +led at /<C:\Documents and Settings\Windows Xp\Desktop\pwgen.exe>Math/ +Random/Secure/RNG.pm line 9 Math::Random::Secure::RNG::BEGIN() called at /<C:\Documents and Se +ttings\Windows Xp\Desktop\pwgen.exe>Crypt/Random/Source/Strong/Win32. +pm line 0 eval {...} called at /<C:\Documents and Settings\Windows Xp\Deskto +p\pwgen.exe>Crypt/Random/Source/Strong/Win32.pm line 0 eval '' called at perlapp line 848 PerlApp::safe_eval() called at perlapp line 948 PerlApp::my_require('Math/Random/Secure/RNG.pm') called at /<C:\Do +cuments and Settings\Windows Xp\Desktop\pwgen.exe>Math/Random/Secure. +pm line 8 Math::Random::Secure::BEGIN() called at /<C:\Documents and Setting +s\Windows Xp\Desktop\pwgen.exe>Crypt/Random/Source/Strong/Win32.pm li +ne 0 eval {...} called at /<C:\Documents and Settings\Windows Xp\Deskto +p\pwgen.exe>Crypt/Random/Source/Strong/Win32.pm line 0 eval '' called at perlapp line 848 PerlApp::safe_eval() called at perlapp line 948 PerlApp::my_require('Math/Random/Secure.pm') called at pwgen.pl li +ne 18 main::BEGIN() called at /<C:\Documents and Settings\Windows Xp\Des +ktop\pwgen.exe>Crypt/Random/Source/Strong/Win32.pm line 0 eval {...} called at /<C:\Documents and Settings\Windows Xp\Deskto +p\pwgen.exe>Crypt/Random/Source/Strong/Win32.pm line 0 BEGIN failed--compilation aborted at /<C:\Documents and Settings\Windo +ws Xp\Desktop\pwgen.exe>Math/Random/Secure/RNG.pm line 9, <DATA> line + 166. BEGIN failed--compilation aborted at /<C:\Documents and Settings\Windo +ws Xp\Desktop\pwgen.exe>Math/Random/Secure.pm line 8, <DATA> line 166 +. BEGIN failed--compilation aborted at pwgen.pl line 18, <DATA> line 166 +. [DONE]
I don't know how do, please give me an advice. Thanks

In reply to Re: Someone please give me a hand? by JackRoss
in thread Compile Perl To Executable by JackRoss

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.