perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Moyer" <>
Subject [BUG] Apache::Test (was RE: [RELEASE CANDIDATE] Apache-Reload 0.10 RC3)
Date Sat, 16 Feb 2008 20:30:31 GMT
>>> Fred Moyer wrote:
> Here's the problem, the first line in t/conf/ is
> <IfModule mod_perl.c>
> And here is the unix vx linux relevant section [1].
> Notice how Win32 doesn't have mod_perl.c, hence the IfModule is false, and
> the location directives are not set.

And now I have found a setup where this condition is exhibited on Linux
2.6.21-gentoo, so this is not a windows specific issue, it appears to be a
minor bug in Apache::Test.

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

mod_perl.c is not listed in the modules section in 
More specifically, dynamically loaded modules are not listed.  This
problem was been demonstrated by Steve Hay under win32, mod_perl 1.31. 
Today I was able to reproduce the problem with Linux 2.6 on my production

I have not yet determined why this issue occurs on some environments and
not others, but for some reason Apache::Test is not picking up dynamically
loaded modules in both of these environments.

The mp2bug report here was able to find apxs, but not httpd.  On my
production environment, path to httpd is set an alias which was not run
before I ran mp2bug.  So mod_perl was built with httpd and apxs in $PATH,
but mp2bug was run without httpd or apxs in $PATH.

This is obviously an esoteric condition, and one that can be remedied on
my setup at least by using t/all.t, but I am noting this bug here for
future reference.

2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /home/phred/dev/sl/httpd2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1

*** The httpd binary was not found

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

 -L/home/phred/dev/sl/httpd2/lib -laprutil-1 -lpq -lexpat
 -L/home/phred/dev/sl/httpd2/lib -lapr-1 -luuid -lrt -lcrypt  -lpthread -ldl

*** /home/phred/dev/perl/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
    osname=linux, osvers=2.6.21-gentoo, archname=x86_64-linux
    uname='linux 2.6.21-gentoo #7 smp sat sep 1
18:28:15 pdt 2007 x86_64 dual core amd opteron(tm) processor 285
authenticamd gnulinux '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    cc='cc', ccflags ='-fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    cppflags='-fPIC -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.1 (Gentoo 4.1.1)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib64 /usr/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared'

Characteristics of this binary (from libperl):
  Compile-time options: PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_PERLIO
  Built under linux
  Compiled at Oct 10 2007 13:25:21

*** Packages of interest status:

Apache2            : -
Apache2::Request   : 2.08
CGI                : 3.15
ExtUtils::MakeMaker: 6.30
LWP                : 5.805
mod_perl           : -
mod_perl2          : 2.000004

3. This is the core dump trace: (if you get a core dump):


This report was generated by bin/mp2bug on Sat Feb 16 20:16:57 2008 GMT.

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

Note: Complete the rest of the details and post this bug report to
modperl <at> To subscribe to the list send an empty
email to

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message