Steven Mackenzie wrote:
I am trying to use Par 0.973 on Windows XP Pro with Active State Perl build 820.

- I've downloaded PAR 0.973 and PAR::Packer 0.973 from CPAN
- Patched script/par.pl to include "eval { require Win32 };" as mentioned in a
recent thread
- Ran nmake Test, all tests passed
- Ran nmake install

I noted this warning:
Output file '..\blib\lib\PAR\StrippedPARL\Dynamic.pm' does not have an empty
__DATA__ section. Not appending encoded data from '.\par.exe'. This is NOT a
fatal error! at encode_append.pl line 26.

Then I ran my usual Par build script (which used to work with Par 0.971), that
includes this command line (a *lot* of modules have been removed):

pp --lib ../../../../../external/perl/lib --lib ../../.. -M
ANPerl/AnalysisFramework/ResourceStore/Metadata/DBUserMetadataValues.pm [...] -M
MIME::Types -M String::CRC::Cksum -M PerlIO -o ./clan.exe CLAnalysis.pl

I got this error:
Set up gcc environment - 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
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.

Can anyone suggest what the error may refer to?

Have the command line options changed recently?

Steven
I get the same "empty __DATA__ section" warning. It appears to be occurring just prior to the t\00-pod.t test, which is the first of the tests files in the t directory.

I just went and reran the nmake test, and all of the tests passed, albeit with the stated __DATA__ message. I also did a
     "pp -o outfile.exe very_large_application.pl"
thing, and ran the outfile.exe with no problems. The outfile.exe has quite a few modules, and also uses Tk popups. No problem.

This does not help much on discerning what is happening on your machine, but it at least might rule out some things.


Reply via email to