Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I am trying to install Date::Manip on Mac OS X 10.10 using cpan. I have Xcode and command line tools installed. When I type
sudo cpan -i Date::Manip
I see the following error:
---- Unsatisfied dependencies detected during ----
---- SBECK/Date-Manip-6.59.tar.gz ----
ExtUtils::MakeMaker [build_requires]`
This doesn't make sense, because ExtUtils::MakeMaker
is already installed on my system:
$ cpan -D ExtUtils::MakeMaker
Reading '/Users/myname/.cpan/Metadata'
Database was generated on Sun, 06 Aug 2017 20:17:02 GMT
ExtUtils::MakeMaker
Writes Makefiles for extensions
B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz
/System/Library/Perl/5.18/ExtUtils/MakeMaker.pm
Installed: 6.66
CPAN: 7.30 Not up to date
Michael G Schwern (MSCHWERN)
mschwern at cpan.org
I don't understand why the Date::Manip install can't find it.
The installer next tries to install ExtUtils::MakeMaker
(since it thinks it's missing), and that installation fails. That may be a separate issue, but I'm not concerned with that at the moment - I just want to get Date::Manip
installed, using the current version of MakeMaker
.
How can I get cpan
to locate and use the current installed version of ExtUtils::MakeMaker
?
Additional information:
$ sudo which perl
/usr/bin/perl
$ which perl
/usr/bin/perl
$ sudo which cpan
/usr/bin/cpan
$ which cpan
/usr/bin/cpan
–
–
–
–
Date::Manip requires version 6.67_01 of MakeMaker, and you only have 6.66. See:
https://metacpan.org/source/SBECK/Date-Manip-6.59/META.json
So figure out why the MakeMaker install is failing. Or install SBECK/Date-Manip-6.53.tar.gz or earlier.
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.