I have a perl script that needs a long list of prerequisites. While installing these, I am not getting past the installation of HTTP::Message
When I run cpan HTTP::Message from the command line as root, I get the following output:
Database was generated on Mon, 27 Apr 2015 12:53:26 GMT
Running install for module ‘HTTP::Message’
Running make for G/GA/GAAS/HTTP-Message-6.06.tar.gz
CPAN.pm: Building G/GA/GAAS/HTTP-Message-6.06.tar.gz
Checking if your kit is complete…
Warning: prerequisite Encode::Locale 1 not found.
Warning: prerequisite HTTP::Date 6 not found.
Warning: prerequisite IO::HTML 0 not found.
Warning: prerequisite LWP::MediaTypes 6 not found.
Warning: prerequisite URI 1.10 not found.
Writing Makefile for HTTP::Message
However, I have run cpan individually for all of those prerequisites (as root), and the install succeeded.
What am I missing here?
I am running CentOS Linux release 7.1.1503 (Core)
What’s wrong with just doing
yum install perl-HTTP-Message? Why are you trying to use CPAN? You should avoid using CPAN when the perl modules are already packaged.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.