Subject: | BEGIN failed--compilation aborted at |
Date: | Tue, 17 Mar 2015 11:22:12 +0100 |
To: | bug-App-FatPacker [...] rt.cpan.org |
From: | Curliss Clark <CURLISS [...] dk.ibm.com> |
Hi
After fatpacking in this way
fatpack trace EP2RA.V1.4a.pl
fatpack packlists-for `cat fatpacker.trace` >packlists
fatpack tree `cat packlists`
fatpack file EP2RA.V1.4a.pl > EP2RA.V1.4a2_stdalone.pl
I get this after running the fatpacked script
root@w82496:/home/BA6270% /usr/opt/freeware/bin/perl5.8.2
EP2RA.V1.4a2_stdalone.pl -i actioned.csv
Can't locate Time/Piece.pm in @INC (@INC contains:
FatPacked::805483532=HASH(0x3002b40c)
/opt/freeware/lib/perl5/5.8.2/ppc-aix /opt/freeware/lib/perl5/5.8.2
/opt/freeware/lib/perl5/site_perl/5.8.2/ppc-aix
/opt/freeware/lib/perl5/site_perl/5.8.2 /opt/freeware/lib/perl5/site_perl
.) at EP2RA.V1.4a2_stdalone.pl line 1234.
BEGIN failed--compilation aborted at EP2RA.V1.4a2_stdalone.pl line 1234.
The Time/Piece.pm is fatpacked in the script, but still seems not to find
it @INC .. any ideas ?
Note: extra info
[root@oc0600751537 IBM_EP2]# cat packlists
/usr/lib64/perl5/auto/Time/Piece/.packlist
[root@oc0600751537 IBM_EP2]# cat
/usr/lib64/perl5/auto/Time/Piece/.packlist
/usr/lib64/perl5/Time/Piece.pm
/usr/lib64/perl5/Time/Seconds.pm
/usr/lib64/perl5/auto/Time/Piece/Piece.bs
/usr/lib64/perl5/auto/Time/Piece/Piece.so
/usr/share/man/man3/Time::Piece.3pm
/usr/share/man/man3/Time::Seconds.3pm
[root@oc0600751537 IBM_EP2]# cd fatlib
[root@oc0600751537 fatlib]# ls -ltr
total 4
drwx------. 4 root root 4096 Mar 17 11:05 perl5
[root@oc0600751537 fatlib]# cd perl5
[root@oc0600751537 perl5]# ls -ltr
total 8
drwx------. 2 root root 4096 Mar 17 11:05 Time
drwx------. 3 root root 4096 Mar 17 11:05 auto
[root@oc0600751537 perl5]# cd Time
[root@oc0600751537 Time]# ls -ltr
total 32
-rw-------. 1 root root 23793 Mar 17 11:05 Piece.pm
-rw-------. 1 root root 5448 Mar 17 11:05 Seconds.pm
Med venlig hilsen / Best Regards
Curliss Clark
Medmindre andet er angivet ovenfor: / Unless Otherwise Stated Above:
IBM Danmark ApS
Kongevejen 495 B
2840 Holte, Danmark
CVR nr.: 65305216