rjbs / Dist-Zilla

scary tools for building CPAN distributions
http://dzil.org/
186 stars 152 forks source link

Add prerequisite App::cpanminus #661

Closed molecules closed 3 years ago

molecules commented 4 years ago

After installing Dist::Zilla via cpan, I tried running dzil install and it failed with the following error:

Can't exec "cpanm": No such file or directory

After installing App::cpanminus, there were no problems, hence the suggested addition of App::cpanminus as a dependency.

karenetheridge commented 4 years ago

IMO this should be a RuntimeRecommends, not a required prereq.

molecules commented 4 years ago

@karenetheridge Is there an option to use cpan instead of cpanm for dzil install?

karenetheridge commented 4 years ago
$ dzil help install
dzil install [long options...]

    --install-command STR    command to run to install (e.g. "cpan .")
    --keep --keep-build-dir  keep the build directory even after a success
molecules commented 4 years ago

@karenetheridge Nice! Okay, I made the suggested change. Thanks!

rjbs commented 3 years ago

Thanks, applied!