osx - Trying to install Date perl module OS X -
so have script i'm trying run billing_automated.pl
i have use date;
in first few lines.
when try , run script error
can't locate date.pm in @inc (you may need install date module) (@inc contains: /usr/local/cellar/perl@5.18/5.18.2/lib/site_perl/5.18.2/darwin-thread-multi-2level /usr/local/cellar/perl@5.18/5.18.2/lib/site_perl/5.18.2 /usr/local/cellar/perl@5.18/5.18.2/lib/5.18.2/darwin-thread-multi-2level /usr/local/cellar/perl@5.18/5.18.2/lib/5.18.2 .) @ billing_automated.pl line 4. begin failed--compilation aborted @ billing_automated.pl line 4.
so attempt run cpan install date
and vomit of output:
reading '/users/username/.cpan/metadata' database generated on mon, 11 sep 2017 20:17:02 gmt running install module 'date' running make s/se/seyhan/html-stable-0.01.tar.gz checksum /users/username/.cpan/sources/authors/id/s/se/seyhan/html-stable-0.01.tar.gz ok cpan.pm: building s/se/seyhan/html-stable-0.01.tar.gz checking if kit complete... looks writing makefile html::stable writing mymeta.yml , mymeta.json cp stable.pm blib/lib/html/stable.pm autosplitting blib/lib/html/stable.pm (blib/lib/auto/html/stable) manifying blib/man3/html::stable.3 seyhan/html-stable-0.01.tar.gz /usr/bin/make -- ok 'yaml' not installed, not store persistent state running make test perl_dl_nonlazy=1 /usr/local/cellar/perl@5.18/5.18.2/bin/perl "-iblib/lib" "-iblib/arch" test.pl 1..1 using hash reference deprecated @ blib/lib/html/stable.pm line 288. using hash reference deprecated @ blib/lib/html/stable.pm line 289. ok 1 seyhan/html-stable-0.01.tar.gz /usr/bin/make test -- ok running make install manifying blib/man3/html::stable.3 appending installation info /usr/local/cellar/perl@5.18/5.18.2/lib/5.18.2/darwin-thread-multi-2level/perllocal.pod seyhan/html-stable-0.01.tar.gz sudo /usr/bin/make install -- ok
and no matter how many times run cpan install date
keeps wanting install s/se/seyhan/html-stable-0.01.tar.gz
god knows why.
i have tried manually installing specific file, not help
any ideas how module installed?
Comments
Post a Comment