Discussion:
[rt.cpan.org #116254] Compilation error under strawberry perl 5.24 x64
(too old to reply)
Dmytro Zagashev via RT
2016-07-17 19:57:57 UTC
Permalink
Sun Jul 17 15:57:56 2016: Request 116254 was acted upon.
Transaction: Ticket created by ZDM
Queue: PAR-Packer
Subject: Compilation error under strawberry perl 5.24 x64
Broken in: 1.034
Severity: Important
Owner: Nobody
Requestors: ***@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116254 >


Here is the partial log:

gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -I"D:\devel\perl\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -DPP_VERSION=\"1.034\" -s -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
T >>= 32;
^
In file included from d:/devel/perl/c/x86_64-w64-mingw32/include/windows.h:95:0,
from mktmpdir.h:19,
from mktmpdir.c:1,
from boot.c:10:
boot.c: At top level:
boot.c:112:56: error: expected ',' or ';' before numeric constant
char pp_version_info[] = "@(#) Packed by PAR::Packer " PP_VERSION;
^
dmake: Error code 129, while making 'boot.o'
dmake.exe: Error code 255, while making 'subdirs'
FAIL
! Testing R/RS/RSCHUPP/PAR-Packer-1.034.tar.gz failed. See C:\Users\zdm\AppData\Local\Temp\.cpanm\work\1468785122.3024\build.log for details. Retry with --force to force install it.
Roderich Schupp via RT
2016-07-19 16:37:23 UTC
Permalink
Tue Jul 19 12:37:22 2016: Request 116254 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: Compilation error under strawberry perl 5.24 x64
Broken in: 1.034
Severity: Important
Owner: RSCHUPP
Requestors: ***@cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116254 >
Post by Dmytro Zagashev via RT
boot.c:112:56: error: expected ',' or ';' before numeric constant
s/PP_VERSION/PAR_PACKER_VERSION/ everywhere as Strawberry Perl also defines
PP_VERSION (in c/x86_64-w64-mingw32/include/wincrypt.h).
Fix committed, will be in the next release.

Cheers, Roderich
Javier Arturo Rodriguez
2016-07-22 17:51:47 UTC
Permalink
Thanks for the hint. This solved the problem for me:

$ perl -i.bak -pe 's/PP_VERSION/PAR_PACKER_VERSION/igs' myldr\* (in cygwin)
perl Makefile.PL && make (in cmd)
Tue Jul 19 12:37:22 2016: Request 116254 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: Compilation error under strawberry perl 5.24 x64
Broken in: 1.034
Severity: Important
Owner: RSCHUPP
Requestors: ZDM <at> cpan.org
Status: new
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116254 >
Post by Dmytro Zagashev via RT
boot.c:112:56: error: expected ',' or ';' before numeric constant
char pp_version_info[] = " <at> (#) Packed by PAR::Packer " PP_VERSION;
s/PP_VERSION/PAR_PACKER_VERSION/ everywhere as Strawberry Perl also defines
PP_VERSION (in c/x86_64-w64-mingw32/include/wincrypt.h).
Fix committed, will be in the next release.
Thanks!
Cheers, Roderich
All the best,

-Javier Arturo Rodriguez

via RT
2016-07-19 16:39:02 UTC
Permalink
Tue Jul 19 12:38:56 2016: Request 116254 was acted upon.
Transaction: Correspondence added by ***@gmail.com
Queue: PAR-Packer
Subject: Re: [rt.cpan.org #116254] Compilation error under strawberry perl 5.24 x64
Broken in: 1.034
Severity: Important
Owner: RSCHUPP
Requestors: ***@cpan.org
Status: resolved
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=116254 >


Thank you.
Post by Dmytro Zagashev via RT
<URL: https://rt.cpan.org/Ticket/Display.html?id=116254 >
Post by Dmytro Zagashev via RT
boot.c:112:56: error: expected ',' or ';' before numeric constant
s/PP_VERSION/PAR_PACKER_VERSION/ everywhere as Strawberry Perl also defines
PP_VERSION (in c/x86_64-w64-mingw32/include/wincrypt.h).
Fix committed, will be in the next release.
Cheers, Roderich
Loading...