t-rex has asked for the wisdom of the Perl Monks concerning the following question:

With regard to this question posted by me earlier, i got a response to use App::fatpacker for my query. Link : http://perlmonks.org/?node_id=1169470

So i installed App::fatPacker and tried the following command

fatpack trace urs.pl

and then the the file fatpacker.trace is created. the next command i use is

fatpack packlists-for `cat fatpacker.trace` > packlists

i get error while running this : that module Yaml_lib.pm is not present even though the package is present in fatpacker.trace

i can't understand what could be the problem

error is as follows

.
fatpack packlists-for `cat fatpacker.trace` > packlists Can't locate Yaml_Lib.pm in @INC (@INC contains: lib /usr/lib/perl5/5. +10.0/ppc64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/si +te_perl/5.10.0/ppc64-linux-thread-multi /usr/lib/perl5/site_perl/5.10 +.0 /usr/lib/perl5/vendor_perl/5.10.0/ppc64-linux-thread-multi /usr/li +b/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/ +perl5/site_perl/5.10.0/App/FatPacker.pm line 149. BEGIN failed--compilation aborted at /usr/bin/fatpack line 3.

pls help what could be the reason for this and how to overcome it

Replies are listed 'Best First'.
Re: fatpack : Packlists error even though module present in fatpacker.trace
by Corion (Patriarch) on Aug 16, 2016 at 09:01 UTC

    Where is the file Yaml_Lib.pm?

    Most likely, your program sets @INC in some way and App::FatPack / fatpack fails to pick that up.

    Maybe look at the output of fatpack trace urs.pl and/or the contents of fatpacker.trace to find the error.

Re: fatpack : Packlists error even though module present in fatpacker.trace
by Anonymous Monk on Aug 16, 2016 at 09:10 UTC
    :) tarballs, they work :D