boleary has asked for the wisdom of the Perl Monks concerning the following question:
I built a patched version of TK to work around a bad pointer issue in the latest CPAN released module.
(I got the fix from one of the pull requests on gitHub)
I store that .tgz file out on my website at https://securedata.cadEnhance.com/build_assets/Tk-Module-fixed/Tk-804.035_999-cboleary.tar.gz
When I am setting up perl on a vm, I run a script to install all the modules I need
the script issues this command:
cpanm https://securedata.cadEnhance.com/build_assets/Tk-Module-fixed/Tk-804.035_999-cboleary.tar.gz
The problem I have is that the script always re-installs this module (and the Tk module takes a good 15-20 minutes to install)
while it skips all the other modules since it knows they are up-to-date
Is there a way to debug why cpanm thinks it needs to re-install the up-to-date module ? hopefully without it going through the whole install process?
Or is there some option I'm missing to to tell it not to re-install?
I can't figure it out from the command line options I think the default option is not to re-install
or will cpanm always re-install if I am pointing to a remote tgz file like this?
|
|---|