miyagawa / cpanminus

cpanminus - get, unpack, build and install modules from CPAN
http://cpanmin.us
755 stars 213 forks source link

Couldn't find module or a distribution Imager::File::PNG #584

Open KES777 opened 6 years ago

KES777 commented 6 years ago

cpanfile.snapshot.txt cpanfile.txt

On production server:

$ carton install --deployment
Installing modules using /home/mmkeeper/maitre_d_backend/monkeyman/cpanfile (deployment mode)
! Couldn't find module or a distribution Imager::File::PNG
! Installing the dependencies failed: Module 'Imager::File::PNG' is not installed
! Bailing out the installation for WWW-Mechanize-Chrome-0.22.
! Installing the dependencies failed: Module 'WWW::Mechanize::Chrome' is not installed
! Bailing out the installation for /home/mmkeeper/maitre_d_backend/monkeyman/.
Installing modules failed

As you can see from snapshot file WWW-Mechanize-Chrome-0.22 have requirement Imager::File::PNG but there is no info about that is installed.

Locally: Imager::File::PNG is not available from system and is available at project:

$ perl -MImager::File::PNG -MDDP -e "DDP::p %INC" 2>&1 | grep Ima
    Imager/Color.pm               "/home/kes/work/projects/tucha/monkeyman/local/lib/perl5/x86_64-linux/Imager/Color.pm",
    Imager/File/PNG.pm            "/home/kes/work/projects/tucha/monkeyman/local/lib/perl5/x86_64-linux/Imager/File/PNG.pm",
    Imager/Font.pm                "/home/kes/work/projects/tucha/monkeyman/local/lib/perl5/x86_64-linux/Imager/Font.pm",
    Imager.pm                     "/home/kes/work/projects/tucha/monkeyman/local/lib/perl5/x86_64-linux/Imager.pm",

I do not know how it is installed and there is no info at cpanfile.snapshot but there is a place to be. Modules are installed/upgraded via carton only