You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jie Gao <J....@isu.usyd.edu.au> on 2002/05/20 02:03:31 UTC

make test problem

Hi All,

uname -a:

Linux xxx 2.4.17-02-shuckle #8 Thu Apr 18 13:15:58 EST 2002 i686 unknown

I've found Apache 2.0.36 doesn't work with mod_perl-1.99_01 on redhat 7.1.

With apache 2.0.35, I'm getting:

make test

...

/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APXS= APACHE_PORT= APACHE_GROUP= APACHE= \
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST
setting ulimit to allow core files
ulimit -c unlimited; t/TEST
/usr/local/apache2/bin/httpd  -d /export/src/mod_perl-1.99_01/t -f /export/src/mod_perl-1.99_01/t/conf/httpd.conf
-DAPACHE2
using Apache/2.0.35 (prefork MPM)
waiting for server to start: 00:00Syntax error on line 11 of /export/src/mod_perl-1.99_01/t/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_rewrite.so into server: /usr/local/apache2/modules/mod_rewrite.so:
undefined symbol: apr_group_name_get

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


httpd was configured as:

    ./configure \
    --prefix=/usr/local/apache2 \
    --with-mpm=prefork \
    --enable-so \
    --enable-mods-shared=mod_rewrite \
    --enable-module=most

Any ideas?




Jie


Re: make test problem

Posted by Stas Bekman <st...@stason.org>.
Jie Gao wrote:

> Just got one from cvs and 'make test' hangs on apr/util:

please run in the verbose mode:

t/TEST -v apr/util

if it doesn't help to reveal the problem try to enable tracing:
http://perl.apache.org/release/docs/2.0/user/config/config.html#General_directives
or attach with gdb and send us the trace of where it hangs.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: make test problem

Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 20 May 2002, Jie Gao wrote:
 
> Just got one from cvs and 'make test' hangs on apr/util:
... 
> apr/util............

likely the call to APR::generate_random_bytes, could be blocking on 
/dev/random or similar (strace would tell you).  i've disabled the test 
in cvs for the moment, as i've seen problems with it in the past on other 
platforms (hpux).


Re: make test problem

Posted by Jie Gao <J....@isu.usyd.edu.au>.
On Sun, 19 May 2002, Doug MacEachern wrote:

> On Mon, 20 May 2002, Jie Gao wrote:
>
> > I've found Apache 2.0.36 doesn't work with mod_perl-1.99_01 on redhat 7.1.
>
> you can use modperl from cvs with .36 or wait for modperl 1.99_02
> (sometime this week).

Just got one from cvs and 'make test' hangs on apr/util:

/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APXS= APACHE_PORT= APACHE_GROUP= APACHE= \
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST
/usr/local/apache2/bin/httpd  -d /export/src/modperl-2.0/t -f /export/src/modperl-2.0/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.36 (prefork MPM)

waiting for server to start: ok (waited 0 secs)
server localhost.localdomain:8529 started
server localhost.localdomain:8530 listening (TestDirective::perlrequire)
server localhost.localdomain:8531 listening (TestDirective::perlmodule)
server localhost.localdomain:8532 listening (TestProtocol::echo)
server localhost.localdomain:8533 listening (TestProtocol::echo_filter)
server localhost.localdomain:8534 listening (TestProtocol::eliza)
server localhost.localdomain:8535 listening (TestFilter::input_msg)
apache/cgihandler...ok
apache/compat.......ok
apache/compat2......ok
apache/conftree.....ok
apache/constants....ok
apache/post.........ok
apache/read.........ok
apache/scanhdrs.....ok
apache/subprocess...skipped: perl < 5.7.3
apache/write........ok
api/access..........ok
api/aplog...........ok
api/conn_rec........ok
api/lookup_uri......ok
api/lookup_uri2.....ok
api/module..........ok
api/r_subclass......ok
api/request_rec.....ok
api/response........ok
api/rutil...........ok
api/send_fd.........ok
api/sendfile........ok
api/server_rec......ok
api/server_util.....ok
api/uri.............ok
apr/base64..........ok
apr/constants.......ok
apr/date............ok
apr/netlib..........ok
apr/perlio..........skipped: iolayers is not available with this version of Perl
apr/pool............ok
apr/string..........ok
apr/table...........ok
apr/util............


perl -V

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.17-0.13smp, archname=i386-linux
    uname='linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 10:30:48 est 2002 i686 unknown '
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC
-Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Uusethreads -Uuseithreads -Uuselargefiles -Dd_dosuid
-Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Dlocincpth='
    hint=recommended, 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='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    optimize='-O2 -march=i386 -mcpu=i686',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-98)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.4.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 -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under linux
  Compiled at Feb 20 2002 15:01:16
  @INC:
    /usr/lib/perl5/5.6.1/i386-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i386-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl


Regards,



Jie

> > With apache 2.0.35, I'm getting:
> ...
> > Cannot load /usr/local/apache2/modules/mod_rewrite.so into server:
> > /usr/local/apache2/modules/mod_rewrite.so:
> > undefined symbol: apr_group_name_get
>
> looks like mod_rewrite that was compiled with .36 is still in the .35
> install tree.
>
>
>



Re: make test problem

Posted by Doug MacEachern <do...@covalent.net>.
On Mon, 20 May 2002, Jie Gao wrote:
 
> I've found Apache 2.0.36 doesn't work with mod_perl-1.99_01 on redhat 7.1.

you can use modperl from cvs with .36 or wait for modperl 1.99_02 
(sometime this week).
 
> With apache 2.0.35, I'm getting:
...
> Cannot load /usr/local/apache2/modules/mod_rewrite.so into server:
> /usr/local/apache2/modules/mod_rewrite.so:
> undefined symbol: apr_group_name_get

looks like mod_rewrite that was compiled with .36 is still in the .35 
install tree.