$ cpanm mod_perl2
--> Working on mod_perl2
Fetching http://www.cpan.org/authors/id/S/SH/SHAY/mod_perl-2.0.11.tar.gz ... OK
Configuring mod_perl-2.0.11 ... FAIL
! Timed out (> 60s). Use --verbose to retry.
! Configure failed for mod_perl-2.0.11. See /root/.cpanm/work/1627166260.558950/build.log for details.
in the build.log it shows
Searching mod_perl2 () on cpanmetadb ...
--> Working on mod_perl2
Fetching http://www.cpan.org/authors/id/S/SH/SHAY/mod_perl-2.0.11.tar.gz
-> OK
Unpacking mod_perl-2.0.11.tar.gz
Entering mod_perl-2.0.11
Checking configure dependencies from META.yml
Configuring mod_perl-2.0.11
Running Makefile.PL
no conflicting prior mod_perl version found - good.
Next we need to know where the 'apxs' script is located. This script
provides a lot of information about the Apache installation, and makes
it easier to find things on your system. Normally it's located in the
same directory as the 'httpd' executable.
If you don't yet have Apache installed you can build Apache against
the Apache source code, but you won't be able to run the test suite (a
very important step). Therefore you may want to install Apache before
proceeding.
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):
Please provide the location of the Apache directory:
[ error] Can't find dir ''
Please provide the location of the Apache directory:
[ error] Can't find dir ''
lots of these ... Please provide the location of the Apache directory: ....
Please provide the location of the Apache directory:
[ error] Can't find dir ''
Please provide the location of the Apache directory:
[ error] Can't find dir ''
Please provide the location of the Apache directory:
[ error] Can't find dir ''
-> N/A
-> FAIL Configure failed for mod_perl-2.0.11. See /root/.cpanm/work/1627166260.558950/build.log for details.