Babene7

Member
Apr 13, 2017
17
2
3
Uruguay
cPanel Access Level
Root Administrator
Hi,

I'm trying to install the DBD::mysql Perl module but it fails with this error in WHM:

Code:
Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Sun Sep  8 23:57:35 2019)

Tuned C compiler not available because it is not enabled....Done

Method: Using cpanminus

--> Working on DBD::mysql

Fetching http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz ... FAIL

cpanminus failed with non-zero exit status: 1



All available perl module install methods have failed
I can wget that file btw, so I don't think that's the real problem:

Code:
[[email protected]:~]wget http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz
--2019-09-09 12:00:07--  http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz
Resolving www.cpan.org... 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connecting to www.cpan.org|151.101.2.217|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 161579 (158K) [application/x-gzip]
Saving to: “DBD-mysql-4.050.tar.gz”

100%[============================================================================================================>] 161,579     --.-K/s   in 0.006s 

2019-09-09 12:00:07 (24.1 MB/s) - “DBD-mysql-4.050.tar.gz” saved [161579/161579]

Tried with the perlinstaller script but returns the same:

Code:
[[email protected]:~]/scripts/perlinstaller DBD::mysql
Checking C compiler....info [perlinstaller] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
C compiler (/usr/bin/gcc) OK (cached Sun Sep  8 23:57:35 2019)
Tuned C compiler not available because it is not enabled....Done
Method: Using cpanminus
cpanm (App::cpanminus) 1.9019 on perl 5.010001 built for x86_64-linux-thread-multi
Work directory is /home/.cpanm/work/1568040561.2958575
You have make /usr/bin/make
You have LWP: 6.15
You have LWP::Protocol::https:
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching DBD::mysql () on cpanmetadb ...
! Download http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz failed. Retrying ...
! Download http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz failed. Retrying ...
! Download http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz failed. Retrying ...
! Failed to download http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz
! Failed to fetch distribution DBD-mysql-4.050
--> Working on DBD::mysql
Fetching http://www.cpan.org/authors/id/D/DV/DVEEDEN/DBD-mysql-4.050.tar.gz ... FAIL
cpanminus failed with non-zero exit status: 1

All available perl module install methods have failed
Also tried disabling the firewall to make sure it wasn't blocking anything, but I got the same result.

I would appreciate any help I can get with this.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,862
2,216
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @Babene7,

Do you notice any dropped packets when testing the "www.cpanel.org" address with your system's tcpdump utility? Instructions on how to test are found under the tcpdump section on the following resource:


Thank you.