Fred, Thanks for the quick response! Here is the results of your test:
% perl Makefile.PL MP_AP_PREFIX=/opt/hpws22/apache Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /opt/hpws22/apache no conflicting prior mod_perl version found - good. Configuring Apache/2.2.*/ mod_perl/2.0.7 Perl/v5.8.8 Checking if your kit is complete... Looks good ERROR from evaluation of /opt/mod_perl-2.0.7/Apache-Reload/Makefile.PL: key apxs has no value at Apache-Test/lib/Apache/TestRun.pm line 1101. I seem to have apxs on my machine: % which apxs /opt/hpws22/apache/bin/apxs Although, I noticed on the bug report that it says that the httpd binary was not found, even though it is on my path. Is the script using some other configuration for that? -Todd -----Original Message----- From: Fred Moyer [mailto:f...@redhotpenguin.com] Sent: Tuesday, July 10, 2012 4:06 PM To: Froyland, Todd Cc: modperl@perl.apache.org Subject: Re: [mp2] Install error with Makefile.PL - uninitialized value at TestRun.pm Can you try this patch in Apache-Test and report back the output? Looks like the eval fails because of fatal warnings from the undef value. Index: lib/Apache/TestRun.pm =================================================================== --- lib/Apache/TestRun.pm (revision 1359945) +++ lib/Apache/TestRun.pm (working copy) @@ -1097,6 +1097,9 @@ 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"; } On Tue, Jul 10, 2012 at 3:52 PM, Froyland, Todd <todd.froyl...@ellucian.com> wrote: > 1. Problem Description: > > Installing mod_perl2, latest version(2.0.7), on hp-ux machine(B.11.31). > The "perl Makefile.PL" command returns the following error: > > % perl Makefile.PL MP_AP_PREFIX=/opt/hpws22/apache > Reading Makefile.PL args from @ARGV > MP_AP_PREFIX = /opt/hpws22/apache > no conflicting prior mod_perl version found - good. > Configuring Apache/2.2.*/ mod_perl/2.0.7 Perl/v5.8.8 > Checking if your kit is complete... > Looks good > ERROR from evaluation of /opt/mod_perl-2.0.7/Apache-Reload/Makefile.PL: > Use of > uninitialized value in substitution (s///) at > Apache-Test/lib/Apache/TestRun.pm > line 1100. > > A few other details: > > % httpd -v > Server version: Apache/2.2.8 HP-UX_Apache-based_Web_Server (Unix) > Server built: May 7 2010 12:11:23 > > % perl -v > This is perl, v5.8.8 built for IA64.ARCHREV_0-thread-multi > > There is no apr-config or apu-config on my machine, but there is an > apr-1-config and apu-1-config, so I created symlinks to both of those. > > There is a previously existing mod_perl installation (1.99), but it > is in an obscure directory that is not in @INC. > > I have searched the mail archives and internets for anything related to > this problem, but could not find anything useful. I am neither a Perl > nor sysadmin guru, and I don't understand enough of what the TestRun.pm > program is doing to figure out what might be wrong. > Any suggestions would be helpful. > > Thanks! > > 2. Used Components and their Configuration: > > *** mod_perl version 2.000007 > > *** using /opt/mod_perl-2.0.7/lib/Apache2/BuildConfig.pm > > *** Makefile.PL options: > MP_APR_LIB => aprext > MP_AP_PREFIX => /opt/hpws22/apache > MP_COMPAT_1X => 1 > MP_GENERATE_XS => 1 > MP_LIBNAME => mod_perl > MP_USE_DSO => 1 > > > *** The httpd binary was not found > > > *** (apr|apu)-config linking info > > -L/opt/hpws22/apache/lib -laprutil-1 -lldap -lexpat -L/opt/hpws22/apache/lib > -L/opt/hpws22/apache/lib -lapr-1 -lrt -lm -lgss -L/opt/hpws22/apache/lib > -uldap > _compare_s -uldap_simple_bind_s -uldap_err2string -l:liblber-2.4.so > -l:libldap-2 > .4.so -l:libsasl2.a -L/opt/openssl/0.9.8/lib/hpux64 -l:libssl.so > -l:libcrypto.so > -L/user/apinteg/BerkelyDBIA64/lib -ldb -Wl,+b,/opt/hpws22/apache/lib > -lpthread > > > *** -V > > *** Packages of interest status: > > Apache2 : - > Apache2::Request : - > CGI : 3.59 > ExtUtils::MakeMaker: 6.30 > LWP : 6.04 > mod_perl : - > mod_perl2 : - > > > 3. This is the core dump trace: (if you get a core dump): > > [CORE TRACE COMES HERE] > > This report was generated by t/REPORT on Tue Jul 10 22:36:48 2012 GMT.