Make: *** [testdeps] Error 1

Hello everyone!
Could you help me?
I can’t install RT on CentOS 7
I use FAQ CentOS7Install - Request Tracker Wiki

error: “make: *** [testdeps] Error 1”
log:
[root@rt rt-4.4.1]# make install
/usr/bin/perl ./sbin/rt-test-dependencies --with-mysql --with-fastcgi
perl:
>=5.10.1(5.16.3) …found
users:
rt group (apache) …found
bin owner (root) …found
libs owner (root) …found
libs group (bin) …found
web owner (apache) …found
web group (apache) …found
CLI dependencies:
Text::ParseWords …found
Term::ReadKey …found
Getopt::Long >= 2.24 …found
HTTP::Request::Common …found
Term::ReadLine …found
LWP …found
CORE dependencies:
Storable >= 2.08 …found
Net::IP …found
URI::QueryParam …found
Business::Hours …found
Encode >= 2.64 …found
Crypt::Eksblowfish …found
Module::Versions::Report >= 1.05 …found
List::MoreUtils …MISSING
Errno …found
DBI >= 1.37 …found
Devel::StackTrace >= 1.19 …found
HTTP::Message >= 6.0 …found
Text::Password::Pronounceable …found
Devel::GlobalDestruction …found
Time::ParseDate …found
IPC::Run3 …found
Tree::Simple >= 1.04 …found
HTML::Scrubber >= 0.08 …found
HTML::Quoted …found
Data::Page::Pageset …found
Sys::Syslog >= 0.16 …found
Mail::Mailer >= 1.57 …found
Data::GUID …found
HTML::Mason >= 1.43 …found
HTML::Entities …found
LWP::Simple …found
Symbol::Global::Name >= 0.04 …found
URI >= 1.59 …found
DateTime::Format::Natural >= 0.67 …MISSING
Plack >= 1.0002 …found
File::Glob …found
Text::Wrapper …found
Regexp::Common::net::CIDR …found
Log::Dispatch >= 2.30 …found
HTML::FormatText::WithLinks::AndTables >= 0.06 …found
DateTime >= 0.44 …found
CGI::Emulate::PSGI …found
Text::Quoted >= 2.07 …found
Regexp::IPv6 …found
CGI >= 3.38 …found
Class::Accessor::Fast …found
CSS::Squish >= 0.06 …found
DateTime::Locale >= 0.40 …found
CGI::PSGI >= 0.12 …found
Apache::Session >= 1.53 …found
Date::Extract >= 0.02 …MISSING
Digest::SHA …found
HTML::Mason::PSGIHandler >= 0.52 …found
MIME::Entity >= 5.504 …found
Locale::Maketext::Lexicon >= 0.32 …found
Role::Basic >= 0.12 …found
Module::Refresh >= 0.03 …found
Digest::base …found
File::Temp >= 0.19 …found
Date::Manip …found
Locale::Maketext >= 1.06 …found
HTML::RewriteAttributes >= 0.05 …found
Text::Template >= 1.44 …found
Scalar::Util …found
CGI::Cookie >= 1.20 …found
XML::RSS >= 1.05 …found
Text::WikiFormat >= 0.76 …found
File::Spec >= 0.8 …found
DBIx::SearchBuilder >= 1.65 …found
File::ShareDir …found
Regexp::Common …found
Digest::MD5 >= 2.27 …found
CSS::Minifier::XS …found
Data::ICal …found
Pod::Select …found
HTML::FormatText::WithLinks >= 0.14 …found
Scope::Upper …found
Mail::Header >= 2.12 …found
Locale::Maketext::Fuzzy >= 0.11 …found
Time::HiRes …found
MIME::Types …found
Email::Address::List >= 0.02 …found
Convert::Color …found
JavaScript::Minifier::XS …found
Net::CIDR …found
JSON …found
UNIVERSAL::require …found
Email::Address >= 1.897 …found
Plack::Handler::Starlet …MISSING
FASTCGI dependencies:
FCGI >= 0.74 …found
GD dependencies:
GD::Text …found
GD …found
GD::Graph >= 1.47 …found
GPG dependencies:
File::Which …found
PerlIO::eol …found
GnuPG::Interface …MISSING
GRAPHVIZ dependencies:
IPC::Run >= 0.90 …found
GraphViz …found
MAILGATE dependencies:
Pod::Usage …found
LWP::UserAgent >= 6.0 …found
Crypt::SSLeay …found
Getopt::Long …found
Net::SSL …found
LWP::Protocol::https …found
Mozilla::CA …found
MYSQL dependencies:
DBD::mysql >= 2.1018 …found
SMIME dependencies:
String::ShellQuote …found
File::Which …found
Crypt::X509 …found

SOME DEPENDENCIES WERE MISSING.
GPG missing dependencies:
GnuPG::Interface …MISSING
CORE missing dependencies:
DateTime::Format::Natural >= 0.67 …MISSING
Date::Extract >= 0.02 …MISSING
List::MoreUtils …MISSING
Plack::Handler::Starlet …MISSING

Perl library path for /usr/bin/perl:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
make: *** [testdeps] Error 1

Im having the same issue.

And no response on my thread either…

Disappointing.

Did you ever find a fix?

Have you tried installing the missing Perl modules that report lists?

Incidentally you might also want to look at this other topic on RHEL7 and Perl modules.

For anyone who sees this post, here is what I did to get the dependencies resolved.

Run “make fixdeps” a few times until the same dependencies are showing as MISSING after 2-3 runs.

Scroll up in the live output and find lines where you see “FAIL” The next line should tell you the logfile where you can find details on the failed installation.

Open the log file and find the line where it gives the command it tried to use to install the dependency. It should look similarly to “/usr/local/bin/cpanm perl::Component::Name”

Get these commands from the log of every failed dependency, and then run each one separately, with the “–force” switch. For example:

/usr/local/bin/cpanm HTML::Mason::PSGIHandler --force

You may find you only need to do this for one or two top-level dependencies to allow the rest to work with the “make testdeps” command, but either way continue installing them until “make testdeps” comes up with “All dependencies have been found”

NOTE: Many of these perl modules can also be installed via yum. The package names are usually the same as the CPAN names, but with single dashes replacing the double colons. For example, “yum install perl-Plack” installs the perl::Plack module.

1 Like