isri has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I was trying to install PAR::Packer module on Strawberry Perl 5.10.1.2 and also was trying with newest 5.12.0.1 but still getting this error (for PAR::Packer and also dependicies):

Checking if your kit is complete... Looks good Writing Makefile for Module::ScanDeps dmake.EXE: Error: -- c:\winxs: Invalid argument SMUELLER/Module-ScanDeps-0.97.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 Running install for module 'Win32::Exe' Running make for M/MD/MDOOTSON/Win32-Exe-0.14.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\M\MD\MDOOTSON\Win32 +-Exe-0.14.tar.gz ok CPAN.pm: Going to build M/MD/MDOOTSON/Win32-Exe-0.14.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite XML::Simple 2.18 not found. Writing Makefile for Win32::Exe::InsertResourceSection Writing Makefile for Win32::Exe ---- Unsatisfied dependencies detected during ---- ---- MDOOTSON/Win32-Exe-0.14.tar.gz ---- XML::Simple [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'XML::Simple' Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\G\GR\GRANTM\XML-Sim +ple-2.18.tar.gz ok CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.18.tar.gz Checking installed modules ... XML::SAX is installed, it will be used by the test suite Checking if your kit is complete... Looks good Writing Makefile for XML::Simple dmake.EXE: Error: -- c:\winxs: Invalid argument GRANTM/XML-Simple-2.18.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 Running make for M/MD/MDOOTSON/Win32-Exe-0.14.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\W +in32-Exe-0.14-E6Brbj CPAN.pm: Going to build M/MD/MDOOTSON/Win32-Exe-0.14.tar.gz Warning: Prerequisite 'XML::Simple => 2.18' for 'MDOOTSON/Win32-Exe-0. +14.tar.gz' failed when processing 'GRANTM/XML-Simp le-2.18.tar.gz' with 'make => NO'. Continuing, but chances to succeed +are limited. dmake.EXE: Error: -- c:\winxs: Invalid argument MDOOTSON/Win32-Exe-0.14.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 Running make for R/RS/RSCHUPP/PAR-Packer-1.006.tar.gz Has already been unwrapped into directory C:\strawberry\cpan\build\P +AR-Packer-1.006-mBqqJz CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.006.tar.gz Warning: Prerequisite 'Getopt::ArgvFile => 1.07' for 'RSCHUPP/PAR-Pack +er-1.006.tar.gz' failed when processing 'JSTENZEL/ Getopt-ArgvFile-1.11.tar.gz' with 'make => NO'. Continuing, but chance +s to succeed are limited. Warning: Prerequisite 'Module::ScanDeps => 0.96' for 'RSCHUPP/PAR-Pack +er-1.006.tar.gz' failed when processing 'SMUELLER/ Module-ScanDeps-0.97.tar.gz' with 'make => NO'. Continuing, but chance +s to succeed are limited. Warning: Prerequisite 'Win32::Exe => 0.14' for 'RSCHUPP/PAR-Packer-1.0 +06.tar.gz' failed when processing 'MDOOTSON/Win32- Exe-0.14.tar.gz' with 'make => NO'. Continuing, but chances to succeed + are limited. dmake.EXE: Error: -- c:\winxs: Invalid argument RSCHUPP/PAR-Packer-1.006.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: JSTENZEL/Getopt-ArgvFile-1.11.tar.gz : make NO SMUELLER/Module-ScanDeps-0.97.tar.gz : make NO GRANTM/XML-Simple-2.18.tar.gz : make NO MDOOTSON/Win32-Exe-0.14.tar.gz : make NO RSCHUPP/PAR-Packer-1.006.tar.gz : make NO

I've found some posts on google that people were able to make it. Has anyone meet simmilar problem?

Thanks a lot

Replies are listed 'Best First'.
Re: Problem with install PAR::Packer on Strawberry Perl 5.10 and 5.12
by marto (Cardinal) on Jul 12, 2010 at 13:28 UTC

    Odd, could you please post the output of the following command:

    cpan> o conf
Re: Problem with install PAR::Packer on Strawberry Perl 5.10 and 5.12
by syphilis (Archbishop) on Jul 12, 2010 at 23:24 UTC
    dmake.EXE: Error: -- c:\winxs: Invalid argument

    What's in c:\winxs ? And what does dmake -V output ?

    Cheers,
    Rob

      Hello

      Thanks for fast response.

      Perl is installed in C:\strawberry

      c:\winxs contains following files, but honestly I don't know is it was created by Perl installation.

      C:\strawberry\perl\bin>ls c:\winxs ARJ.EXE diff.exe funzip.exe man.exe rm.exe touch +.exe cat.doc dircmp.exe GENUTS.EXE man.tbs rm.wri touch +.wri cat.exe dos2unix.exe GENUTS.HLP MORE.EXE Sed.exe tr.do +c cat.wri DOSCONV.EXE grep.exe MORE.HLP SETUP.GID tr.ex +e chmod.doc DOSCONV.GID gunzip.exe mv.doc SETUP.HLP tr.wr +i chmod.exe DOSCONV.HLP GZIP.EXE mv.exe sleep.doc unix2 +dos.exe chmod.wri du.doc HD.EXE mv.wri sleep.exe Uptim +e.exe cmp.exe du.exe HD.HLP NICE.EXE Sort.exe wc.do +c col.exe du.wri head.doc Nl.exe Split.exe wc.ex +e compress.exe entab.doc head.exe pr.doc strings.doc wc.wr +i cp.doc entab.exe head.wri pr.exe strings.exe which +.doc cp.exe Expand.exe hostname.exe PR.HLP strings.wri which +.exe cp.wri File.exe KILL.EXE pr.wri tail.doc Whoam +i.exe csplit.exe FILTERS.EXE License.txt PS.EXE tail.exe WINPA +X.HLP date.exe FILTERS.HLP ll.bat PWD.EXE tail.wri WINXS +DLL.DLL date.wri find.exe ls.doc read.me tar.exe WINXS +SH.HLP df.doc Fmt.exe ls.exe readme telnet.exe Df.exe Fold.exe ls.wri rm.doc touch.doc

      Here you can find dmake -v

      C:\strawberry\perl\bin>dmake -v dmake: Openning [C:\strawberry\c\bin\startup\startup.mk] for read (su +ccess) dmake: Openning [C:\strawberry\c\bin\startup\config.mk] for read (suc +cess) dmake: C:\strawberry\c\bin\startup\config.mk: line 5: Warning: -- M +acro `OS' redefined after use dmake: Closing [C:\strawberry\c\bin\startup\config.mk] dmake: Openning [C:\strawberry\c\bin\startup\local.mk] for read (fail +) dmake: Openning [C:\strawberry\c\bin\startup\win95\macros.mk] for rea +d (success) dmake: Openning [C:\strawberry\c\bin\startup\win95\microsft\macros.mk +] for read (success) dmake: Openning [C:\strawberry\c\bin\startup\win95\microsft\vpp40\mac +ros.mk] for read (fail) dmake: Closing [C:\strawberry\c\bin\startup\win95\microsft\macros.mk] dmake: Closing [C:\strawberry\c\bin\startup\win95\macros.mk] dmake: C:\strawberry\c\bin\startup\startup.mk: line 140: Warning: - +- More than one prerequisite for %-target without :| as ruleop. Only the first is currently used. Check your makefiles!. dmake: C:\strawberry\c\bin\startup\startup.mk: line 144: Warning: - +- More than one prerequisite for %-target without :| as ruleop. Only the first is currently used. Check your makefiles!. dmake: Openning [C:\strawberry\c\bin\startup\win95\recipes.mk] for re +ad (success) dmake: Openning [C:\strawberry\c\bin\startup\win95\microsft\recipes.m +k] for read (fail) dmake: Closing [C:\strawberry\c\bin\startup\win95\recipes.mk] dmake: Openning [project.mk] for read (fail) dmake: Closing [C:\strawberry\c\bin\startup\startup.mk] dmake: Openning [makefile.mk] for read (fail) dmake: Infering prerequisite(s) and recipe for [makefile.mk] dmake: Time stamp of [makefile.mk] is 0 dmake: Openning [makefile] for read (fail) dmake: Infering prerequisite(s) and recipe for [makefile] dmake: Time stamp of [makefile] is 0 dmake: Error: -- No target
        Hello Isri, Is it possible to know how do you fix this bug? I am facing the same error with perl 5.12 ---------------------------------------------------------- CPAN.pm: Going to build R/RS/RSCHUPP/PAR-Packer-1.010.tar.gz Warning: Prerequisite 'PAR => 1.000' for 'R/RS/RSCHUPP/PAR-Packer-1.010.tar.gz' failed when processing 'S/SM/SMUELLER/PAR-1.002.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'Getopt::ArgvFile => 1.07' for 'R/RS/RSCHUPP/PAR-Packer-1.010.tar.gz' failed when processing 'J/JS/JSTENZEL/Getopt-ArgvFile-1.11.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'PAR::Dist => 0.22' for 'R/RS/RSCHUPP/PAR-Packer-1.010.tar.gz' failed when processing 'S/SM/SMUELLER/PAR-Dist-0.47.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'Module::ScanDeps => 1.01' for 'R/RS/RSCHUPP/PAR-Packer-1.010.tar.gz' failed when processing 'R/RS/RSCHUPP/Module-ScanDeps-1.03.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. RSCHUPP/PAR-Packer-1.010.tar.gz make -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible ---------------------------------------------------------- Thanks so much. regards.
Re: Problem with install PAR::Packer on Strawberry Perl 5.10 and 5.12
by xiaoyafeng (Deacon) on Jul 12, 2010 at 17:00 UTC
    Could you post the dir where you installed perl? I guess
    dmake.EXE: Error: -- c:\winxs: Invalid argument
    might be a hint.



    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

      The last time I installed Strawberry Perl the installation directory couldn't be changed from c:\strawberry, I'm not sure if this is still the case.

        With the zip package you can install it wherever you like. I guess that the msi package still installs into c:\strawberry.

        Cheers,
        Rob
Re: Problem with install PAR::Packer on Strawberry Perl 5.10 and 5.12
by Anonymous Monk on Jul 12, 2010 at 23:21 UTC
    I have the same problem with ActivePerl 5.12.1 when installing Win32::Exe.
    =====LOG====
    C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, '..\blib\lib', '..\blib\arch')" t/*.t
    t/0-load.t ...
    t/0-load.t ... 1/1 #   Failed test 'use Win32::Exe::InsertResourceSection;'
    #   at t/0-load.t line 6.
    #     Tried to use 'Win32::Exe::InsertResourceSection'.
    #     Error:  Can't load 'C:\Perl\cpan\build\Win32-Exe-0.14-tbpo4b\blib\arch/auto/Win32/Exe/InsertResourceSection/InsertResourceSection.dll' for
    module Win32::Exe::InsertResourceSection: load_file:═хтхЁэр  яюя√Єър фюёЄєяр ъ рфЁхёє ярь Єш at C:/Perl/lib/DynaLoader.pm line 201.
    #  at (eval 4) line 2
    # Compilation failed in require at (eval 4) line 2.
    # BEGIN failed--compilation aborted at (eval 4) line 2.
    # Looks like you failed 1 test of 1.
    t/0-load.t ... Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/1 subtests
    t/1-basic.t ..
    t/1-basic.t .. 1/1 #   Failed test 'use Win32::Exe::InsertResourceSection;'
    #   at t/1-basic.t line 6.
    #     Tried to use 'Win32::Exe::InsertResourceSection'.
    #     Error:  Can't load 'C:\Perl\cpan\build\Win32-Exe-0.14-tbpo4b\blib\arch/auto/Win32/Exe/InsertResourceSection/InsertResourceSection.dll' for
    module Win32::Exe::InsertResourceSection: load_file:═хтхЁэр  яюя√Єър фюёЄєяр ъ рфЁхёє ярь Єш at C:/Perl/lib/DynaLoader.pm line 201.
    #  at (eval 4) line 2
    # Compilation failed in require at (eval 4) line 2.
    # BEGIN failed--compilation aborted at (eval 4) line 2.
    # Looks like you failed 1 test of 1.
    t/1-basic.t .. Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/1 subtests
    
    ===LOG===
    //dimytch on mail and ru