Subject: | scandeps.pl -c or -x doesn't work if additional include paths are given |
Hi,
If I run:
perl -IC:\some\path c:\perl\bin\scandeps.pl -c some.pl
I get the following error:
Can't locate AIPerl/Framework/Logger.pm in @INC (@INC contains:
C:/Perl/lib C:/Perl/site/lib .) at 1355uN line 7.
BEGIN failed--compilation aborted at 1355uN line 7.
Couldn't open 1355uN.out at C:/Perl/site/lib/Module/ScanDeps.pm line
1001.
Note the list of paths in @INC is incorrect. Also perl -IC:\some\path
some.pl does compile successfully.
If I run
perl -IC:\some\path c:\perl\bin\scandeps.pl -x some.pl
I get:
Can't locate AIPerl/Framework/Logger.pm in @INC (@INC contains:
C:/Perl/lib C:/Perl/site/lib .) at
C:/tools_dev/apps/AIPerl/CodeTools/c4NhYE line 5.
BEGIN failed--compilation aborted at
C:/tools_dev/apps/AIPerl/CodeTools/c4NhYE line 5.
SYSTEM ERROR in executing FileMatch.pl: 512 at
C:/Perl/site/lib/Module/ScanDeps.pm line 952.
In addition the temporary files created by scandeps.pl are still
present once the script exits.
FYI, I'm using the following:
* Module-ScanDeps [0.70]
* perl, v5.8.4 built for MSWin32-x86-multi-thread, Binary build 810
provided by ActiveState Corp.
* Windows XP, Version 2002, Service Pack 2
Regards,
Adrian