I am using App::Fatpacker to try to bundle all my modules into my script to deploy to multiple UNIX servers.

I am running

$ fatpack trace myscript.pl $ fatpack packlists-for `cat fatpacker.trace` >packlists $ fatpack tree `cat packlists` $ (fatpack file; cat myscript.pl) >myscript.packed.pl

and my fatpacker.trace is

IO/Handle.pm Sys/Info/Constants.pm Time/tm.pm POSIX.pm List/Util.pm SelectSaver.pm /usr/lib/perl5/site_perl/5.8.8/auto/Linux/MemInfo/autosplit.ix IO/Socket.pm Fcntl.pm Symbol.pm Number/Bytes/Human.pm Scalar/Util.pm IO/Socket/INET.pm Parse/DMIDecode/Constants.pm Parse/DMIDecode.pm Errno.pm File/Spec.pm Sys/Info/Base.pm Time/localtime.pm warnings/register.pm Net/Address/IP/Local.pm Net/Config.pm Parse/DMIDecode/Handle.pm Linux/MemInfo.pm Error/Simple.pm IO/Seekable.pm Error.pm version.pm base.pm XML/Writer.pm Config.pm IO.pm IO/Socket/UNIX.pm bytes.pm Class/Struct.pm version/vxs.pm Sys/Info.pm File/Spec/Unix.pm Exporter/Heavy.pm vars.pm constant.pm Net/Domain.pm Socket.pm /usr/lib/perl5/5.8.8/Net/libnet.cfg AutoLoader.pm overload.pm IO/File.pm /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/POSIX/autosplit.ix DynaLoader.pm Data/Dumper.pm

The error I receive when I execute the last command is

Can't locate Perl/Version.pm in @INC (@INC contains: CODE(0x8931f20) / +usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/ +site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5 +.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/li +b/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr +/lib/perl5/5.8.8 .) at myscript.packed.pl line 17011. BEGIN failed--compilation aborted at myscript.packed.pl line 17011.

I really want to get this working and deployed. I don't understand why version.pm can't be located???


In reply to App::Fatpacker giving me a version.pm error by envinyater

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.