PAR-Packer-1.014 package installation on Windows 7 x64

Posted by er_bhambra on 2013-05-10 03:21
Forums: PPM | OS: Windows x64

I had tried different ways to install PAR package, without any success.

Methodology followed:

1. Using cpan
2. ppm install
3. I downloaded PAR-Packer-1.014 and tried installing using following commands:
a. perl Makefile.PL
b. dmake

at this instant i received an error which is as follow:

C:\Perl64\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe
system(par.exe -IC:\PAR-Packer-1.014\blib\arch -IC:\PAR-Packer-1.014\blib\lib -I
C:/Perl64/site/lib -IC:/Perl64/lib -I. -q -B -Oparldyn.exe) failed:
dmake.exe: Error code 255, while making 'parldyn.exe'
dmake.exe: Error code 255, while making 'subdirs'

Please help to resolve this issue, in order to install pp package

Log is attached for the reference

c:\>cd PAR-Packer-1.014

c:\PAR-Packer-1.014>perl Makefile.PL
Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
Warning: prerequisite Getopt::ArgvFile 1.07 not found.
Warning: prerequisite Module::ScanDeps 1.09 not found.
Warning: prerequisite PAR 1.005 not found.
Warning: prerequisite PAR::Dist 0.22 not found.
Warning: prerequisite Parse::Binary 0.04 not found.
Warning: prerequisite Win32::Exe 0.17 not found.
Prototype mismatch: sub main::prompt: none vs ($;$) at C:/Perl64/lib/ExtUtils/Ma
keMaker.pm line 219.
Note (probably harmless): No library found for -lkernel32
Note (probably harmless): No library found for -luser32
Note (probably harmless): No library found for -lgdi32
Note (probably harmless): No library found for -lwinspool
Note (probably harmless): No library found for -lcomdlg32
Note (probably harmless): No library found for -ladvapi32
Note (probably harmless): No library found for -lshell32
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -lnetapi32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lws2_32
Note (probably harmless): No library found for -lmpr
Note (probably harmless): No library found for -lwinmm
Note (probably harmless): No library found for -lversion
Note (probably harmless): No library found for -lodbc32
Note (probably harmless): No library found for -lodbccp32
Note (probably harmless): No library found for -lcomctl32
Note (probably harmless): No library found for -lmsvcrt
Writing Makefile for par.exe
Writing MYMETA.yml and MYMETA.json
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json

c:\PAR-Packer-1.014>dmake
Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
Skip blib\lib\App\Packer\PAR.pm (unchanged)
Skip blib\lib\PAR\Packer.pm (unchanged)
Skip blib\lib\PAR\Filter\Obfuscate.pm (unchanged)
Skip blib\lib\PAR\Filter\PodStrip.pm (unchanged)
Skip blib\lib\PAR\StrippedPARL\Base.pm (unchanged)
Skip blib\lib\PAR\Filter.pm (unchanged)
Skip blib\lib\PAR\Filter\PatchContent.pm (unchanged)
Skip blib\lib\PAR\Filter\Bytecode.pm (unchanged)
Skip blib\lib\pp.pm (unchanged)
Skip blib\lib\PAR\Filter\Bleach.pm (unchanged)
C:\Perl64\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -D
CONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfi
elds -I"C:\Perl64\lib\CORE" -DPARL_EXE=\"parl.exe\" -O2 main.c
main.c: In function 'main':
main.c:121:23: warning: assignment discards qualifiers from pointer target type
C:\Perl64\site\bin\g++.exe main.o ppresource.coff -s -L"C:\Perl64\lib\CORE" C
:\Perl64\lib\CORE\perl516.lib -o par.exe
rem
C:\Perl64\bin\perl.exe encode_append.pl Dynamic.in par.exe Dynamic.pm
C:\Perl64\bin\perl.exe file2c.pl -c 30000 par.exe C:\Perl64\bin\perl516.dll > bo
ot_embedded_files.c
C:\Perl64\site\bin\gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -D
CONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfi
elds -I"C:\Perl64\lib\CORE" -DPARL_EXE=\"parl.exe\" -O2 boot.c
In file included from mktmpdir.h:85:0,
from mktmpdir.c:1,
from boot.c:10:
sha1.c: In function 'sha_transform':
sha1.c:146:2: warning: right shift count >= width of type
boot.c: In function 'main':
boot.c:204:5: warning: passing argument 3 of 'spawnvpe' from incompatible pointe
r type
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../.
./x86_64-w64-mingw32/include/process.h:178:20: note: expected 'char * const*' bu
t argument is of type 'const char * const*'
boot.c:204:5: warning: passing argument 4 of 'spawnvpe' from incompatible pointe
r type
c:\perl64\site\lib\auto\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../.
./x86_64-w64-mingw32/include/process.h:178:20: note: expected 'char * const*' bu
t argument is of type 'const char * const*'
C:\Perl64\site\bin\g++.exe boot.o -static-libgcc -s -L"C:\Perl64\lib\CORE" C:
\Perl64\lib\CORE\perl516.lib ppresource.coff -o boot.exe
rem
C:\Perl64\bin\perl.exe encode_append.pl Static.in boot.exe Static.pm
cp Static.pm ..\blib\lib\PAR\StrippedPARL\Static.pm
cp Dynamic.pm ..\blib\lib\PAR\StrippedPARL\Dynamic.pm
C:\Perl64\bin\perl.exe -Mblib run_with_inc.pl par.exe -q -B -Oparldyn.exe
system(par.exe -IC:\PAR-Packer-1.014\blib\arch -IC:\PAR-Packer-1.014\blib\lib -I
C:/Perl64/site/lib -IC:/Perl64/lib -I. -q -B -Oparldyn.exe) failed:
dmake.exe: Error code 255, while making 'parldyn.exe'
dmake.exe: Error code 255, while making 'subdirs'

c:\PAR-Packer-1.014>

grahams
ActiveState Staff
Mon, 2013-05-13 14:20