Strawberry Perl: can't install Tcl module - perl

I have installed activeTcl, it seems something wrong with my tclconfig.file
window10+ strawberry perl(v5.28.1)+activeTcl(8.6.8.0)
Loading internal logger. Log::Log4perl recommended for better logging
CPAN: CPAN::SQLite loaded ok (v0.212)
Database was generated on Sat, 26 Jan 2019 12:11:52 GMT
Running install for module 'Tcl'
CPAN: Digest::SHA loaded ok (v6.02)
CPAN: Compress::Zlib loaded ok (v2.081)
Checksum for C:\STRAWB~1\cpan\sources\authors\id\V\VK\VKON\Tcl-1.27.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.32)
CPAN: YAML::XS loaded ok (v0.75)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20181130)
Configuring V/VK/VKON/Tcl-1.27.tar.gz with Makefile.PL
tclsh=C:/ActiveTcl/bin/tclsh.exe
tclConfig.sh=C:/ActiveTcl/lib/tclConfig.sh
tcl_library=C:/ActiveTcl/lib/tcl8.6
tcl_version=8.6
Using config data in C:/ActiveTcl/lib/tclConfig.sh
incpath C:\ActiveTcl\include from your tclconfig C:/ActiveTcl/lib/tclConfig.sh does not provide tcl.h at Makefile.PL line 36.
No 'Makefile' created VKON/Tcl-1.27.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Stopping: 'install' failed for 'Tcl'.

manually change the below path in tclConfig.sh file,
TCL_LIB_SPEC='-TC:\ActiveTcl\lib\tcl86t.lib'
TCL_INCLUDE_SPEC='-IC:\ActiveTcl\include'

Related

Couldn't install File::Path library with cpan

I am unable to install File::Path library using cpan. What is wrong?
# perl -v
This is perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux
Copyright 1987-2017, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
# cpan -v
/usr/bin/cpan script version 1.66, CPAN.pm version 2.18
Is there some other way how to make it installed or is there some workaround?
# cpan install File::Path
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 01 Mar 2018 13:17:03 GMT
Running install for module 'File::Path'
CPAN: Digest::SHA loaded ok (v6.01)
CPAN: Compress::Zlib loaded ok (v2.074)
Checksum for /root/.cpan/sources/authors/id/J/JK/JKEENAN/File-Path-2.15.tar.gz ok
CPAN: YAML loaded ok (v1.24)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20180220)
Configuring J/JK/JKEENAN/File-Path-2.15.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for File::Path
Writing MYMETA.yml and MYMETA.json
JKEENAN/File-Path-2.15.tar.gz
/root/localperl/bin/perl Makefile.PL -- OK
Running make for J/JK/JKEENAN/File-Path-2.15.tar.gz
cp lib/File/Path.pm blib/lib/File/Path.pm
Manifying 1 pod document
JKEENAN/File-Path-2.15.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/root/localperl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Path-Class.t .. ok
t/Path.t ........ ok
t/Path_root.t ... 1/11
# Failed test 'created a directory not owned by 1:inpuu...'
# at t/Path_root.t line 77.
# 'unable to map inpuu to a gid, group ownership not changed: at t/Path_root.t line 72.
# '
# doesn't match '(?^s:unable to map 1 to a uid, ownership not changed:)'
# Looks like you failed 1 test of 11.
t/Path_root.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
t/Path_win32.t .. skipped: not win32
t/taint.t ....... ok
Test Summary Report
-------------------
t/Path_root.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 8
Non-zero exit status: 1
Files=5, Tests=214, 2 wallclock secs ( 0.05 usr 0.01 sys + 0.36 cusr 0.09 csys = 0.51 CPU)
Result: FAIL
Failed 1/5 test programs. 1/214 subtests failed.
make: *** [test_dynamic] Error 255
JKEENAN/File-Path-2.15.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JKEENAN/File-Path-2.15.tar.gz
This test failure is a known problem on centos 7, try the patch on RT.
https://rt.cpan.org/Public/Bug/Display.html?id=121967

how to install GnuPG::Interface perl module on windows?

When I try to do this : cpan install GnuPG::Interface
either on Strawberry or Activeperl ( windows ) I get this error :
I use last perl version available 5.26.1.1
CPAN: File::Temp loaded ok (v0.2304)
CPAN: YAML::XS loaded ok (v0.66)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20170821)
Configuring A/AL/ALEXMV/GnuPG-Interface-0.52.tar.gz with Makefile.PL
which gpg ... 'which' is not recognized as an internal or external command,
operable program or batch file.
gpg (GnuPG) not found at Makefile.PL line 7.
Warning: No success on command[C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=si
te]
ALEXMV/GnuPG-Interface-0.52.tar.gz
C:\Perl64\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
Any tip ? Im actually trying to install Mail::GnuPG but GnuPG::Interface is required.
thank you
This line in Makefile.PL:
system("which", "gpg");
die "gpg (GnuPG) not found" if ( $? != 0 );
is attempting to check if gpg exists in your %PATH% but since you do not have the standard *nix utility which, it fails. You can install Perl's App::pwhich and replace that line with system("pwhich", "gpg"); if you want or, if you know that gpg is in your %PATH%, delete that line from Makefile.PL entirely.
Alternatively, you can install Git for Windows which will provide both which and gpg along with perl 5.24.1.
If one were to rewrite this Makefile.PL from scratch, I would recommend using File::Which to check for all locations on your %PATH% where a gpg executable exists.

CPAN install Module::Install fails passing tests (strawberryperl)

I'm completely new to Perl, so maybe there is something obvious I'm not seeing.
I'm using perl to compile PostgreSQL database (C++) and I need to call an "install" command (here there are PostgreSQL installation instructions, and source files with code used), this is the output:
Can't locate Install.pm in #INC (you may need to install the Install module)
(#INC contains: shows/me/several/directories/
BEGIN failed--compilation aborted at install.pl line 9.
Searching internet about this error, I found that I have to install Module::Install and here comes the error:
$ cpan Module::Install
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: CPAN::SQLite loaded ok (v0.211)
Database was generated on Mon, 11 Sep 2017 15:32:15 GMT
Running install for module 'Module::Install'
CPAN: Digest::SHA loaded ok (v5.96)
CPAN: Compress::Zlib loaded ok (v2.074)
Checksum for C:\Users\e047439\.conan\data\strawberryperl\5.26.0\conan\stable\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\cpan\sources\authors\id\E\ET\ETHER\Module-Install-1.18.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.26)
CPAN: YAML::XS loaded ok (v0.65)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20170530)
Configuring E/ET/ETHER/Module-Install-1.18.tar.gz with Makefile.PL
include C:/Users/e047439/.conan/data/strawberryperl/5.26.0/conan/stable/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/cpan/build/Module-Install-1.18-4/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Makefile.pm
include inc/Module/Install/With.pm
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Module::Install
Writing MYMETA.yml and MYMETA.json
Writing META.yml
ETHER/Module-Install-1.18.tar.gz
C:\Users\e047439\.conan\data\strawberryperl\5.26.0\conan\stable\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\perl\bin\perl.exe Makefile.PL -- OK
Running make for E/ET/ETHER/Module-Install-1.18.tar.gz
cp lib/Module/Install/Admin/Makefile.pm blib\lib\Module\Install\Admin\Makefile.pm
cp lib/Module/Install/Admin/Compiler.pm blib\lib\Module\Install\Admin\Compiler.pm
cp lib/Module/Install/Admin/Manifest.pm blib\lib\Module\Install\Admin\Manifest.pm
cp lib/Module/Install/Admin/Metadata.pm blib\lib\Module\Install\Admin\Metadata.pm
cp lib/Module/Install/Admin.pm blib\lib\Module\Install\Admin.pm
cp lib/Module/Install/Admin/Include.pm blib\lib\Module\Install\Admin\Include.pm
cp lib/Module/Install/Bundle.pm blib\lib\Module\Install\Bundle.pm
cp lib/Module/Install/Can.pm blib\lib\Module\Install\Can.pm
cp lib/Module/Install/Admin/WriteAll.pm blib\lib\Module\Install\Admin\WriteAll.pm
cp lib/Module/Install/Base.pm blib\lib\Module\Install\Base.pm
cp lib/Module/Install/Admin/Find.pm blib\lib\Module\Install\Admin\Find.pm
cp lib/Module/Install/Admin/ScanDeps.pm blib\lib\Module\Install\Admin\ScanDeps.pm
cp lib/Module/Install.pod blib\lib\Module\Install.pod
cp lib/Module/Install.pm blib\lib\Module\Install.pm
cp lib/Module/Install/Admin/Bundle.pm blib\lib\Module\Install\Admin\Bundle.pm
cp lib/Module/Install/AutoInstall.pm blib\lib\Module\Install\AutoInstall.pm
cp lib/Module/Install/API.pod blib\lib\Module\Install\API.pod
cp lib/Module/AutoInstall.pm blib\lib\Module\AutoInstall.pm
cp lib/Module/Install/With.pm blib\lib\Module\Install\With.pm
cp lib/Module/Install/Run.pm blib\lib\Module\Install\Run.pm
cp lib/Module/Install/Deprecated.pm blib\lib\Module\Install\Deprecated.pm
cp lib/Module/Install/PAR.pm blib\lib\Module\Install\PAR.pm
cp lib/Module/Install/Scripts.pm blib\lib\Module\Install\Scripts.pm
cp lib/Module/Install/Win32.pm blib\lib\Module\Install\Win32.pm
cp lib/Module/Install/Fetch.pm blib\lib\Module\Install\Fetch.pm
cp lib/Module/Install/Include.pm blib\lib\Module\Install\Include.pm
cp lib/Module/Install/MakeMaker.pm blib\lib\Module\Install\MakeMaker.pm
cp lib/Module/Install/Makefile.pm blib\lib\Module\Install\Makefile.pm
cp lib/Module/Install/Philosophy.pod blib\lib\Module\Install\Philosophy.pod
cp lib/Module/Install/Share.pm blib\lib\Module\Install\Share.pm
cp lib/Module/Install/Compiler.pm blib\lib\Module\Install\Compiler.pm
cp lib/Module/Install/WriteAll.pm blib\lib\Module\Install\WriteAll.pm
cp lib/Module/Install/Metadata.pm blib\lib\Module\Install\Metadata.pm
cp lib/Module/Install/Inline.pm blib\lib\Module\Install\Inline.pm
cp lib/Module/Install/External.pm blib\lib\Module\Install\External.pm
cp lib/Module/Install/FAQ.pod blib\lib\Module\Install\FAQ.pod
cp lib/Module/Install/DSL.pm blib\lib\Module\Install\DSL.pm
cp lib/inc/Module/Install.pm blib\lib\inc\Module\Install.pm
cp lib/inc/Module/Install/DSL.pm blib\lib\inc\Module\Install\DSL.pm
ETHER/Module-Install-1.18.tar.gz
C:\Users\e047439\.conan\data\strawberryperl\5.26.0\conan\stable\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\c\bin\gmake.exe -- OK
Running make test
"C:\Users\e047439\.conan\data\strawberryperl\5.26.0\conan\stable\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/recursive/*.t
t/01_compile.t .......................... ok
t/02_mymeta.t ........................... skipped: New EU::MM has own MYMETA support
t/03_autoinstall.t ...................... skipped: Skipping dangerous test
t/04_version.t .......................... ok
t/05_share.t ............................ 3/22
# Failed test 'make'
# at t/05_share.t line 37.
# Failed test 'Found install_share in correct dist_dir location'
# at t/05_share.t line 40.
# Failed test 'Found expected file in dist_dir location'
# at t/05_share.t line 43.
open(t\Foo39760\blib\lib\auto\share\dist\Foo\dist_file.txt): No such file or directory at (eval 27) line 3.
# Looks like your test exited with 2 just after 6.
t/05_share.t ............................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 19/22 subtests
t/06_ppport.t ........................... ok
t/07_perl_version.t ..................... ok
t/08_dsl.t .............................. ok
t/09_read.t ............................. ok
t/10_test.t ............................. ok
t/11_extraction.t ....................... ok
t/12_eumm_params.t ...................... ok
t/13_author_tests.t ..................... ok
t/13_author_tests_ext.t ................. skipped: requires Module::Install::AuthorTests
t/13_author_tests_ext2.t ................ skipped: requires Module::Install::ExtraTests 0.007
t/14_auto_include_deps_with_version.t ... skipped: your perl is new enough to have File::Spec 3.30 in core
t/15_wrong_usage.t ...................... ok
t/16_require.t .......................... ok
t/17_sign.t ............................. ok
t/18_all_from.t ......................... ok
t/19_authors.t .......................... ok
t/20_authors_with_special_characters.t .. ok
t/21_makemaker_args.t ................... ok
t/22_installdirs.t ...................... 12/24 old INSTALLDIRS (probably set by makemaker_args) is overriden by installdirs
t/22_installdirs.t ...................... ok
t/23_pl_files.t ......................... ok
t/24_multiple_license_blocks.t .......... ok
t/25_perl_version_from.t ................ ok
t/26_unknown_func.t ..................... ok
t/27_build_requires_and_include.t ....... 1/14 Warning: prerequisite Test::More 9999 not found. We have 1.302085.
t/27_build_requires_and_include.t ....... ok
t/28_makemaker_args.t ................... ok
t/29_requires_from.t .................... ok
t/30_build_subdirs.t .................... ok
t/31_add_metadata.t ..................... ok
t/32_module_name.t ...................... ok
t/33_copy.t ............................. ok
t/34_readwrite.t ........................ ok
t/recursive/test.t ...................... ok
Test Summary Report
-------------------
t/05_share.t (Wstat: 512 Tests: 6 Failed: 3)
Failed tests: 4-6
Non-zero exit status: 2
Parse errors: Bad plan. You planned 22 tests but ran 6.
Files=37, Tests=541, 76 wallclock secs ( 0.25 usr + 0.25 sys = 0.50 CPU)
Result: FAIL
Failed 1/37 test programs. 3/541 subtests failed.
gmake: *** [Makefile:823: test_dynamic] Error 255
ETHER/Module-Install-1.18.tar.gz
C:\Users\e047439\.conan\data\strawberryperl\5.26.0\conan\stable\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\c\bin\gmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ETHER/Module-Install-1.18.tar.gz
Stopping: 'install' failed for 'Module::Install'.
Some tests are failing and I don't know neither how to bypass it nor to solve it.
Thanks in advance.
Many scripts assume the script's directory is in #INC. That usually worked because the scripts's directory often happened to be the same as the CWD, and the CWD (.) was in #INC. But it wasn't always the case, and it's virtually never the case now that . is no longer in #INC.
In src/tools/msvc/install.pl,
Before the following:
use Install qw(Install);
Add the following:
use FindBin qw( $RealBin );
use lib $RealBin;

How do I install GD for Perl?

I tried to install it but it gave an error. I don't know what -lwebp is.
$ cpan install GD
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: Storable loaded ok (v2.53_01)
Reading '/home/Chloe/.cpan/Metadata'
Database was generated on Sat, 24 Dec 2016 21:17:02 GMT
Running install for module 'GD'
CPAN: Digest::SHA loaded ok (v5.96)
CPAN: Compress::Zlib loaded ok (v2.069)
Checksum for /home/Chloe/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok
CPAN: YAML loaded ok (v1.20)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v1.4417)
CPAN: CPAN::Meta loaded ok (v2.150005)
CPAN: Module::CoreList loaded ok (v5.20160320)
CPAN: Module::Build loaded ok (v0.4216)
Configuring L/LD/LDS/GD-2.56.tar.gz with Build.PL
CPAN: CPAN::Reporter loaded ok (v1.2018)
gdlib-config: warning: this script is deprecated; please use the pkg-config file instead.
Configuring for libgd version 2.2.3.
Checking for stray libgd header files...none found.
Included Features: GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_ZLIB GD_PNG GD_FREETYPE GD_FONTCONFIG GD_JPEG GD_XPM GD_TIFF GD_WEBP
GD library used from: /usr
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'GD' version '2.56'
(/usr/bin/perl Build.PL exited with 0)
CPAN::Reporter: Build.PL result is 'pass', No errors.
LDS/GD-2.56.tar.gz
/usr/bin/perl Build.PL -- OK
Running Build for L/LD/LDS/GD-2.56.tar.gz
Building GD
Extracting Image.pm (with variable substitutions)
gcc -I/usr/include -I/usr/lib/perl5/5.22/i686-cygwin-threads-64int/CORE -DVERSION="2.56" -DXS_VERSION="2.56" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_FONTCONFIG -c -DPERL_USE_SAFE_PUTENV -D_GNU_SOURCE -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/mnt/share/maint/perl.x86/build=/usr/src/debug/perl-5.22.2-1 -fdebug-prefix-map=/mnt/share/maint/perl.x86/src/perl-5.22.2=/usr/src/debug/perl-5.22.2-1 -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O3 -o lib/GD.o lib/GD.c
lib/GD.xs: In function ‘XS_GD__Image_stringFT’:
lib/GD.xs:2187:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
img = (gdImagePtr) tmp;
^
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/GD/GD.bs')
g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong -o blib/arch/auto/GD/GD.dll lib/GD.o /usr/lib/perl5/5.22/i686-cygwin-threads-64int/CORE/libperl.dll.a -L/usr/lib -lz -lpng16 -lfreetype -lfontconfig -lfreetype -ljpeg -lXpm -lX11 -ltiff -lwebp -liconv -lgd
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: cannot find -lwebp
collect2: error: ld returned 1 exit status
error building blib/arch/auto/GD/GD.dll from lib/GD.o at /usr/lib/perl5/site_perl/5.22/ExtUtils/CBuilder/Base.pm line 321.
(./Build exited with 512)
CPAN::Reporter: Build result is 'unknown', Stopped with an error.
CPAN::Reporter: preparing a CPAN Testers report for GD-2.56
Do you want to review or edit the test report? (yes/no) [no] no
Do you want to send the report? (yes/no) [yes] yes
CPAN::Reporter: sending test report with 'unknown' via Metabase
LDS/GD-2.56.tar.gz
./Build -- NOT OK
I have libgd-devel installed. This is a different error than (CPAN GD module install failure using Cygwin). CPAN Testers says GD installed OK
http://www.cpantesters.org/distro/G/GD.html
Windows 8.1 64bit, Cygwin 2.6.1 32bit, Perl v5.22.2
I installed libwebp and libwebp-devel from setup-x86 and now it says it succeeded but the tests failed.
CPAN::Reporter: Build result is 'pass', No errors.
LDS/GD-2.56.tar.gz
./Build -- OK
Running Build test
# Testing using gd2 support.
# Failed test 'image comparison test 7'
# at t/GD.t line 249.
# Looks like you failed 1 test of 11.
t/GD.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
t/Polyline.t .. ok
Test Summary Report
-------------------
t/GD.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 9
Non-zero exit status: 1
Files=2, Tests=12, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.19 cusr 0.12 csys = 0.34 CPU)
Result: FAIL
Failed 1/2 test programs. 1/12 subtests failed.
(./Build test exited with 65280)
CPAN::Reporter: Test result is 'fail', One or more tests failed.
2.53 worked! Also this might be useful: stackoverflow.com/questions/260593/… You have to use install L/LD/LDS/GD-2.53.tar.gz from within CPAN as it doesn't work on the command line.
– Chloe

Issue installing PAR::Packer with strawberry Perl

I'm struggling for two days now to get the PAR::Packer module installed. I'm new to CPAN, and this is the first module I want to install, so I first thought it is me. But I reinstalled strawberry Perl a few times now and also used an older versions. The installation always fails with:
windres: unexpected version string length 68 != 32 + 8
I found a few hits on this string and it appears to be an issue with MingW (whatever this is):
http://mingw.5.n7.nabble.com/Wine-crosstest-build-fails-with-quot-unexpected-version-string-length-68-32-8-quot-td29953.html#a29975
But I do not know how to get this patch and how to install it.
Below the hole capture of the installation:
C:\Documents and Settings\shepp>cpan PAR::Packer CPAN: CPAN::SQLite
loaded ok (v0.202) Database was generated on Tue, 27 Nov 2012 20:58:53
GMT Running install for module 'PAR::Packer' Running make for
R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz CPAN: LWP::UserAgent loaded ok
(v6.04) CPAN: Time::HiRes loaded ok (v1.9725) Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
CPAN: YAML::XS loaded ok (v0.38) CPAN: Digest::SHA loaded ok (v5.72)
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/R/RS/RSCHUPP/CHECKSUMS CPAN:
Compress::Zlib loaded ok (v2.055) Checksum for
C:\strawberry\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.013
.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) CPAN: File::Temp
loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN:
CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok
(v2.74)
CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
Checking if your kit is complete... Looks good Warning: prerequisite
Getopt::ArgvFile 1.07 not found. Warning: prerequisite
Module::ScanDeps 1.05 not found. Prototype mismatch: sub main::prompt:
none vs ($;$) at C:/strawberry/perl/lib/Ex tUtils/MakeMaker.pm line
219. Writing Makefile for par.exe Writing MYMETA.yml and MYMETA.json Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- RSCHUPP/PAR-Packer-1.013.tar.gz ----
Getopt::ArgvFile [requires]
Module::ScanDeps [requires] Running make test Delayed until after prerequisites Running make install Delayed until after
prerequisites Running install for module 'Getopt::ArgvFile' Running
make for J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar
.gz Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JS/JSTENZEL/CHECKSUMS
Checksum for
C:\strawberry\cpan\sources\authors\id\J\JS\JSTENZEL\Getopt-ArgvFile
-1.11.tar.gz ok
CPAN.pm: Building J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for
Getopt::ArgvFile Writing MYMETA.yml and MYMETA.json cp ArgvFile.pm
blib\lib\Getopt\ArgvFile.pm JSTENZEL/Getopt-ArgvFile-1.11.tar.gz
C:\strawberry\c\bin\dmake.exe -- OK Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/base.t ...........
ok t/expandenv.t ...... ok t/fileopt.t ........ ok t/noHOMEvar.t
...... ok t/pod-coverage.t ... skipped: Test::Pod::Coverage 1.00
required for testing POD coverage t/pod.t ............ skipped:
Test::Pod 1.00 required for testing POD t/prefix.t ......... ok
t/resolvepathes.t .. ok t/use1.t ........... ok t/use2.t ...........
ok All tests successful. Files=10, Tests=43, 3 wallclock secs ( 0.08
usr + 0.09 sys = 0.17 CPU) Result: PASS
JSTENZEL/Getopt-ArgvFile-1.11.tar.gz C:\strawberry\c\bin\dmake.exe
test -- OK Running make install Installing
C:\strawberry\perl\site\lib\Getopt\ArgvFile.pm Appending installation
info to C:\strawberry\perl\lib/perllocal.pod
JSTENZEL/Getopt-ArgvFile-1.11.tar.gz C:\strawberry\c\bin\dmake.exe
install UNINST=1 -- OK Running install for module 'Module::ScanDeps'
Running make for R/RS/RSCHUPP/Module-ScanDeps-1.10.tar.gz Fetching
with LWP:
http://cpan.strawberryperl.com/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1.10.tar.
gz Checksum for
C:\strawberry\cpan\sources\authors\id\R\RS\RSCHUPP\Module-ScanDeps-
1.10.tar.gz ok
CPAN.pm: Building R/RS/RSCHUPP/Module-ScanDeps-1.10.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for
Module::ScanDeps Writing MYMETA.yml and MYMETA.json cp
lib/Module/ScanDeps/Cache.pm blib\lib\Module\ScanDeps\Cache.pm cp
lib/Module/ScanDeps/DataFeed.pm blib\lib\Module\ScanDeps\DataFeed.pm
cp lib/Module/ScanDeps.pm blib\lib\Module\ScanDeps.pm
C:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp --
script/scan deps.pl blib\script\scandeps.pl pl2bat.bat
blib\script\scandeps.pl RSCHUPP/Module-ScanDeps-1.10.tar.gz
C:\strawberry\c\bin\dmake.exe -- OK Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/0-pod.t
....................................... skipped: Test::Pod 1.00 requir
ed for testing POD t/1-static_functional_interface_real.t ..........
ok t/10-case-insensitive-keys.t .................... ok
t/12-ScanFileRE.t ............................... ok
t/13-static_prefork_test.t ...................... skipped: This test
requires pr efork.pm which is not installed. Skipping.
t/14-scan_chunk.t ............................... ok
t/14-static_functional_cached.t ................. 1/? 0 Couldn't
retrieve data from file deps_cache.dat. Building new cache.
t/14-static_functional_cached.t ................. ok t/16-scan_line.t
................................ ok t/17-private_methods.t
.......................... ok t/2-static_functional_interface_fake.t
.......... ok t/3-static_oo_interface_real.t .................. ok
t/4-static_functional_interface_options_fake.t .. ok
t/5-pluggable_fake.t ............................ ok t/6-file-glob.t
................................. ok t/7-check-dynaloader.t
.......................... # dynamic modules used for tes t: Cwd
File::Glob Data::Dumper List::Util Time::HiRes Compress::Raw::Zlib
t/7-check-dynaloader.t .......................... 1/36
C:\DOCUME~1\shepp\LOCALS~ 1\Temp\5xtWJc0E06 syntax OK
C:\DOCUME~1\shepp\LOCALS~1\Temp\JzIXUYCKFa syntax OK
t/7-check-dynaloader.t .......................... 11/36
C:\DOCUME~1\shepp\LOCALS ~1\Temp\jGWh6j7CQ_ syntax OK
C:\DOCUME~1\shepp\LOCALS~1\Temp\vHQnTPJrl3 syntax OK
t/7-check-dynaloader.t .......................... 21/36
C:\DOCUME~1\shepp\LOCALS ~1\Temp\4nv64Rabo3 syntax OK
t/7-check-dynaloader.t .......................... 29/36
C:\DOCUME~1\shepp\LOCALS ~1\Temp\tX8ukeJjGy syntax OK
t/7-check-dynaloader.t .......................... ok
t/8-check_duplicated_entries.t .................. ok
t/9-check_path_to_inc_name.t .................... ok All tests
successful. Files=17, Tests=17352, 67 wallclock secs ( 1.89 usr +
0.22 sys = 2.11 CPU) Result: PASS RSCHUPP/Module-ScanDeps-1.10.tar.gz C:\strawberry\c\bin\dmake.exe
test -- OK Running make install Installing
C:\strawberry\perl\site\lib\Module\ScanDeps.pm Installing
C:\strawberry\perl\site\lib\Module\ScanDeps\Cache.pm Installing
C:\strawberry\perl\site\lib\Module\ScanDeps\DataFeed.pm Installing
C:\strawberry\perl\site\bin\scandeps.bat Installing
C:\strawberry\perl\site\bin\scandeps.pl Appending installation info to
C:\strawberry\perl\lib/perllocal.pod
RSCHUPP/Module-ScanDeps-1.10.tar.gz C:\strawberry\c\bin\dmake.exe
install UNINST=1 -- OK Running make for
R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz Has already been unwrapped into
directory C:\strawberry\cpan\build\PAR-Packer-
1.013-PEitq2
CPAN.pm: Building R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm cp
lib/PAR/Packer.pm blib\lib\PAR\Packer.pm cp
lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm cp
lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm cp
lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.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:\strawberry\perl\bin\perl.exe
file2c.pl -s ..\script\par.pl my_par_pl.c load_m y_par_pl
C:\strawberry\perl\bin\perl.exe sha1.c.PL gcc -c -s -O2 -DWIN32
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IM PLICIT_SYS -fno-strict-aliasing -mms-bitfields -I"C:\strawberry\perl\lib\CORE" -DLOAD_MY_LIBGCC -DPARL_EXE=\"parl.exe\" -s -O2 main.c windres -F pei-i386 -i winres\pp.rc -o winres\pp.res windres -o ppresource.coff
winres\pp.res windres: unexpected version string length 68 != 32 + 8
dmake: Error code 129, while making 'ppresource.coff' dmake.exe:
Error code 255, while making 'subdirs'
RSCHUPP/PAR-Packer-1.013.tar.gz C:\strawberry\c\bin\dmake.exe -- NOT
OK Running make test Can't test without successful make Running make
install Make had returned bad status, install seems impossible
Stopping: 'install' failed for 'R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz'.
Bug #77408 for PAR-Packer: Cannot build on Win64/Perl64
update: Strawberryperl/Dwimperl uses the MinGW compiler, and the above bug report includes a patch for this issue
I finally got it working using the patched version of PAR:Packer :
http://strawberryperl.com/package/kmx/perl-modules-patched/PAR-Packer-1.013_patched.tar.gz
Thanks
Siegfried