You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by James Xie <Ja...@cogentsystems.com> on 2000/04/28 19:00:56 UTC

Help - Install mod_perl-1.23

Helllo,

I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1,
everything was working fine. I run into problems when I tried to install
mod_perl-1.23. Everything was compiled ok, but I got error messages (see
below) when I try to run the make test. I'm new to both Apache and mod_perl,
thank you for your help in advance. 

Thanks:

how I make it:
perl Makefile EVERYTHING=1 APACHE_PREFIX=/usr/local/apache
make
make test

*********************************************
My Environment:
RedHat 6.1
apache_1.3.12
Perl5.004 (comes with Redhat)
mod_perl-1.23 
CGI-modules-2.76
Bundle-libnet-1.00
Digest-MD5-2.09
HTML-Parser-3.07
MIME-Base64-2.11
URI-1.06
lcwa-1.0.0
libwww-perl-5.48

********************************
Output from make test

cd ../apache_1.3.12 && make)
make[1]: Entering directory `/home/jxie/apache_1.3.12'
===> src
make[2]: Entering directory `/home/jxie/apache_1.3.12'
make[3]: Entering directory `/home/jxie/apache_1.3.12/src'
===> src/regex
make[4]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[4]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[4]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[4]: Nothing to be done for `all'.
<=== src/main
===> src/lib
<=== src/lib
===> src/modules
===> src/modules/standard
make[5]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/perl
make[5]: Nothing to be done for `all'.
<=== src/modules/perl
<=== src/modules
cc -c -I. -I/usr/lib/perl5/5.00503/i386-linux/CORE -I./os/unix -I./include
-DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
-I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` modules.c
cc -c -I. -I/usr/lib/perl5/5.00503/i386-linux/CORE -I./os/unix -I./include
-DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
-I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci` buildmark.c
cc  -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL
-I/usr/local/include -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a   -lm -lcrypt -rdynamic  -L/usr/local/lib
/usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.00503/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lposix
-lcrypt 
make[3]: Leaving directory `/home/jxie/apache_1.3.12/src'
make[2]: Leaving directory `/home/jxie/apache_1.3.12'
make[2]: Entering directory `/home/jxie/apache_1.3.12'
===> src/support
make[3]: Entering directory `/home/jxie/apache_1.3.12/src/support'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jxie/apache_1.3.12/src/support'
<=== src/support
make[2]: Leaving directory `/home/jxie/apache_1.3.12'
<=== src
make[1]: Leaving directory `/home/jxie/apache_1.3.12'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Apache'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Apache'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Connection'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Connection'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Constants'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Constants'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/File'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/File'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Leak'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Leak'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Log'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Log'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/ModuleConfig'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/ModuleConfig'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/PerlRunXS'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/PerlRunXS'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Server'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Server'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Symbol'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Symbol'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Table'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Table'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/URI'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/URI'
make[1]: Entering directory `/home/jxie/mod_perl-1.23/Util'
make[1]: Leaving directory `/home/jxie/mod_perl-1.23/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.12/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
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok

Error log

[Fri Apr 28 09:52:07 2000] [warn] pid file
/home/jxie/mod_perl-1.23/t/logs/httpd
.pid overwritten -- Unclean shutdown of previous Apache run?
[notice] Destruction->DESTROY called for $global_object
[Fri Apr 28 09:52:08 2000] [warn] [notice] child_init for process 5843,
report a
ny problems to [no address given]




Re: Help - Install mod_perl-1.23

Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 28 Apr 2000, James Xie wrote:

> Helllo,
> 
> I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1,
> everything was working fine. I run into problems when I tried to install
> mod_perl-1.23. Everything was compiled ok, but I got error messages (see
> below) when I try to run the make test. I'm new to both Apache and mod_perl,
> thank you for your help in advance. 

> still waiting for server to warm up...............not ok

hmm, what happens if you run:

% make start_httpd
% GET http://localhost:8529/perl/perl-status
% make kill_httpd

?

you can also get more details on why apache isn't reponding like so:

% make start_httpd
% strace -f -s1024 -o strace.out -p `cat t/logs/httpd.pid`
% make run_tests
% make kill_httpd

have a look at strace.out