1. Problem Description: I just unpacked httpd-2.0.52 and mod_perl-1.99_17 and tried to build them with ActivePerl without any extra configuration, but 'make test' for mod_perl fails like this:
$ make test cd "src/modules/perl" && make make[1]: Entering directory `/home/gisle/mod_perl-1.99_17/src/modules/perl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gisle/mod_perl-1.99_17/src/modules/perl' make[1]: Entering directory `/home/gisle/mod_perl-1.99_17/Apache-Test' [...] make[3]: Entering directory `/home/gisle/mod_perl-1.99_17/xs/ModPerl/Const' make[3]: Leaving directory `/home/gisle/mod_perl-1.99_17/xs/ModPerl/Const' make[2]: Leaving directory `/home/gisle/mod_perl-1.99_17/xs/ModPerl' make[1]: Leaving directory `/home/gisle/mod_perl-1.99_17/xs' /home/gisle/811-gcc-32/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -clean [warning] setting ulimit to allow core files ulimit -c unlimited; /home/gisle/811-gcc-32/bin/perl /home/gisle/mod_perl-1.99_17/t/TEST -clean APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= \ /home/gisle/811-gcc-32/bin/perl -Iblib/arch -Iblib/lib \ t/TEST -bugreport -verbose=0 [warning] setting ulimit to allow core files ulimit -c unlimited; /home/gisle/811-gcc-32/bin/perl /home/gisle/mod_perl-1.99_17/t/TEST -bugreport -verbose=0 /home/gisle/apache-httpd-2.0.52/bin/httpd -d /home/gisle/mod_perl-1.99_17/t -f /home/gisle/mod_perl-1.99_17/t/conf/httpd.conf-D APACHE2 -D PERL_USEITHREADS using Apache/2.0.52 (prefork MPM) waiting 120 seconds for server to start: .[Tue Dec 07 04:05:23 2004] [info] 26 Apache:: modules loaded [Tue Dec 07 04:05:23 2004] [info] 7 APR:: modules loaded [Tue Dec 07 04:05:23 2004] [info] base server + 26 vhosts ready to run tests .[Tue Dec 07 04:05:24 2004] [error] Can't locate TestFilter/both_str_req_add.pm in @INC (@INC contains: /home/gisle/mod_perl-1.99_17/t/lib /home/gisle/mod_perl-1.99_17/Apache-Test/lib /home/gisle/mod_perl-1.99_17/t/response /home/gisle/mod_perl-1.99_17/t/protocol /home/gisle/mod_perl-1.99_17/t/preconnection /home/gisle/mod_perl-1.99_17/t/hooks /home/gisle/mod_perl-1.99_17/t/filter /home/gisle/mod_perl-1.99_17/t /home/gisle/mod_perl-1.99_17/t/htdocs/testdirective/perlmodule-vh /home/gisle/mod_perl-1.99_17/t/htdocs/testdirective/main /home/gisle/mod_perl-1.99_17/t/ /home/gisle/mod_perl-1.99_17/t/lib/perl /home/gisle/mod_perl-1.99_17/blib/lib /home/gisle/mod_perl-1.99_17/blib/arch /home/gisle/811-gcc-32/lib/5.8.6/IA64.ARCHREV_0-thread-multi /home/gisle/811-gcc-32/lib/5.8.6 /home/gisle/811-gcc-32/lib/site_perl/5.8.6/IA64.ARCHREV_0-thread-multi /home/gisle/811-gcc-32/lib/site_perl/5.8.6 /home/gisle/811-gcc-32/lib/site_perl) at (eval 58) line 3.\n [Tue Dec 07 04:05:24 2004] [error] Can't load Perl module TestFilter::both_str_req_add for server localhost:8529, exiting... ....................................................................................................................... waiting 120 seconds for server to start: not ok [ error] giving up after 121 secs. If you think that your system is slow or overloaded try again with a longer timeout value. by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT to a high value (e.g. 420) and repeat the last command. [ error] server failed to start! (t/logs/error_log wasn't created, start the server in the debug mode) +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ make: *** [run_tests] Error 1 What can I try to do now? 2. Used Components and their Configuration: *** mod_perl version 1.9917 *** using /home/gisle/mod_perl-1.99_17/lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_APXS => /home/gisle/apache-httpd-2.0.52/bin/apxs MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** /home/gisle/apache-httpd-2.0.52/bin/httpd -V Server version: Apache/2.0.52 Server built: Dec 7 2004 01:13:33 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/home/gisle/apache-httpd-2.0.52" -D SUEXEC_BIN="/home/gisle/apache-httpd-2.0.52/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" *** (apr|apu)-config linking info -L/home/gisle/apache-httpd-2.0.52/lib -lapr-0 -lm -lnsl -lpthread -ldld -L/home/gisle/apache-httpd-2.0.52/lib -laprutil-0 -lexpat *** /home/gisle/811-gcc-32/bin/perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=hpux, osvers=11.22, archname=IA64.ARCHREV_0-thread-multi uname='hp-ux bigsur03 b.11.22 u ia64 1800516905 unlimited-user license ' config_args='-ders -Dcc=gcc -Accflags=-DNO_HASH_SEED -Dusethreads -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Dd_attribut=undef -Dd_u32align=define -Accflags=-fPIC -Dcccdlflags=-fPIC -Uoptimize -Duselargefiles -Uusemallocwrap -Dinc_version_list=5.8.5/$archname 5.8.5 5.8.4/$archname 5.8.4 5.8.3/$archname 5.8.3 5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0 -Duseshrplib -Dprefix=/home/gisle/811-gcc-32 -Dcf_by=ActiveState [EMAIL PROTECTED]' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -DNO_HASH_SEED -fPIC -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize=' ', cppflags='-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -DNO_HASH_SEED -fPIC -fno-strict-aliasing -pipe' ccversion='', gccversion='3.3.2 20030829 (prerelease)', gccosandvers='hpux11.22' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/lib/hpux32' libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib libs=-lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread perllibs=-lnsl -lnm -ldl -ldld -lm -lsec -lpthread libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='' Dynamic Linking: dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='-fPIC', lddlflags='-shared -static-libgcc -fPIC -L/usr/lib/hpux32' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: ActivePerl Build 811 21540 Fix backward-compatibility issues in if.pm 23565 Wrong MANIFEST.SKIP Built under hpux Compiled at Nov 30 2004 10:03:26 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /home/gisle/811-gcc-32/lib/5.8.6/IA64.ARCHREV_0-thread-multi /home/gisle/811-gcc-32/lib/5.8.6 /home/gisle/811-gcc-32/lib/site_perl/5.8.6/IA64.ARCHREV_0-thread-multi /home/gisle/811-gcc-32/lib/site_perl/5.8.6 /home/gisle/811-gcc-32/lib/site_perl . *** Packages of interest status: Apache::Request: - CGI : 3.05 LWP : 5.801 mod_perl : - This report was generated by t/REPORT on Tue Dec 7 11:56:20 2004 GMT. -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html