Thu May 12 14:57:53 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 downloaded PAR::Packer, version 1.032 from 
https://metacpan.org/release/PAR-Packer.
When I started installing after untaring it, I was prompted that two 
pre-requisite packages were missing,
1) Getopt::ArgvFile
2) Module::ScanDeps

I installed them using command
>cpan [Package name]

They installed successfully. Then, I tried to run the Makefile.PL again for 
installing PAR::Packer, and output is as follows:


C:\Users\jinishsh\Downloads\PAR-Packer-1.032>perl Makefile.PL
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
Skip blib\lib\PAR\Filter\PatchContent.pm (unchanged)
Skip blib\lib\PAR\Filter\PodStrip.pm (unchanged)
Skip blib\lib\PAR\Filter.pm (unchanged)
Skip blib\lib\PAR\Packer.pm (unchanged)
Skip blib\lib\PAR\Filter\Bytecode.pm (unchanged)
Skip blib\lib\PAR\Filter\Bleach.pm (unchanged)
Skip blib\lib\PAR\StrippedPARL\Base.pm (unchanged)
Skip blib\lib\pp.pm (unchanged)
Skip blib\lib\PAR\Filter\Obfuscate.pm (unchanged)
Skip blib\lib\App\Packer\PAR.pm (unchanged)
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;
                 ^
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'




Still getting same errors.

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

Reply via email to