Re: make test problem error 111

2002-07-30 Thread Padraic Woods

Hi,
I reinstalled perl 5.6.1 with the following modules
-  HTML-Parser-3.26.tar.gz

-  libnet-1.12.tar.gz

-  libwww-perl-5.65.tar.gz

-  MIME-Base64-2.12.tar.gz

- URI-1.19.tar.gz
- Digest-MD5-2.20.tar.gz

and followed the instructions I used before to install apache,mod_perl +
mod_ssl and it worked for me...

Thanks for your help
Padraic


- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Padraic Woods [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 4:35 AM
Subject: Re: make test problem error 111


 Padraic Woods wrote:
  Hi,
  I'm trying to install apache + mod_perl + mod_ssl but get a error after
  running make test, I've tried skiping the make test but get a
  segmentation fault when I try starting apache.

 [...]

  ../apache_1.3.26/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
 
  httpd listening on port 8529
 
  will write error_log to: t/logs/error_log
 
  () gets absurdforkletting apache warm up...\c

 that's an interesing message: gets absurdfork
 where does it come from?

 no error_log is bad,
 have you tried following the install notes in:

http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___op
enssl_

 if you get a segfault, please follow the instructions at:
 http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems


 __
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker
 http://stason.org/ mod_perl Guide --- http://perl.apache.org
 mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
 http://modperlbook.org http://apache.org   http://ticketmaster.com







Re: make test problem error 111

2002-07-29 Thread Stas Bekman

Padraic Woods wrote:
 Hi,
 I'm trying to install apache + mod_perl + mod_ssl but get a error after 
 running make test, I've tried skiping the make test but get a 
 segmentation fault when I try starting apache.

[...]

 ../apache_1.3.26/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
 
 httpd listening on port 8529
 
 will write error_log to: t/logs/error_log
 
 () gets absurdforkletting apache warm up...\c

that's an interesing message: gets absurdfork
where does it come from?

no error_log is bad,
have you tried following the install notes in:
http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___openssl_

if you get a segfault, please follow the instructions at:
http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Re: make test problem

2002-05-20 Thread Doug MacEachern

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

2002-05-19 Thread Doug MacEachern

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.





Re: make test problem

2002-05-19 Thread Jie Gao

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.








Re: make test problem

2002-05-19 Thread Stas Bekman

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 BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com