Subject: | Par-Packer not including all dependencies |
Date: | Mon, 26 Jul 2010 17:02:31 +0300 |
To: | bug-Module-ScanDeps [...] rt.cpan.org |
From: | Kaloyan Iliev Iliev <kaloyan [...] digsys.bg> |
Hello.
I follow ticket 56020 but found out that I still have common problem.
[~/TestScript/tmp]$ pp -o ucd.exe -e "use Unicode::UCD qw(charinfo); my
$i = charinfo(0x42); print $i->{name};"
[~/TestScript/tmp]$ ./ucd.exe
Unicode::UCD: failed to find UnicodeData.txt in CODE(0x802e083d8)
CODE(0x8028e4420) CODE(0x8028e48a0) at script/ppSf5Yf.pl line 1
Compilation failed in require at script/ppSf5Yf.pl line 1.
BEGIN failed--compilation aborted at script/ppSf5Yf.pl line 1.
And the other example:
[~/TestScript/tmp]$ cat test.pl
#!/usr/bin/perl
use strict;
use warnings;
use Carp;
use PDF::API2;
print "Hello";
[~/TestScript/tmp]$ pp test.pl
[~/TestScript/tmp]$ ./a.out
Unicode::UCD: failed to find UnicodeData.txt in CODE(0x802f2f2d0)
CODE(0x8028dcc90) CODE(0x8028ae938) at PDF/API2/Resource/Font/BdFont.pm
line 45
Compilation failed in require at PDF/API2/Resource/Font/BdFont.pm line 45.
BEGIN failed--compilation aborted at PDF/API2/Resource/Font/BdFont.pm
line 45.
Compilation failed in require at PDF/API2.pm line 67.
BEGIN failed--compilation aborted at PDF/API2.pm line 67.
Compilation failed in require at script/test.pl line 6.
BEGIN failed--compilation aborted at script/test.pl line 6.
[$]perl -v
This is perl, v5.10.1 (*) built for amd64-freebsd-thread-multi
[$] uname -a
FreeBSD xxxxxx.xxxxxxx.xx 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Sep 18
15:03:01 EEST 2009
root@xxxxxx.xxxxxxx.xx:/usr/obj/usr/src/sys/GENERIC amd64
[$]pp -version
PAR Packager, version 1.005 (PAR version 1.000)
Any help will be appreciated.
Thanks in advance.
Kaloyan
PS. Info for ScanDeps.pm.
perl -MModule::ScanDeps -e 'print $Module::ScanDeps::VERSION';
0.97
I give example from ScanDeps.pm:
"
'Tk/FBox.pm' => [qw( Tk/folder.xpm Tk/file.xpm )],
'Tk/Getopt.pm' => [qw( Tk/openfolder.xpm Tk/win.xbm )],
'Tk/Toplevel.pm' => [qw( Tk/Wm.pm )],
'Unicode/UCD.pm' => sub {
# add data files (cf. sub openunicode in Unicode::UCD)
grep /\.txt$/, map "unicore/$_->{name}",
_glob_in_inc('unicore', 0);
},
'URI.pm' => sub {
grep !/.\b[_A-Z]/, _glob_in_inc('URI', 1);
},
"