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

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.

Related

Strawberry Perl: can't install Tcl module

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'

DBD::DB2 installation failing because of test using cpan on Strawberry Perl

I am very new to perl and I am trying to install DBD::DB2 module for perl on a windows PC using cpan but I keep getting this error:
CPAN: CPAN::SQLite loaded ok (v0.212)
Database was generated on Thu, 06 Dec 2018 20:55:19 GMT
Running install for module 'DBD::DB2'
CPAN: Digest::SHA loaded ok (v6.02)
CPAN: Compress::Zlib loaded ok (v2.081)
Checksum for D:\STRAWB~1\cpan\sources\authors\id\I\IB\IBMTORDB2\DBD-DB2-1.85.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)
Configuring I/IB/IBMTORDB2/DBD-DB2-1.85.tar.gz with Makefile.PL
Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!
Using DB2 in "D:/SQLLIB"
System: perl5.028001 DBI1.642 Win32 strawberry-perl 5.28.1.1 #1 Sun Dec 2 14:24:00 2018 x64 MSWin32-x64-multi-thread dl_win32.xs
Compiler: gcc -s -O2 -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields
Includes: -I"D:/SQLLIB/include" -I"D:\STRAWB~1\perl\site\lib/auto/DBI" -I"D:\STRAWB~1\perl\lib/auto/DBI" -I"D:\STRAWB~1\perl\vendor\lib/auto/DBI" -I"D:\STRAWB~1\perl\site\lib/auto/DBI"
Libraries: -L"D:/SQLLIB/lib" db2cli.lib db2api.lib
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing MYMETA.yml and MYMETA.json
Generating a gmake-style Makefile
Writing Makefile for DBD::DB2
Writing MYMETA.yml and MYMETA.json
IBMTORDB2/DBD-DB2-1.85.tar.gz
D:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for I/IB/IBMTORDB2/DBD-DB2-1.85.tar.gz
CPAN: Module::CoreList loaded ok (v5.20181130)
cp DB2.pm blib\lib\DBD\DB2.pm
cp DB2.pod blib\lib\DBD\DB2.pod
cp lib/Bundle/DBD/DB2.pm blib\lib\Bundle\DBD\DB2.pm
gmake[1]: Entering directory 'D:/STRAWB~1/cpan/build/DBD-DB2-1.85-10/Constants'
AutoSplitting ..\blib\lib\DBD\DB2\Constants.pm (..\blib\lib\auto\DBD\DB2\Constants)
Running Mkbootstrap for Constants ()
"D:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "Constants.bs"
"D:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Constants.bs ..\blib\arch\auto\DBD\DB2\Constants\Constants.bs 644
"D:\Strawberry\perl\bin\perl.exe" "D:\Strawberry\perl\lib\ExtUtils/xsubpp" -typemap D:\STRAWB~1\perl\lib\ExtUtils\typemap Constants.xs > Constants.xsc
"D:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Constants.xsc Constants.c
gcc -c -I"D:/SQLLIB/include" -I"D:\STRAWB~1\perl\site\lib/auto/DBI" -I"D:\STRAWB~1\perl\lib/auto/DBI" -I"D:\STRAWB~1\perl\vendor\lib/auto/DBI" -I"D:\STRAWB~1\perl\site\lib/auto/DBI" -I"D:/SQLLIB/include" -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.85\" -DXS_VERSION=\"1.85\" "-ID:\STRAWB~1\perl\lib\CORE" - DDB2_CACHE_FIX Constants.c
gmake[1]: Leaving directory 'D:/STRAWB~1/cpan/build/DBD-DB2-1.85-10/Constants'
IBMTORDB2/DBD-DB2-1.85.tar.gz
D:\STRAWB~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'DBD::DB2'.
I tried to copying the DBD::DB2 module form another computer but that did not work and gave me error Can't locate loadable object for module DBD::DB2::Constants in #INC
Any help is appreciated.
According to this technote, IBM India (possibly the maintainers of DBD:DB2) supports DBD:DB2 for Windows with ActiveState Perl. The technote also shows how to use ppm to get the pre-built module.
If you don't care about which Perl supplier , consider using Activestate Perl for Windows. If you must persist with Strawberry Perl, read on.
The current V11.1 Db2-LUW documentation also says in addition to ActiveState Perl, that 32-bit Strawberry-Perl is supported with this statement:
The working versions of Perl that works with Db2 are Activestate Perl
and 32-bit Strawberry Perl. For 32-bit Strawberry Perl specifically,
you must email opendev#us.ibm.com or contact IBM support for the
required binaries.
If you have a support contract for Db2, you might want to check with them if the Db2 documentation is accurate (frequently for non-core stuff, it is inaccurate, out of date, misleading etc), and whether they can issue 64-bit binaries for DBD::DB2.
Looking at the CPAN page for changes to DBD:DB2, seems the most recent change was in 2012. So it is unclear if this module is maintained currently.
On the same site, there is also a reported issue opened in 2013, that DBD:DB2 fails to build with Strawberry perl.
I'm sure that a determined C programmer would be able to resolve the issue...the question is whether there are enough users to bother...
I've found a work around for this, just insert this the following files:
Constants/Constants.xs
DB2.h
#ifndef __DBD_DBI_FIX__
#define __DBD_DBI_FIX__
#include <specstrings.h>
#ifndef __out_ecount_opt
#define __out_ecount_opt SAL__out_ecount_opt
#endif
#ifndef __in_ecount_opt
#define __in_ecount_opt SAL__in_ecount_opt
#endif
#ifndef __out_bcount_opt
#define __out_bcount_opt SAL__out_bcount_opt
#endif
#endif
The full fix is here:
https://github.com/ro-ag/DBD-DB2-1.86/commit/1ad9d4163656d9830fd567caf6d57603045ee392
You may also direct install it from a PPM package I've create for Windows 10:
https://github.com/ro-ag/Perl-64-PPM/raw/master/PPM-64/DBD-DB2.tar.gz
The cpan module is forgotten i've sent several e-mails to IBM to include this fix without success.
Not an anwser but a Question. Your DBD-DB2-tar.gz is missing a PPD file that strawberry perl requires for installation.

perl cpan installation error

I tried installing cpan for strawberry perl with following cpan App::cpanminus.
But following is the error I got. Could you please guide how can I resolve this issue?
C:\Strawberry\perl\bin>cpan app::cpanminus
CPAN: CPAN::SQLite loaded ok (v0.204)
Database was generated on Thu, 02 Apr 2015 07:11:45 GMT
Warning: Cannot install app::cpanminus, don't know what it is.
Try the command
i /app::cpanminus/
to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9726)
C:\Strawberry\perl\bin>i /app::cpanminus/
'i' is not recognized as an internal or external command,
operable program or batch file.
To install it without using cpan, the basic bootstrap procedure is:
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
For more information see the installation section at App::cpanminus

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

Cannot install module pp on windows 7 64 bit with Strawberry-Perl

I would like to create exe files from my perl scripts so therefore I tried to install the modul pp. But the installation failed with this output.
cpan> install pp
Database was generated on Tue, 31 Jul 2012 14:02:56 GMT
Running install for module 'pp'
Running make for R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\R\RS\RSCHUPP\PAR-Packer-1.013
.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DONE
CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.013.tar.gz
Checking if your kit is complete...
Looks good
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
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 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CON
TEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -I"C:\straw
berry\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 main.c
windres -F pei-i386 -i winres\pp.rc -o winres\pp.res
windres: can't open file `pp.manifest': No such file or directory
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
Failed during this command:
RSCHUPP/PAR-Packer-1.013.tar.gz : make NO
Does anyone know what the reason is?
Thanks for your help
There is a problem with the pp makefile.
1.Download the PM manually (Here).
2.Unzip the file and find the myldr/winres folder.
3.There will be files like pp.ico, pp.manifest, pp.rc etc. Copy these files to myldr/ directory.
4.Run the install manually.
perl Makefile.pl
dmake
dmake test
dmake install
Note- There might be dependancies so you may have to install those manually or using CPAN.
I had a similar problem, but it was because I had ActiveState Perl installed. I had to uninstall ActiveState and edit my environmental variables to remove any reference to ActiveState Perl.