This is a typical issue (it's probably faq somewhere), and is one of missing dependencies. Add
END { my @pp = 'pp', '-n'; foreach(keys %INC){ s[/][::]g; s/\.pm$//; push @pp, '-M', $_; } push @pp, __FILE__; print "@pp $/"; }
and run the resulting command. For me that was
pp -M Crypt::OpenPGP::Plaintext -M Carp -M Crypt::OpenPGP::Buffer -M C +rypt::Random::Generator -M lib -M Crypt::OpenPGP::Util -M IO::Socket: +:UNIX -M Crypt::OpenPGP::Signature::SubPacket -M Crypt::OpenPGP::Key: +:Public::DSA -M constant -M Convert::ASCII::Armour -M IO::Socket::INE +T -M Crypt::DES -M strict -M Crypt::OpenPGP::Key -M vars -M base -M C +onfig -M Crypt::RSA::DataFormat -M Crypt::CBC -M Digest::SHA1 -M Cryp +t::Random::Provider::devurandom -M Crypt::RSA::Key::Public -M Data::D +umper -M Crypt::OpenPGP::Certificate -M Crypt::OpenPGP::Key::Public - +M Crypt::RSA -M Crypt::OpenPGP::Key::Public::RSA -M Crypt::DSA::Key - +M MIME::Base64 -M Symbol -M Exporter::Heavy -M Crypt::OpenPGP::Signat +ure -M bytes -M C:::Perl::site::lib::auto::Compress::Zlib::autosplit. +ix -M Crypt::OpenPGP::Ciphertext -M Crypt::OpenPGP::PacketFactory -M +Crypt::RSA::Errorhandler -M Crypt::Random::Provider::egd -M IO::Handl +e -M Crypt::OpenPGP::Key::Secret -M Crypt::OpenPGP -M Crypt::OpenPGP: +:ErrorHandler -M Crypt::OpenPGP::Config -M Math::Pari -M Crypt::OpenP +GP::Key::Public::ElGamal -M Crypt::OpenPGP::KeyRing -M Exporter -M IO +::Socket -M Errno -M Crypt::OpenPGP::Digest -M subs -M DynaLoader -M +File::Spec::Unix -M Crypt::Random -M Crypt::Random::Provider::rand -M + Crypt::RSA::Key::Private -M SelectSaver -M Crypt::OpenPGP::S2k -M IO + -M Crypt::OpenPGP::Message -M File::Spec::Win32 -M Class::Loader -M +Socket -M Crypt::OpenPGP::KeyBlock -M Crypt::OpenPGP::SessionKey -M C +rypt::OpenPGP::Armour -M integer -M Compress::Zlib -M XSLoader -M Dig +est::MD5 -M Crypt::DES_EDE3 -M Crypt::OpenPGP::CFB -M Crypt::OpenPGP: +:Constants -M Tie::EncryptedHash -M File::Spec -M Crypt::RSA::Key -M +warnings::register -M warnings -M Crypt::Primes -M Crypt::OpenPGP::Us +erID -M overload -M Crypt::DSA::Util -M Crypt::OpenPGP::Cipher -M Aut +oLoader -M Crypt::Random::Provider::File -M Data::Buffer test.pl
The resulting file was 2.09 MB (2,198,289 bytes) in size.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: Problems creating Crypt::OpenPGP standalone exe by PodMaster
in thread Problems creating Crypt::OpenPGP standalone exe by boat73

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.