How to install pp (PAR Packager)?

I need to create an exe from a Perl script. I have installed

ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi

How to install pp ?

+5
source share
6 answers

Until the problem 1.010is fixed, follow these steps:

  • Go to http://search.cpan.org/dist/PAR-Packer/

  • In the Other Issues drop-down list, select PAR-Packer-1.009and download it

  • Decompress the archive while maintaining the directory structure

  • Run perl Makefile.PL

  • Set all the missing prerequisites manually using ppm. For example, ppm install Module::ScanDepsetc.

  • Install MingW: ppm install MingW

  • dmakethen dmake testthendmake install

PAR::Packer ppm .

+6

, , , , , pp (Par Packager):

  • Strawberry Perl ( strawberry-perl-5.16.3.1-64bit.msi)
    • 5.16.3.1, perl2exe, (perl2exe 5.16.3 perl)
  • Strawberry Perl (, "" → " " → "Strawberry Perl → Tools" ) CPAN Client
  • :
    • get pp
    • install pp
  • :
    • c:\strawberry\perl\site\bin\pp.bat -o myScript.exe myScript.pl
    • myScript.exe, ( perl-)

. -d, . perl , , perl5x.dll , , PATH.

+4

Perl, PAR:: Packer, Perl CPAN. , ActivePerl, CPAN. , ActiveState Perl Package Manager .

Perl Package Manger, CPAN. (Start- > Accessories- > Command Prompt) cpan <ENTER>. ActiveState .., CPAN.

Strawberry Perl Windows, CPAN. , ActivePerl Win32. , Perl, .

: ActiveState Perl, C:\Perl\bin, C:\Perl\Site\bin, , , .

+3

1.10, , . Troouhelle repo.

CPAN PPM, : Perl?

+1
ppm install MinGW
cpanp i Win32::Exe PAR::Packer
+1

, cpan PAR:: Packer. Windows : cpan install PAR:: Packer. . Strawberry perl. cpan .

0

All Articles