Wed May 11 14:43:52 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 uninstalled perl v5.22.0 and reinstalled perl v5.24.0.
I downloaded package
PAR-Packer-1.013_patched.tar
after extracting, I executed
>perl Makefile.PL
Prototype mismatch: sub main::prompt: none vs ($;$) at
C:/Strawberry/perl/lib/ExtUtils/MakeMaker.pm line 240.
Warning: NAME must be a package name
Writing MYMETA.yml and MYMETA.json
Generating a dmake-style Makefile
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
THEN I RUN DMAKE command
>dmake
Skip blib\lib\App\Packer\PAR.pm (unchanged)
Skip blib\lib\PAR\Packer.pm (unchanged)
Skip blib\lib\PAR\Filter\PatchContent.pm (unchanged)
Skip blib\lib\PAR\Filter\Bleach.pm (unchanged)
Skip blib\lib\PAR\Filter.pm (unchanged)
Skip blib\lib\PAR\Filter\PodStrip.pm (unchanged)
Skip blib\lib\PAR\StrippedPARL\Base.pm (unchanged)
Skip blib\lib\PAR\Filter\Obfuscate.pm (unchanged)
Skip blib\lib\PAR\Filter\Bytecode.pm (unchanged)
Skip blib\lib\pp.pm (unchanged)
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields
-I"C:\STRAWB~1\perl\lib\CORE" -DLOAD_MY_LIBGCC -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:\STRAWB~1\c\i686-w64-mingw32\lib\libuser32.a" "C:\STRAWB~1\c\i686-
w64-mingw32\lib\libgdi32.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libwinspool.a"
"C:\STRAWB~1\c\i686-w64-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-mingw32\lib\libole32.a" "C:\STRAWB~1\c\i686-w
64-mingw32\lib\liboleaut32.a"
"C:\STRAWB~1\c\i686-w64-mingw32\lib\libnetapi32.a"
"C:\STRAWB~1\c\i686-w64-mingw32\lib\libuuid.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:\STRAWB~1\c\i686-w64-mingw
32\lib\libversion.a" "C:\STRAWB~1\c\i686-w64-mingw32\lib\libodbc32.a"
"C:\STRAWB~1\c\i686-w64-mingw32\lib\libodbccp32.a"
"C:\STRAWB~1\c\i686-w64-mingw32\lib\libcomctl32.a" -o par.exe
main.o:main.c:(.text+0x1956): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1a87): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1af3): 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+0x1e16): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1e4b): more undefined references to
`__imp_Perl_get_context' follow
main.o:main.c:(.text+0x1ee2): undefined reference to `__imp_Perl_newXS'
main.o:main.c:(.text+0x1ef0): undefined reference to `boot_DynaLoader'
main.o:main.c:(.text+0x1f0c): undefined reference to `boot_Win32CORE'
main.o:main.c:(.text+0x1f38): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x1f6f): undefined reference to `__imp_Perl_newXS_flags'
main.o:main.c:(.text+0x2078): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x2573): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x259b): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x26ee): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x32f3): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x3352): undefined reference to `__imp_Perl_gv_fetchpv'
main.o:main.c:(.text+0x3381): undefined reference to `__imp_Perl_av_fetch'
main.o:main.c:(.text+0x3388): undefined reference to `__imp_Perl_sv_2pv_flags'
main.o:main.c:(.text+0x344c): undefined reference to `__imp_Perl_sv_setpv'
main.o:main.c:(.text+0x34b5): undefined reference to `__imp_Perl_sv_setpv'
main.o:main.c:(.text+0x354c): undefined reference to `__imp_Perl_av_shift'
main.o:main.c:(.text+0x357a): undefined reference to `__imp_Perl_mg_set'
main.o:main.c:(.text+0x35b7): undefined reference to
`__imp_Perl_croak_nocontext'
main.o:main.c:(.text+0x35ec): undefined reference to
`__imp_Perl_croak_nocontext'
main.o:main.c:(.text+0x3688): undefined reference to `__imp_Perl_get_context'
main.o:main.c:(.text+0x3698): undefined reference to `__imp_Perl_dounwind'
main.o:main.c:(.text+0x36a4): undefined reference to
`__imp_Perl_save_destructor_x'
main.o:main.c:(.text+0x1e31): undefined reference to `PUSHEVAL'
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_context'
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_context'
main.o:main.c:(.text.startup+0xa5): undefined reference to
`__imp_Perl_safesysmalloc'
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_wrap'
main.o:main.c:(.text.startup+0x1e5): undefined reference to
`__imp_Perl_croak_nocontext'
main.o:main.c:(.text.startup+0x1ec): undefined reference to
`__imp_Perl_get_context'
main.o:main.c:(.rdata$.refptr.boot_Win32CORE[.refptr.boot_Win32CORE]+0x0):
undefined reference to `boot_Win32CORE'
main.o:main.c:(.rdata$.refptr.boot_DynaLoader[.refptr.boot_DynaLoader]+0x0):
undefined 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'
This is the error I faced during installation phase.
Please help!
Thanks and Regards
Jinish Shah
________________________________________
From: Roderich Schupp via RT <[email protected]>
Sent: Wednesday, May 11, 2016 12:41 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 02:03:40, [email protected] wrote:
> It gives me error like
>
> C:\WINDOWS\TEMP\pp5YAu5.par: No such file or directory at
> C:/Strawberry/perl/lib/File/Temp.pm line 826.
Please post the complete output of a clean rebuild of PAR::Packer,
i.e. unpack tarball, "perl Makefile.PL", "dmake", "dmake test".
Also, what Perl distribution are you using?
Cheers, Roderich