Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Icon for pp on Strawberry

by aplonis (Pilgrim)
on Jun 26, 2017 at 21:48 UTC ( #1193631=note: print w/replies, xml ) Need Help??

in reply to Icon for pp on Strawberry

SOLVED: Here's what works. It's not even hard.

If pp is already installed, then remove it with cpanm --uninstall pp

Find the directory C:\Strawberry\cpan\build\PAR-Packer-1.037-0 (or equivalent) and delete it completely.

Re-get PP from plain Jane, regular CPAN like so get pp but do NOT make or anything else.

Find the directory C:\Strawberry\cpan\build\PAR-Packer-1.037-0\myldr\winres (or equivalent) which you had just now got

Delete from that dir the file pp.ico and replace it with your own *.ico file naming it as the new pp.ico

Now open a CLI (aka DOS) window into the path C:\Strawberry\cpan\build\PAR-Packer-1.037-0 (or equivalent) and do...

perl Makefile.PL

Then dmake Makefile

Then dmake test

Then dmake install

And now you are done. Henceforth a call to pp will have your own *.ico already built in. Sorry, no changing back. Start over from scratch if you want to do that.

And if for you, as it does for me, a call to pp in the regular way still dies with errors, next go hunting right here at PerlMonks for something called and use that instead. This is what I have had to do. A few hoops to jump through but at last now it works.

Replies are listed 'Best First'.
Re^2: Icon for pp on Strawberry
by marto (Archbishop) on Jun 26, 2017 at 21:55 UTC

    Nice, a suggestion, cpanm is faster than cpan and you can replace your command prompt actions

    perl Makefile.PL dmake Makefile dmake test dmake install


    cpanm .

    This also has the advantage of cpanm dealing with prerequisites of pp, should they change.

    Update: "Re-get PP from plain Jane, regular CPAN like so get pp but do NOT make or anything else." - cpanm has a --look method: "Download and unpack the distribution and then open the directory with your shell". link to for completeness.

Re^2: Icon for pp on Strawberry
by timewarps (Initiate) on Feb 19, 2019 at 04:06 UTC

    Thanks! It worked for me!

    Just a little update:

    1. cpanm --uninstall pp didn't work. I used cpanm -U pp .

    2. I didn't re-get pp.

    3. Use gmake instead of dmake.

      Hi All Can anyone write down the exact (updated) instructions to doing this for someone not familiar with make,gmake,dmake.... Thanks

        The sequence I posted in 1193071 does that.

        The uninstall step is not needed in my experience.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1193631]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2019-10-14 16:39 GMT
Find Nodes?
    Voting Booth?