Hi, I've tried to include everything that the doc suggested. I'd appreciate any feedback on this. I'm trying to upgrade from Apache 1 to Apache 2.2 and need mod_perl as the existing web sites rely on it.
1. Problem Description: Building mod_perl 2.0.2 for Apache 2.2.3 on SunOS ecnext00 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-880. 3 tests fail during make test: t/apache/content_length_header..........FAILED test 17 t/api/status............................FAILED tests 4-5 "test verbose" output for these tests: # testing : HEAD /TestApache__content_length_header?set_content_length C-L header # expected: undef # received: 25 not ok 17 # Failed test 17 in t/apache/content_length_header.t at line 71 fail #2 # testing : code # expected: 499 # received: 200 # Failed test 4 in t/api/status.t at line 35 not ok 4 # testing : code message # expected: FooBared # received: OK not ok 5 # Failed test 5 in t/api/status.t at line 36 Error_log from "test verbose" run: [Mon Oct 09 14:05:53 2006] [info] Init: Seeding PRNG with 0 bytes of entropy [Mon Oct 09 14:05:53 2006] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Mon Oct 09 14:05:54 2006] [info] Init: Generating temporary DH parameters (512/1024 bits) [Mon Oct 09 14:05:54 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Oct 09 14:05:54 2006] [info] Init: Initializing (virtual) servers for SSL [Mon Oct 09 14:05:54 2006] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.7g END in modperl_extra.pl, pid=611 [Mon Oct 09 14:05:56 2006] [info] Init: Seeding PRNG with 0 bytes of entropy [Mon Oct 09 14:05:56 2006] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Mon Oct 09 14:05:57 2006] [info] Init: Generating temporary DH parameters (512/1024 bits) [Mon Oct 09 14:05:57 2006] [info] Init: Initializing (virtual) servers for SSL [Mon Oct 09 14:05:57 2006] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.7g [Mon Oct 09 14:05:57 2006] [notice] Apache/2.2.3 (Unix) world domination series/2.0 mod_ssl/2.2.3 OpenSSL/0.9.7g mod_perl/2.0.2 Perl/v5.8.0 configured -- resuming normal operations [Mon Oct 09 14:05:57 2006] [info] Server built: Oct 9 2006 13:08:01 [Mon Oct 09 14:05:57 2006] [debug] prefork.c(991): AcceptMutex: fcntl (default: fcntl) [Mon Oct 09 14:06:01 2006] [info] Child process pid=634 is exiting [Mon Oct 09 14:06:01 2006] [info] Child process pid=635 is exiting [Mon Oct 09 14:06:01 2006] [info] Child process pid=634 is exiting - server push [Mon Oct 09 14:06:01 2006] [info] Child process pid=635 is exiting - server push END in modperl_extra.pl, pid=634 END in modperl_extra.pl, pid=635 [Mon Oct 09 14:06:01 2006] [info] removed PID file /opt/ecnext_install/mod_perl-2.0.2/t/logs/httpd.pid (pid=623) [Mon Oct 09 14:06:01 2006] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=623 2. Used Components and their Configuration: *** mod_perl version 2.000002 *** using /opt/ecnext_install/mod_perl-2.0.2/lib/Apache2/BuildConfig.pm *** Makefile.PL options: MP_APR_LIB => aprext MP_APXS => /usr/local/apache2/bin/apxs MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 *** /usr/local/apache2/bin/httpd -V Server version: Apache/2.2.3 Server built: Oct 9 2006 13:08:01 Server's Module Magic Number: 20051115:3 Server loaded: APR 1.2.7, APR-Util 1.2.7 Compiled using: APR 1.2.7, APR-Util 1.2.7 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) 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_FCNTL_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/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" *** /usr/bin/ldd /usr/local/apache2/bin/httpd libm.so.2 => /usr/lib/libm.so.2 libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 libexpat.so.0 => /usr/local/lib/libexpat.so.0 libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 libuuid.so.1 => /usr/lib/libuuid.so.1 libsendfile.so.1 => /usr/lib/libsendfile.so.1 librt.so.1 => /usr/lib/librt.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libpthread.so.1 => /usr/lib/libpthread.so.1 libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libmd5.so.1 => /usr/lib/libmd5.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libscf.so.1 => /usr/lib/libscf.so.1 libdoor.so.1 => /usr/lib/libdoor.so.1 libuutil.so.1 => /usr/lib/libuutil.so.1 /platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1 /platform/SUNW,Sun-Fire-880/lib/libmd5_psr.so.1 *** (apr|apu)-config linking info -L/usr/local/apache2/lib -laprutil-1 -lexpat -L/usr/local/apache2/lib -lapr-1 -luuid -lsendfile -lrt -lsocket -lnsl -lpthread *** /usr/local/bin/perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=solaris, osvers=2.10, archname=sun4-solaris uname='sunos ecnext00 5.10 generic_118833-03 sun4u sparc sunw,sun-fire-880 ' config_args='-Dcc=gcc -B/usr/ccs/bin/' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing' ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10' 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 -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Jul 25 2006 15:11:18 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /ecnext/comsite4/bin/utilities . *** Packages of interest status: Apache2 : - Apache2::Request : - CGI : 3.10 ExtUtils::MakeMaker: 6.03 LWP : 5.805 mod_perl : 1.29 mod_perl2 : - 3. This is the core dump trace: (if you get a core dump): N/A This report was generated by t/REPORT on Mon Oct 9 17:58:03 2006 GMT. -- Jim Hayter Lead Developer ECNext, Inc. 614.682.5145 (office) 614.682.5104 (fax) Making e-Content Work for You