I am totally a newbie with perl. I have been through trials and errors and got 2 iMac working for a perl program written for me. I am trying to migrate the working perl script to an older macbook (macOS 10.10.5 with perl 5.16) or a newer macbook pro (macOS 10.14 perl 5.18). Again after 2 days of trials and errors I failed to get it working. I am now stuck with the Image.pm not found error. ERROR Message: "not found: No such file or directory at /Library/Perl/5.18/darwin-thread-multi-2level/GD/Image.pm line 64." The file actually existed but not sure why it cannot be found.
Background:
1. I am using Spreadsheet::XLSX and GD modules
2. Image.pm is supposed to be generated by the GD module
3. I tried too many things: cpan, cpanm, sudo cpan, brew install, xcode, redirect the path, macports, etc.
4. The one that is working I was instructed to type "cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)"
Any help is appreciated. I apologize if I posted the wrong question here.
Note: above has been edited to look cleaner. Sorry for being unclear.
PROBLEM SOLVED: thank everyone! vr's solution of "cpanm RURBAN/GD-2.56.tar.gz" instantly solve all my problem. Thank you so much!
In reply to Image.pm not found by linus8989
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |