Thanks Mark,
Your comment reminded me of a problem that I'd mentioned on this list group (but
I thought had been fixed): my PERL5LIB has a single path:
PERL5LIB=C:\Program Files\ActiveState Perl Dev Kit 6.0\lib\
That path is added by the ActiveState PDK version 6, and ends with a trailing
slash.
There is a note in the Module-ScanDeps change log about the trailing slash issue
[Changes for 0.66 - 2006-09-24]
* Fixed another bug in Module::ScanDeps::Datafeed which would break
run- and compile-time dependency scanners if $ENV{PERL5LIB} entries
had trailing backslashes.
I am currently running ScanDeps 0.71:
C:\Documents and Settings\steven>perl -MModule::ScanDeps -e "print $Module::Scan
Deps::VERSION"
0.71
If I remove the trailing slash from the path, then my problem goes away. :-)
Steffen, has this problem crept back in to Module::ScanDeps, or is it replicated
somewhere else?
Steven
Mark Dootson wrote:
> Hi,
>
> Sorry I can't be of much help.
>
> The code that is throwing the error is in
>
> PAR::StrippedPARL::Base.pm
>
> around line 80 - in sub write_parl. Something is going awry with the
> construction of the $execute params before that.
>
> Mark
>
>
>
> Steven Mackenzie wrote:
>> Mark Dootson wrote:
>>> Hi,
>> Hello, thanks for looking :-)
>>
>>>> I got this error:
>>>> Set up gcc environment - 3.4.4 (cygming special) (gdc 0.12, using dmd
>>>> 0.125)
>>> gcc ? cygming ??
>> Actually, I normally build with the Visual Studio C++ 6.0 VCVars32.bat
>> environment, and then that line does not appear. In the output I pasted
>> previously, I hadn't set up that environment (which usually works fine too).
>>
>> Otherwise, I do have a Cygwin gcc, which is perhaps what is used here.
>>
>> I've just retested with the VCVars environment, and the behaviour is the
>> same,
>> but without the gcc message.
>>
>>>> Usage: C:\DOCUME~1\steven\LOCALS~1\Temp\parlzLhs.exe [ -Alib.par ] [ -Idir
>>>> ] [
>>>> -Mmodule ] [ src.par ] [ program.pl ]
>>>> C:\DOCUME~1\steven\LOCALS~1\Temp\parlzLhs.exe [ -B|-b ] [-Ooutfile]
>>>> src.par
>>>> C:\Perl\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static'
>>>> to
>>>> file 'parlEE2gFTR.exe' at C:/Perl/site/lib/PAR/Packer.pm line 1149, <DATA>
>>>> line 1.
>>> what does "pp --version" output?
>> C:\cvs\pwebcosm\2.2\ANPerl\AnalysisFramework\Clients>perl -M"PAR::Packer" -e
>> "print $PAR::Packer::VERSION"
>> 0.973
>> C:\cvs\pwebcosm\2.2\ANPerl\AnalysisFramework\Clients>
>>
>> C:\cvs\pwebcosm\2.2\ANPerl\AnalysisFramework\Clients>pp --version
>> PAR Packager, version 0.973 (PAR version 0.973)
>> Copyright 2002, 2003, 2004, 2005, 2006 by Audrey Tang <[EMAIL PROTECTED]>
>>
>> :-(
>
>