Skip to content

Instantly share code, notes, and snippets.

@alisonrag
Last active August 23, 2022 18:58
Show Gist options
  • Save alisonrag/4f30bae700bcebaa6df2fa3b11d08eb4 to your computer and use it in GitHub Desktop.
Save alisonrag/4f30bae700bcebaa6df2fa3b11d08eb4 to your computer and use it in GitHub Desktop.
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.
Now open a CLI (aka DOS) window into the path C:\Strawberry\cpan\build\PAR-Packer-1.037-0 (or equivalent) and do...
:: Install the dependencies first
cpanm --installdeps PAR::Packer
:: Now manually install PAR::Packer
cpanm --look PAR::Packer
rename .\myldr\winres\pp.ico pp.ico.bak
copy \path\to\my\icon.ico .\myldr\winres\pp.ico
perl Makefile.PL
:: if gmake is not available then use dmake instead
gmake
gmake test
gmake install
reference:
https://www.perlmonks.org/?node_id=1192706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment