Discussion:
[rt.cpan.org #109252] PAR::Packer 1.028 / Windows 7 Build
(too old to reply)
Scholz, Kevin via RT
2015-11-20 21:13:53 UTC
Permalink
Fri Nov 20 16:13:52 2015: Request 109252 was acted upon.
Transaction: Ticket created by k-***@ti.com
Queue: PAR-Packer
Subject: PAR::Packer 1.028 / Windows 7 Build
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: k-***@ti.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=109252 >


Hi,

I am trying to build / install the PAR::Packer module, but appear to run into some issues (log below). I tried searching for possible solutions and it appears one might exist for Ubuntu in the link below; however, I am trying to build on Windows 7. Any help or pointers would be greatly appreciated! :)

https://rt.cpan.org/Public/Bug/Display.html?id=94008

Environment:

* Windows 7

* Strawberry Perl 5.20.3.1 64bit

* PAR::Packer 1.028

Please let me know if any additional details would be useful. Thanks!

Best regards,
Kevin



Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at C:/Development/perl/strawberry/win64-5.14.2.1/perl/site/lib/ExtUtils/MakeMaker.pm line 228
Generating a dmake-style Makefile
Writing Makefile for myldr
Writing MYMETA.yml and MYMETA.json
Generating a dmake-style Makefile
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json

cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
cp lib/pp.pm blib\lib\pp.pm
cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
"C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin\perl.exe" par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c
"C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin\perl.exe" sha1.c.PL
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -I"C:\Development\perl\strawb
erry\win64-5.14.2.1\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 main.c
main.c: In function 'main':
main.c:121:23: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
fakeargv[argno++] = my_par_pl;
^
windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output-format=coff --target=pe-x86-64
g++ main.o ppresource.coff -s -s -L"C:\Development\perl\strawberry\win64-5.14.2.1\perl\lib\CORE" -L"C:\Development\perl\strawberry\win64-5.14.2.1\c\lib" "C:\Development\perl\strawberry\win64-5.14.2
.1\perl\lib\CORE\libperl514.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libmoldname.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libkernel3
2.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libuser32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libgdi32.a" "C:\Development\perl\straw
berry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libwinspool.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libcomdlg32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86
_64-w64-mingw32\lib\libadvapi32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libshell32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libole3
2.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\liboleaut32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libnetapi32.a" "C:\Development\perl\
strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libuuid.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libws2_32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_
64-w64-mingw32\lib\libmpr.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libwinmm.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libversion.a" "
C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libodbc32.a" "C:\Development\perl\strawberry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libodbccp32.a" "C:\Development\perl\strawber
ry\win64-5.14.2.1\c\x86_64-w64-mingw32\lib\libcomctl32.a" -o par.exe
collect2.exe: error: ld returned 5 exit status
dmake: Error code 129, while making 'par.exe'
dmake: 'par.exe' removed.
dmake: Error code 255, while making 'subdirs'
Roderich Schupp via RT
2015-11-23 08:05:23 UTC
Permalink
Mon Nov 23 03:05:21 2015: Request 109252 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: PAR::Packer 1.028 / Windows 7 Build
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: k-***@ti.com
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=109252 >
Post by Scholz, Kevin via RT
I am trying to build / install the PAR::Packer module, but appear to
run into some issues (log below). I tried searching for possible
solutions and it appears one might exist for Ubuntu in the link below;
https://rt.cpan.org/Public/Bug/Display.html?id=94008
That one is unrelated to your problem.
Post by Scholz, Kevin via RT
* Windows 7
* Strawberry Perl 5.20.3.1 64bit
...
Post by Scholz, Kevin via RT
"C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin\perl.exe"
par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c
Huh, where did this C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin\perl.exe
come from, that doesn't look like something from Strawberry Perl 5.20.3.1 64bit.
Do you have several versions of Strawberry installed?

Cheers, Roderich
Scholz, Kevin via RT
2015-11-23 19:33:54 UTC
Permalink
Mon Nov 23 14:33:53 2015: Request 109252 was acted upon.
Transaction: Correspondence added by k-***@ti.com
Queue: PAR-Packer
Subject: RE: [rt.cpan.org #109252] PAR::Packer 1.028 / Windows 7 Build
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: k-***@ti.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=109252 >


Nice catch!

Yes, it appears I have/had an older version installed. I thought I only had one version installed as I had previously tried uninstalling through "Programs and Features" before installing the new version.

At any rate, removing " C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin" from my system path variable fixed the issue.

Thank you very much for pointing this out!

Best regards,
Kevin

-----Original Message-----
From: Roderich Schupp via RT [mailto:bug-PAR-***@rt.cpan.org]
Sent: Monday, November 23, 2015 2:05 AM
To: Scholz, Kevin
Subject: [rt.cpan.org #109252] PAR::Packer 1.028 / Windows 7 Build

<URL: https://rt.cpan.org/Ticket/Display.html?id=109252 >
Post by Scholz, Kevin via RT
I am trying to build / install the PAR::Packer module, but appear to
run into some issues (log below). I tried searching for possible
solutions and it appears one might exist for Ubuntu in the link below;
https://rt.cpan.org/Public/Bug/Display.html?id=94008
That one is unrelated to your problem.
Post by Scholz, Kevin via RT
* Windows 7
* Strawberry Perl 5.20.3.1 64bit
...
Post by Scholz, Kevin via RT
"C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin\perl.exe"
par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c
Huh, where did this C:\Development\perl\strawberry\win64-5.14.2.1\perl\bin\perl.exe
come from, that doesn't look like something from Strawberry Perl 5.20.3.1 64bit.
Do you have several versions of Strawberry installed?

Cheers, Roderich
Roderich Schupp via RT
2015-11-23 22:38:24 UTC
Permalink
Mon Nov 23 17:38:23 2015: Request 109252 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: PAR::Packer 1.028 / Windows 7 Build
Broken in: (no value)
Severity: (no value)
Owner: Nobody
Requestors: k-***@ti.com
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=109252 >
Post by Scholz, Kevin via RT
At any rate, removing " C:\Development\perl\strawberry\win64-
5.14.2.1\perl\bin" from my system path variable fixed the issue.
Thanks for confirming, closing this ticket.

Cheers, Roderich

Loading...