This is my first attempt at using a threaded MPM.
Sorry but I don't have time to try prefork build of Apache 2.2.11.
Leaving town tomorrow but will monitor email for comments on this.

Thanks,
cmac
www.animalhead.com


-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Neither mod_perl 2.0.4 nor the current build modperl-2.0_20081223052020
play well with apache 2.2.11. Both get the following error message shortly
after entering 'make test':

mod_perl-2.0.4 $ make test
cd "src/modules/perl" && make
/usr/bin/perl -Iblib/arch -Iblib/lib  t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= APACHE_TEST_APXS= /usr/bin/perl -Iblib/arch -Iblib/ lib t/TEST -bugreport -verbose=0 /usr/local/apache2/bin/httpd -d /build/mod_perl-2.0.4/t -f /build/ mod_perl-2.0.4/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.2.11 (event MPM)

waiting 120 seconds for server to start: .httpd: Syntax error on line 17 of /build/mod_perl-2.0.4/t/conf/httpd.conf: Cannot load /build/ mod_perl-2.0.4/src/modules/perl/mod_perl.so into server: /build/ mod_perl-2.0.4/src/modules/perl/mod_perl.so: Undefined symbol "PL_markstack_ptr"
....

2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using /build/mod_perl-2.0.4/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.11 (Unix)
Server built:   Dec 22 2008 22:17:00
Server's Module Magic Number: 20051115:21
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture:   32-bit
Server MPM:     Event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/experimental/event"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FLOCK_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_SCOREBOARD="logs/apache_runtime_status"
 -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
/usr/local/apache2/bin/httpd:
        libz.so.3 => /lib/libz.so.3 (0x2820a000)
        libm.so.4 => /lib/libm.so.4 (0x2821b000)
        libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28231000)
libaprutil-1.so.3 => /usr/local/apache2/lib/libaprutil-1.so. 3 (0x2825d000)
        libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x2827c000)
libapr-1.so.3 => /usr/local/apache2/lib/libapr-1.so.3 (0x2829d000)
        libcrypt.so.3 => /lib/libcrypt.so.3 (0x282c5000)
        libpthread.so.2 => /lib/libpthread.so.2 (0x282dd000)
        libc.so.6 => /lib/libc.so.6 (0x28301000)


*** (apr|apu)-config linking info

 -L/usr/local/apache2/lib -laprutil-1  -lexpat -L/usr/local/lib
 -L/usr/local/apache2/lib -lapr-1 -lcrypt  -lpthread



*** /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
  Platform:
osname=freebsd, osvers=6.3-release, archname=i386-freebsd-thread- multi-64int uname='freebsd sakomina.securesites.net 6.3-release freebsd 6.3- release #2: wed jun 25 14:30:46 mdt 2008 r...@fc:usrsrcsysi386compilevkern i386 ' config_args='-Dd_dosuid=define -Dotherlibdirs=/usr/local/lib/ perl5/5.8.7/i386-freebsd:/usr/local/lib/perl5/5.8.7:/usr/local/lib/ perl5/site_perl/5.8.7/i386-freebsd:/usr/local/lib/perl5/vendor_perl/ 5.8.7/i386-freebsd -Dvendorprefix=/usr/local -Dmyhostname=www - Dmydomain=animalhead.com -Dusethreads -Dusemultiplicity -Duseithreads -Duse64bitint'
    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=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno- strict-aliasing -pipe -I/usr/local/include',
    optimize='-O',
cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict- aliasing -pipe -I/usr/local/include' ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-pthread -Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lgdbm -lm -lcrypt
    perllibs=-lm -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        USE_64_BIT_INT USE_FAST_STDIO USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Built under freebsd
  Compiled at Dec 22 2008 19:57:33
  %ENV:
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /usr/local/lib/perl5/5.8.9/i386-freebsd-thread-multi-64int
    /usr/local/lib/perl5/5.8.9
/usr/local/lib/perl5/site_perl/5.8.9/i386-freebsd-thread- multi-64int
    /usr/local/lib/perl5/site_perl/5.8.9
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/vendor_perl/5.8.9/i386-freebsd-thread- multi-64int
    /usr/local/lib/perl5/vendor_perl/5.8.9
    /usr/local/lib/perl5/vendor_perl/5.8.7
    /usr/local/lib/perl5/vendor_perl
    /usr/local/lib/perl5/5.8.7/i386-freebsd
    /usr/local/lib/perl5/5.8.7
    /usr/local/lib/perl5/site_perl/5.8.7/i386-freebsd
    /usr/local/lib/perl5/vendor_perl/5.8.7/i386-freebsd
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : 2.07
CGI                : 3.10, 3.42
ExtUtils::MakeMaker: 6.17, 6.48
LWP                : 5.819, 5.822
mod_perl           : 1.29
mod_perl2          : 2.000003, 2.000005


This report was generated by t/REPORT on Tue Dec 23 06:58:38 2008 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to modperl-subscr...@perl.apache.org.

Reply via email to