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/constantsok
apache/post.ok
apache/read.ok
apache/scanhdrs.ok
apache/subprocess...skipped: perl 5.7.3
apache/writeok
api/access..ok
api/aplog...ok
api/conn_recok
api/lookup_uri..ok
api/lookup_uri2.ok
api/module..ok
api/r_subclass..ok
api/request_rec.ok
api/responseok
api/rutil...ok
api/send_fd.ok
api/sendfileok
api/server_rec..ok
api/server_util.ok
api/uri.ok
apr/base64..ok
apr/constants...ok
apr/dateok
apr/netlib..ok
apr/perlio..skipped: iolayers is not available with this version of Perl
apr/poolok
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 2731 (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.