Re: Problems with pp -M

2004-01-28 Thread Barrie Slaymaker
On Mon, Jan 26, 2004 at 07:04:10PM +0800, Autrijus Tang wrote:
> ?b ä, 2004-01-21 22:14, Roderich Schupp ?g?D?G
> > Hi,
> > there's a problem with "pp -M ...". It shows when you
> > compare the result of the following commands 
> > i.e. the module itself (both pm and dll in case of an XS module)
> > is MIA for "pp -M ..." though all modules it depends on are
> > there. I can reproduce this on Linux and WinXp (using 
> > perl 5.8.2, PAR 0.79, Module::Scandeps 0.38 on both platforms).
> 
> Thanks, fixed in depot.  I also extended the same fix to Edward's
> App::Packer::Backend::PAR here.

Oooh, does that mean I can stop patching pp to AddFile( $_ ) for all
the -add=Foo files?

Thanks!

- Barrie


Re: Problems with pp -M

2004-01-26 Thread Autrijus Tang
?b ä, 2004-01-21 22:14, Roderich Schupp ?g?D?G
> Hi,
> there's a problem with "pp -M ...". It shows when you
> compare the result of the following commands 
> i.e. the module itself (both pm and dll in case of an XS module)
> is MIA for "pp -M ..." though all modules it depends on are
> there. I can reproduce this on Linux and WinXp (using 
> perl 5.8.2, PAR 0.79, Module::Scandeps 0.38 on both platforms).

Thanks, fixed in depot.  I also extended the same fix to Edward's
App::Packer::Backend::PAR here.

Cheers,
/Autrijus/


signature.asc
Description: 	=?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?=	=?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=


Problems with pp -M

2004-01-21 Thread Roderich Schupp
Hi,
there's a problem with "pp -M ...". It shows when you
compare the result of the following commands 

$  pp -o use.exe -p "use $MOD; print q[OK]"
$  pp -o minusm.exe -M $MOD -e "print q[OK]"

for some MOD (e.g. MOD=Tie::IxHash,Encode::Unicode,DBI)
Comparing the zip's contents (as shown by "unzip -l use.exe" etc) gives

MOD=Tie::IxHash
--- use.toc Wed Jan 21 15:02:50 2004
+++ minusm.toc  Wed Jan 21 15:02:50 2004
@@ -16,7 +16,6 @@
 lib/Text/ParseWords.pm
 lib/Thread.pm
 lib/Tie/Hash.pm
-lib/Tie/IxHash.pm
 lib/XSLoader.pm
 lib/auto/DynaLoader/autosplit.ix
 lib/auto/DynaLoader/dl_expandspec.al

MOD=Encode::Unicode
--- use.toc Wed Jan 21 14:34:06 2004
+++ minusm.toc  Wed Jan 21 14:34:07 2004
@@ -11,7 +11,6 @@
 lib/Encode/Alias.pm
 lib/Encode/Config.pm
 lib/Encode/Encoding.pm
-lib/Encode/Unicode.pm
 lib/Exporter.pm
 lib/Exporter/Heavy.pm
 lib/Fcntl.pm
@@ -31,9 +30,6 @@
 lib/auto/Encode/Encode.bs
 lib/auto/Encode/Encode.dll
 lib/auto/Encode/Encode.exp
-lib/auto/Encode/Unicode/Unicode.bs
-lib/auto/Encode/Unicode/Unicode.dll
-lib/auto/Encode/Unicode/Unicode.exp
 lib/auto/Fcntl/Fcntl.bs
 lib/auto/Fcntl/Fcntl.dll
 lib/auto/Fcntl/Fcntl.exp

MOD=DBI
--- use.toc Wed Jan 21 15:13:34 2004
+++ minusm.toc  Wed Jan 21 15:13:34 2004
@@ -16,7 +16,6 @@
 lib/DBD/Oracle.pm
 lib/DBD/Oracle/GetInfo.pm
 lib/DBD/Sponge.pm
-lib/DBI.pm
 lib/DBI/PurePerl.pm
 lib/Data/Dumper.pm
 lib/DynaLoader.pm
@@ -75,16 +74,6 @@
 lib/auto/DBD/Oracle/dbdimp.h
 lib/auto/DBD/Oracle/mk.pm
 lib/auto/DBD/Oracle/ocitrace.h
-lib/auto/DBI/DBI.bs
-lib/auto/DBI/DBI.dll
-lib/auto/DBI/DBI.exp
-lib/auto/DBI/DBI.pdb
-lib/auto/DBI/DBIXS.h
-lib/auto/DBI/Driver.xst
-lib/auto/DBI/Driver_xst.h
-lib/auto/DBI/dbd_xsh.h
-lib/auto/DBI/dbi_sql.h
-lib/auto/DBI/dbipport.h
 lib/auto/Data/Dumper/Dumper.bs
 lib/auto/Data/Dumper/Dumper.dll
 lib/auto/Data/Dumper/Dumper.exp

i.e. the module itself (both pm and dll in case of an XS module)
is MIA for "pp -M ..." though all modules it depends on are
there. I can reproduce this on Linux and WinXp (using 
perl 5.8.2, PAR 0.79, Module::Scandeps 0.38 on both platforms).

Cheers, Roderich