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_leng th
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=20
END in modperl_extra.pl, pid=3D611
[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=3D634 is exiting
[Mon Oct 09 14:06:01 2006] [info] Child process pid=3D635 is exiting
[Mon Oct 09 14:06:01 2006] [info] Child process pid=3D634 is exiting -
server push
[Mon Oct 09 14:06:01 2006] [info] Child process pid=3D635 is exiting -
server push
END in modperl_extra.pl, pid=3D634
END in modperl_extra.pl, pid=3D635
[Mon Oct 09 14:06:01 2006] [info] removed PID file
/opt/ecnext_install/mod_perl-2.0.2/t/logs/httpd.pid (pid=3D623)
[Mon Oct 09 14:06:01 2006] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=3D623


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 =3D> aprext
MP_APXS =3D> /usr/local/apache2/bin/apxs
MP_COMPAT_1X =3D> 1
MP_GENERATE_XS =3D> 1
MP_LIBNAME =3D> mod_perl
MP_USE_DSO =3D> 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=3D"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=3D128
-D HTTPD_ROOT=3D"/usr/local/apache2"
-D SUEXEC_BIN=3D"/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG=3D"logs/httpd.pid"
-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D"logs/accept.lock"
-D DEFAULT_ERRORLOG=3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D"conf/mime.types"
-D SERVER_CONFIG_FILE=3D"conf/httpd.conf"

*** /usr/bin/ldd /usr/local/apache2/bin/httpd
libm.so.2 =3D> /usr/lib/libm.so.2
libaprutil-1.so.0 =3D>
/usr/local/apache2/lib/libaprutil-1.so.0
libexpat.so.0 =3D> /usr/local/lib/libexpat.so.0
libapr-1.so.0 =3D> /usr/local/apache2/lib/libapr-1.so.0
libuuid.so.1 =3D> /usr/lib/libuuid.so.1
libsendfile.so.1 =3D> /usr/lib/libsendfile.so.1
librt.so.1 =3D> /usr/lib/librt.so.1
libsocket.so.1 =3D> /usr/lib/libsocket.so.1
libnsl.so.1 =3D> /usr/lib/libnsl.so.1
libpthread.so.1 =3D> /usr/lib/libpthread.so.1
libc.so.1 =3D> /usr/lib/libc.so.1
libgcc_s.so.1 =3D> /usr/sfw/lib/libgcc_s.so.1
libaio.so.1 =3D> /usr/lib/libaio.so.1
libmd5.so.1 =3D> /usr/lib/libmd5.so.1
libmp.so.2 =3D> /usr/lib/libmp.so.2
libscf.so.1 =3D> /usr/lib/libscf.so.1
libdoor.so.1 =3D> /usr/lib/libdoor.so.1
libuutil.so.1 =3D> /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=3Dsolaris, osvers=3D2.10, archname=3Dsun4-solaris
uname=3D'sunos ecnext00 5.10 generic_118833-03 sun4u sparc
sunw,sun-fire-880 '
config_args=3D'-Dcc=3Dgcc -B/usr/ccs/bin/'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Dundef use5005threads=3Dundef useithreads=3Dundef
usemultiplicity=3Dundef
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine =
usesocks=3Dundef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'gcc -B/usr/ccs/bin/', ccflags =3D'-fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
optimize=3D'-O',
cppflags=3D'-fno-strict-aliasing'
ccversion=3D'', gccversion=3D'3.4.3 =
(csl-sol210-3_4-branch+sol_rpath)',
gccosandvers=3D'solaris2.10'
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, =
byteorder=3D4321
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, =
longdblsize=3D16
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, =
Off_t=3D'off_t',
lseeksize=3D8
alignbytes=3D8, prototype=3Ddefine
Linker and Libraries:
ld=3D'gcc -B/usr/ccs/bin/', ldflags =3D' -L/usr/local/lib '
libpth=3D/usr/local/lib /usr/lib /usr/ccs/lib
libs=3D-lsocket -lnsl -ldl -lm -lc
perllibs=3D-lsocket -lnsl -ldl -lm -lc
libc=3D/lib/libc.so, so=3Dso, useshrplib=3Dfalse, =
libperl=3Dlibperl.a
gnulibc_version=3D''
Dynamic Linking:
dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D' '
cccdlflags=3D'-fPIC', lddlflags=3D'-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=3D"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