Re: [rt.cpan.org #114316] PAR::Packer not installing

[email protected] ("Jinish Shah via RT")
Newsgroups perl.par
Message-ID <[email protected]>
Thu May 12 15:28:39 2016: Request 114316 was acted upon.
Transaction: Correspondence added by [email protected]
       Queue: PAR
     Subject: Re: [rt.cpan.org #114316] PAR::Packer not installing
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=114316 >


Hi,

I re-installed perl v5.24.0, this time I installed  versions of Getopt::ArgvFile(v 1.07, not latest, because this version was mentioned as pre-requisite) and Module::ScanDeps (latest version as per pre-requisite), both manually by
Untaring
Perl Makefile.PL
dmake
dmake test
dmake install

after installing both the versions, I started installing PAR::Packer (Latest version), still I got same error. Output is as shown:


C:\Users\jinishsh\Downloads>cd Getopt-ArgvFile-1.07

C:\Users\jinishsh\Downloads\Getopt-ArgvFile-1.07>perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Getopt::ArgvFile
Writing MYMETA.yml and MYMETA.json

C:\Users\jinishsh\Downloads\Getopt-ArgvFile-1.07>dmake
cp ArgvFile.pm blib\lib\Getopt\ArgvFile.pm

C:\Users\jinishsh\Downloads\Getopt-ArgvFile-1.07>dmake test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-
e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/
*.t
t/base.t ....... ok
t/noHOMEvar.t .. ok
t/prefix.t ..... ok
t/use.t ........ ok
All tests successful.
Files=4, Tests=9,  1 wallclock secs ( 0.03 usr +  0.05 sys =  0.08 CPU)
Result: PASS

C:\Users\jinishsh\Downloads\Getopt-ArgvFile-1.07>dmake install
Installing C:\STRAWB~1\perl\site\lib\Getopt\ArgvFile.pm
Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod

C:\Users\jinishsh\Downloads\Getopt-ArgvFile-1.07>cd ..

C:\Users\jinishsh\Downloads>cd Module-ScanDeps-1.21

C:\Users\jinishsh\Downloads\Module-ScanDeps-1.21>perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Module::ScanDeps
Writing MYMETA.yml and MYMETA.json

C:\Users\jinishsh\Downloads\Module-ScanDeps-1.21>dmake
cp lib/Module/ScanDeps/Cache.pm blib\lib\Module\ScanDeps\Cache.pm
cp lib/Module/ScanDeps.pm blib\lib\Module\ScanDeps.pm
"C:\Strawberry\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e cp -- script/sc
andeps.pl blib\script\scandeps.pl
pl2bat.bat blib\script\scandeps.pl

C:\Users\jinishsh\Downloads\Module-ScanDeps-1.21>dmake test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-
e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib\lib', 'blib\arc
h')" t/*.t
t/0-pod.t ....................................... ok
t/1-static_functional_interface_real.t .......... ok
t/10-case-insensitive-keys.t .................... ok
t/12-ScanFileRE.t ............................... ok
t/13-static_prefork_test.t ...................... skipped: Test requires module
'prefork' but it's not found
t/14-scan_chunk.t ............................... ok
t/14-static_functional_cached.t ................. 1/? 0
Couldn't retrieve data from file deps_cache.dat. Building new cache.
t/14-static_functional_cached.t ................. ok
t/16-scan_line.t ................................ ok
t/17-private_methods.t .......................... ok
t/2-static_functional_interface_fake.t .......... ok
t/3-static_oo_interface_real.t .................. ok
t/4-static_functional_interface_options_fake.t .. ok
t/5-pluggable_fake.t ............................ ok
t/6-file-glob.t ................................. ok
t/7-check-dynaloader.t .......................... # dynamic modules used for tes
t: Cwd File::Glob Data::Dumper List::Util Time::HiRes Compress::Raw::Zlib
t/7-check-dynaloader.t .......................... 1/48 C:\Users\jinishsh\AppData
\Local\Temp\Qm5JC2QEDA syntax OK
C:\Users\jinishsh\AppData\Local\Temp\r06TRYpnnC syntax OK
t/7-check-dynaloader.t .......................... 15/48 C:\Users\jinishsh\AppDat
a\Local\Temp\szG0X65jNZ syntax OK
C:\Users\jinishsh\AppData\Local\Temp\FqU7Y2KglR syntax OK
C:\Users\jinishsh\AppData\Local\Temp\gxXo5ltlgX syntax OK
t/7-check-dynaloader.t .......................... 37/48 C:\Users\jinishsh\AppDat
a\Local\Temp\G_dwPFGR7y syntax OK
t/7-check-dynaloader.t .......................... ok
t/8-check_duplicated_entries.t .................. ok
t/9-check_path_to_inc_name.t .................... ok
t/rt90869.t ..................................... ok
All tests successful.
Files=18, Tests=3204,  8 wallclock secs ( 0.20 usr +  0.09 sys =  0.30 CPU)
Result: PASS

C:\Users\jinishsh\Downloads\Module-ScanDeps-1.21>dmake install
Installing C:\STRAWB~1\perl\site\lib\Module\ScanDeps.pm
Installing C:\STRAWB~1\perl\site\lib\Module\ScanDeps\Cache.pm
Installing C:\STRAWB~1\perl\site\bin\scandeps.bat
Installing C:\STRAWB~1\perl\site\bin\scandeps.pl
Appending installation info to C:\STRAWB~1\perl\lib/perllocal.pod

C:\Users\jinishsh\Downloads\Module-ScanDeps-1.21>cd ..

C:\Users\jinishsh\Downloads>cd P
The system cannot find the path specified.

C:\Users\jinishsh\Downloads>cd PAR-Packer-1.032

C:\Users\jinishsh\Downloads\PAR-Packer-1.032>perl Makefile.PL
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at C:/Strawberry/perl/lib/Ex
tUtils/MakeMaker.pm line 240.
Writing MYMETA.yml and MYMETA.json
Generating a dmake-style Makefile
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json

C:\Users\jinishsh\Downloads\PAR-Packer-1.032>dmake
cp lib/pp.pm blib\lib\pp.pm
cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
"C:\Strawberry\perl\bin\perl.exe" par_pl2c.pl my_par_pl < ..\script\par.pl > my_
par_pl.c
"C:\Strawberry\perl\bin\perl.exe" sha1.c.PL
gcc -c -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IM
PLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields  -I"C:\STRAWB~1\perl\lib\
CORE"  -DPARL_EXE=\"parl.exe\" -s -O2 main.c
In file included from main.c:2:0:
C:\STRAWB~1\perl\lib\CORE/hv_func.h: In function 'S_perl_hash_murmur3':
C:\STRAWB~1\perl\lib\CORE/perl.h:1742:31: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
 #  define INT2PTR(any,d) (any)(PTRV)(d)
                               ^
C:\STRAWB~1\perl\lib\CORE/perl.h:1750:19: note: in expansion of macro 'INT2PTR'
 #define PTR2IV(p) INT2PTR(IV,p)
                   ^
C:\STRAWB~1\perl\lib\CORE/hv_func.h:403:17: note: in expansion of macro 'PTR2IV'

     STRLEN i = -PTR2IV(ptr) & 3;
                 ^
windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output-format=cof
f --target=pe-i386
g++ main.o ppresource.coff -s   -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\
c\lib"  "C:\STRAWB~1\perl\lib\CORE\libperl524.a" "C:\STRAWB~1\c\i686-w64-mingw32
\lib\libmoldname.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libkernel32.a" "C:\STRAW
B~1\c\i686-w64-mingw32\lib\libuser32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libg
di32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libwinspool.a" "C:\STRAWB~1\c\i686-w
64-mingw32\lib\libcomdlg32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libadvapi32.a"
 "C:\STRAWB~1\c\i686-w64-mingw32\lib\libshell32.a" "C:\STRAWB~1\c\i686-w64-mingw
32\lib\libole32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\liboleaut32.a" "C:\STRAWB
~1\c\i686-w64-mingw32\lib\libnetapi32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\lib
uuid.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libws2_32.a" "C:\STRAWB~1\c\i686-w64
-mingw32\lib\libmpr.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libwinmm.a" "C:\STRAW
B~1\c\i686-w64-mingw32\lib\libversion.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\lib
odbc32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libodbccp32.a" "C:\STRAWB~1\c\i686
-w64-mingw32\lib\libcomctl32.a" -o par.exe
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-min
gw32/bin/ld.exe: i386 architecture of input file `ppresource.coff' is incompatib
le with i386:x86-64 output
main.o:main.c:(.text+0x1955): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1a85): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1af5): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1bc9): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1e1b): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1ea9): more undefined references to `__imp_Perl_get_conte
xt' follow
main.o:main.c:(.text+0x1eb2): undefined reference to `__imp_Perl_newXS'
main.o:main.c:(.text+0x1ec0): undefined reference to `boot_DynaLoader'
main.o:main.c:(.text+0x1edc): undefined reference to `boot_Win32CORE'
main.o:main.c:(.text+0x1f08): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1f3f): undefined reference to `__imp_Perl_newXS_flags'
main.o:main.c:(.text+0x2048): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x2543): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x256b): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x26be): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x32c3): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x3322): undefined reference to `__imp_Perl_gv_fetchpv'
main.o:main.c:(.text+0x3351): undefined reference to `__imp_Perl_av_fetch'
main.o:main.c:(.text+0x3358): undefined reference to `__imp_Perl_sv_2pv_flags'
main.o:main.c:(.text+0x341c): undefined reference to `__imp_Perl_sv_setpv'
main.o:main.c:(.text+0x3485): undefined reference to `__imp_Perl_sv_setpv'
main.o:main.c:(.text+0x350c): undefined reference to `__imp_Perl_av_shift'
main.o:main.c:(.text+0x353a): undefined reference to `__imp_Perl_mg_set'
main.o:main.c:(.text+0x3577): undefined reference to `__imp_Perl_croak_nocontext
'
main.o:main.c:(.text+0x35ac): undefined reference to `__imp_Perl_croak_nocontext
'
main.o:main.c:(.text.startup+0x2a): undefined reference to `__imp_Perl_sys_init3
'
main.o:main.c:(.text.startup+0x31): undefined reference to `__imp_PL_do_undump'
main.o:main.c:(.text.startup+0x38): undefined reference to `__imp_Perl_get_conte
xt'
main.o:main.c:(.text.startup+0x43): undefined reference to `__imp_perl_alloc'
main.o:main.c:(.text.startup+0x5c): undefined reference to `__imp_perl_construct
'
main.o:main.c:(.text.startup+0x63): undefined reference to `__imp_Perl_get_conte
xt'
main.o:main.c:(.text.startup+0xa5): undefined reference to `__imp_Perl_safesysma
lloc'
main.o:main.c:(.text.startup+0x145): undefined reference to `__imp_perl_parse'
main.o:main.c:(.text.startup+0x15d): undefined reference to `__imp_perl_destruct
'
main.o:main.c:(.text.startup+0x17e): undefined reference to `__imp_perl_free'
main.o:main.c:(.text.startup+0x184): undefined reference to `__imp_Perl_sys_term
'
main.o:main.c:(.text.startup+0x19a): undefined reference to `__imp_perl_run'
main.o:main.c:(.text.startup+0x1d8): undefined reference to `__imp_PL_memory_wra
p'
main.o:main.c:(.text.startup+0x1e5): undefined reference to `__imp_Perl_croak_no
context'
main.o:main.c:(.text.startup+0x1ec): undefined reference to `__imp_Perl_get_cont
ext'
main.o:main.c:(.rdata$.refptr.boot_Win32CORE[.refptr.boot_Win32CORE]+0x0): undef
ined reference to `boot_Win32CORE'
main.o:main.c:(.rdata$.refptr.boot_DynaLoader[.refptr.boot_DynaLoader]+0x0): und
efined reference to `boot_DynaLoader'
collect2.exe: error: ld returned 1 exit status
dmake:  Error code 129, while making 'par.exe'
dmake:  Error code 255, while making 'subdirs'



Please Help!

Thanks and Regards
Jinish Shah
________________________________________
From: Roderich Schupp via RT <[email protected]>
Sent: Thursday, May 12, 2016 1:00 PM
To: [email protected]
Subject: [rt.cpan.org #114316] PAR::Packer not installing

<URL: https://rt.cpan.org/Ticket/Display.html?id=114316 >

On 2016-05-11 14:43:52, [email protected] wrote:
> I downloaded package
> PAR-Packer-1.013_patched.tar

Huh, what's that? Please use a official, recent version of PAR::Packer,
e.g. from https://metacpan.org/release/PAR-Packer

Cheers, Roderich
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.