I have just uninstalled Strawberry Perl and reinstalled it then attempted to install PAR::Packer with:
cpanm PAR::Packer C:\>cpanm --force PAR::Packer --> Working on PAR::Packer Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.050. +tar.gz ... OK Configuring PAR-Packer-1.050 ... OK Building and testing PAR-Packer-1.050 ... FAIL ! Installing PAR::Packer failed. See C:\...\build.log for details. Ret +ry with --force to force install it.
Using the force produced the same result. The log contents look happy until:
gmake[1]: Entering directory 'C:/.../PAR-Packer-1.050/myldr' Makefile:870: warning: overriding recipe for target '.c.o' Makefile:340: warning: ignoring old recipe for target '.c.o' "C:\Strawberry\perl\bin\perl.exe" par_pl2c.pl my_par_pl < ..\script\pa +r.pl > my_par_pl.c gcc -c -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPT +S -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -f +no-strict-aliasing -mms-bitfields -I"C:\STRAWB~1\perl\lib\CORE" -DL +DLIBPTHNAME=\"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.050 +\" -s -O2 main.c In file included from C:/STRAWB~1/perl/lib/CORE/perl.h:6158, from main.c:2: C:/STRAWB~1/perl/lib/CORE/inline.h: In function `Perl_is_utf8_invarian +t_string_loc': C:/STRAWB~1/perl/lib/CORE/inline.h:451: warning: cast from pointer to +integer of different size C:/STRAWB~1/perl/lib/CORE/inline.h:451: warning: cast from pointer to +integer of different size C:/STRAWB~1/perl/lib/CORE/inline.h:451: warning: cast from pointer to +integer of different size C:/STRAWB~1/perl/lib/CORE/inline.h:454: warning: cast from pointer to +integer of different size C:/STRAWB~1/perl/lib/CORE/inline.h:459: warning: cast from pointer to +integer of different size gcc -c -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPT +S -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -f +no-strict-aliasing -mms-bitfields -I"C:\STRAWB~1\perl\lib\CORE" -DL +DLIBPTHNAME=\"\" -DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.050 +\" -s -O2 -DBYTEORDER=0x12345678 -DU64TYPE="unsigned long long" sha1. +c windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output- +format=coff --target=pe-x86-64 C:\Perl\site\lib\auto\MinGW\bin\windres.exe: Can't detect target endia +ness and architecture. gmake[1]: *** [Makefile:880: ppresource.coff] Error 1 gmake[1]: Leaving directory 'C:/.../PAR-Packer-1.050/myldr' gmake: *** [Makefile:545: subdirs] Error 2 -> FAIL Installing PAR::Packer failed. See C:\...\build.log for detail +s. Retry with --force to force install it. 2 distributions installed
The interesting bit seems to be
which is related to windres -i winres/pp.rc ... --target=pe-x86-64. However pe-x86-64 doesn't seem to be a valid target on my system. windres --help reports:C:\Perl\site\lib\auto\MinGW\bin\windres.exe: Can't detect target endia +ness and architecture. gmake[1]: *** [Makefile:880: ppresource.coff] Error 1
C:\Perl\site\lib\auto\MinGW\bin\windres.exe: supported targets: pe-i38 +6 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex b +inary ihex
I've no idea how to fix that.
In reply to Re^3: PAR::Packer fails to install
by GrandFather
in thread PAR::Packer fails to install
by BernieC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |