Re: make test fails
[prev]
[thread]
[next]
[Date index for 2004/11/22]
Stas Bekman wrote:
> To give you a more intelligent answer we will need to receive a proper bug
> report as explained here: http://perl.apache.org/bugs/
Thanks for your help and my apologies for the incomplete report. I was
hoping that I had a simple misconfiguration that somebody would spot right
away. I have gone through the bug report page and included everything that
seems relevant. Let me know if you need anything else.
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
Installation of mod_perl 2.0 fails during make test with the following
error message:
-------------------------
waiting 120 seconds for server to start: .Syntax error on line 12 of
/mnt/usr-local/mod_perl-1.99_17/t/conf/httpd.conf:
Cannot load /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so
into server: /mnt/usr-local/mod_perl-1.99_17/src/modules/perl/mod_perl.so:
undefined symbol: apr_pool_cleanup_null
[ error]
server has died with status 1 (t/logs/error_log wasn't created, start the
server in the debug mode)
make: *** [run_tests] Error 143
-------------------------
2. Used Components and their Configuration:
*** mod_perl version 1.9917
*** using /mnt/usr-local/mod_perl-1.99_17/lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /usr/local/apache/bin/apxs
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
*** /usr/local/apache/bin/httpd -V
Server version: Apache/2.0.52
Server built: Nov 20 2004 19:54:47
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 SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/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/usr/local/apache/lib -lapr-0 -lrt -lm -lcrypt -lnsl -lpthread -ldl
-L/usr/local/apache/lib -laprutil-0 -lgdbm -lexpat
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.2_hhl20, archname=ppc-linux
uname=''
config_args=''
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='ppc_82xx-gcc', ccflags ='-fno-strict-aliasing',
optimize='-O2',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='2.95.3 20010315 (release/MontaVista)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ppc_82xx-gcc', ldflags =' '
libpth=/lib /usr/lib
libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared '
Characteristics of this binary (from libperl):
Compile-time options:
Built under linux
Compiled at Apr 29 2002 19:39:29
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/usr/lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1
/usr/local/share/perl
/usr/lib/perl5
/usr/share/perl5
/usr/share/perl5
.
*** Packages of interest status:
Apache::Request: -
CGI : 2.752
LWP : -
mod_perl : -
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Mon Nov 22 19:53:39 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
> A quick guess: you have more than one libapr.so on your system. You've
> compiled modperl with one, but at startup time a different lib (possibly
> from /usr/lib/ gets on the way)
I tried searching for libapr as follows:
---------------------------------------
root@LINKSTATION:/usr/local/mod_perl-1.99_17# find / -name "libapr*"
/mnt/usr-local/httpd-2.0.52/srclib/apr/libaprnw.mcp.zip
/mnt/usr-local/httpd-2.0.52/srclib/apr/build/libapr_app.dsp
/mnt/usr-local/httpd-2.0.52/srclib/apr/libapr.dsp
/mnt/usr-local/httpd-2.0.52/srclib/apr/.libs/libapr-0.a
/mnt/usr-local/httpd-2.0.52/srclib/apr/.libs/libapr-0.lai
/mnt/usr-local/httpd-2.0.52/srclib/apr/.libs/libapr-0.la
/mnt/usr-local/httpd-2.0.52/srclib/apr/libapr-0.la
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/libaprutil.dsp
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/.libs/libaprutil-0.a
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/.libs/libaprutil-0.lai
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/.libs/libaprutil-0.la
/mnt/usr-local/httpd-2.0.52/srclib/apr-util/libaprutil-0.la
/mnt/usr-local/apache/lib/libapr-0.la
/mnt/usr-local/apache/lib/libapr-0.a
/mnt/usr-local/apache/lib/libaprutil-0.la
/mnt/usr-local/apache/lib/libaprutil-0.a
/mnt/usr-local/mod_perl-1.99_17/blib/lib/Apache2/auto/libaprext
/mnt/usr-local/mod_perl-1.99_17/blib/arch/Apache2/auto/libaprext
---------------------------------------
Thanks again.
--Stephen
--
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
 |
(message missing)
|
 |
 |
Re: make test fails
Stephen Jungels 21:08 on 22 Nov 2004
|