Looks like the eval fails because of fatal warnings from the undef value.
Can you try this patch in Apache-Test at loc 1100 and report back the output?
Index: lib/Apache/TestRun.pm
my %args = @Apache::TestMM::Argv;
while (my($k, $v) = each %args) {
unless (defined $v) {
die "key $k has no value";
}
$v =~ s/\|/\\|/g;
$body .= "\n\$Apache::TestConfig::Argv{'$k'} = q|$v|;\n";
}
If it shows key apxs has no value
, then it means either apxs module is not installed or script is not able to find the path where apxs module is installed.
To check if apxs module
is installed or not, run following command
which apxs
--> shows path where it is installed
If above command doesn't show anything, it means it is not installed, so you can installed it by running following command
sudo apt-get install apache2-dev
Now run which apxs
command again and check where it is installed, most probably it will show /usr/bin/apxs
Now run Makefile.PL
with addition of following line
MP_APXS=/usr/bin/apxs
So command should be like this
perl Makefile.PL MP_APXS=/usr/bin/apxs
Now it should go properly without any interruption.