Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Building the 'pp' module on windows.

by balajinagaraju (Sexton)
on May 29, 2012 at 11:04 UTC ( #972991=perlquestion: print w/replies, xml ) Need Help??
balajinagaraju has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have searched on many forums and found that downloading of'pp' module fails using both CPAN and PPM , and i have faced the same issue when downloading. It just doesn't work, so i tried building it built still it fails due to some error.Below is my log, has anyone faced a similar kind of issue can help in debugging this problem?.

D:\temp\temp\PAR-Packer-1.013\PAR-Packer-1.013>perl Makefile.PL Prototype mismatch: sub main::prompt: none vs ($;$) at C:/strawberry/p +erl/lib/ExtUtils/ line 219 Writing Makefile for par.exe Writing MYMETA.yml and MYMETA.json Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json D:\temp\temp\PAR-Packer-1.013\PAR-Packer-1.013>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\strawberry\perl\bin\perl.exe "-Minc::Module::Install" -e " +extract_pa r(q(PAR-Packer-1.013-MSWin32-x86-multi-thread-5.12.3.par))" to undefined at C:/strawberry/perl/lib/ExtUtils/ line 1208 NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code + '0x2' Stop.

Replies are listed 'Best First'.
Re: Building the 'pp' module on windows.
by daxim (Chaplain) on May 29, 2012 at 11:35 UTC
    Strawberry Perl uses dmake, not nmake.

    Strawberry Perl comes with its own toolchain, that was the whole point of this distribution in the first place. Use the tools shipping with Strawberry Perl, not the ones you installed extra.

Re: Building the 'pp' module on windows.
by dasgar (Priest) on May 29, 2012 at 15:29 UTC

    If I deciphered the messages in your post correctly, it looks like you're trying to install version 1.013 PAR::Packer on Strawberry Perl 5.12.3 (32-bit). Is that correct?

    To see if I could replicate your CPAN install issue, I tried to install PAR::Packer into portable Strawberry Perl (32-bit) by typing the following: cpan install PAR::Packer

    On my first attempt, it installed all the prereq modules, but PAR::Packer itself failed. My second attempt, I tried the force flag (cpan install -f PAR::Packer). It installed just fine that time.

    Are you sure that you can't install PAR::Packer 1.013 via CPAN?

      Hi , Thanks for your response , i was installing the 'pp' module not the PAR::Packer, and it failed through CPAN i haven't tried the force option i will probably try that and see if it works.
        i was installing the 'pp' module not the PAR::Packer

        Hmmmm.....ok. Perhaps I don't know what I'm talking about, but pp is part of PAR::Packer and I personally don't know how to install pp without installing PAR::Packer, especially since the documentation of PAR::Packer states:

        Currently, this module is used by the command line tool pp internally, as well as by the contributed contrib/gui_pp/gpp program.

        Plus, it's been my experience that every time I've installed PAR::Packer, the pp utility has been installed.

        D:\temp\temp\PAR-Packer-1.013\PAR-Packer-1.013>perl Makefile.PL

        That's from your original post. Unless you modified Makefile.PL, it definitely looks like you're installing PAR::Packer to me.

        But if you still want to insist that you're installing pp and not PAR::Packer, then I think you might want to share how you're modifying the contents of PAR-Packer-1.013.tar.gz to install just pp without PAR::Packer. That will help others understand that you're needing help with your modified install instead of needing help with installing unmodified package from CPAN.

        Of course, if you feel that I have no clue about what I'm saying, please feel free to downvote my responses and/or ignore my attempts to offer assistance.

        PAR-Packer-1.013 will not install on strawberry perl - try patched version:


Re: Building the 'pp' module on windows.
by Anonymous Monk on May 29, 2012 at 11:32 UTC
    use dmake not nmake
Re: Building the 'pp' module on windows.
by bojinlund (Parson) on May 29, 2012 at 12:34 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://972991]
Approved by tobyink
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-05-21 02:02 GMT
Find Nodes?
    Voting Booth?