You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Padraic Woods <pw...@fileflow.com> on 2002/07/18 11:52:12 UTC
make test problem error 111
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.
Heres what I did,
#configure
% cd mod_ssl-2.8.10-1.3.26
% ./configure --with-apache=../apache_1.3.26
% cd ../mod_perl-1.27
% perl Makefile.PL USE_APACI=1 EVERYTHING=1 SSL_BASE=/usr/local/ssl APACHE_PREFIX=/usr/local/apache APACI_ARGS=--enable-module=ssl,--enable-module=rewrite
# build/test/install Apache/mod_ssl/mod_perl
% make test && make install
My setup,
Red Hat 7.2
Perl 5.6.1
mod_perl-1.27
openssl-0.9.6b
apache_1.3.26
mod_ssl-2.8.10-1.3.26
Heres the output from make test
(cd ../apache_1.3.26 && PERL5LIB=/usr/local/src/mod_perl-1.27/lib: make)
make[1]: Entering directory `/usr/local/src/apache_1.3.26'
===> src
make[2]: Entering directory `/usr/local/src/apache_1.3.26'
make[3]: Entering directory `/usr/local/src/apache_1.3.26/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/ssl
make[5]: Nothing to be done for `all'.
<=== src/modules/ssl
===> src/modules/perl
make[5]: Nothing to be done for `all'.
<=== src/modules/perl
<=== src/modules
gcc -c -I. -I/usr/lib/perl5/5.6.1/i386-linux/CORE -I./os/unix -I./include -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208110 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include `./apaci` modules.c
gcc -c -I. -I/usr/lib/perl5/5.6.1/i386-linux/CORE -I./os/unix -I./include -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208110 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include `./apaci` buildmark.c
gcc -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208110 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -DUSE_HSREGEX -DEAPI -DNO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include `./apaci` -L/usr/local/ssl/lib \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lm -lcrypt -lndbm -lssl -lcrypto -rdynamic -L/usr/local/lib /usr/lib/perl5/5.6.1/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.6.1/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil
make[3]: Leaving directory `/usr/local/src/apache_1.3.26/src'
make[2]: Leaving directory `/usr/local/src/apache_1.3.26'
make[2]: Entering directory `/usr/local/src/apache_1.3.26'
===> src/support
make[3]: Entering directory `/usr/local/src/apache_1.3.26/src/support'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/apache_1.3.26/src/support'
<=== src/support
make[2]: Leaving directory `/usr/local/src/apache_1.3.26'
make[2]: Entering directory `/usr/local/src/apache_1.3.26'
+---------------------------------------------------------------------+
| Before you install the package you now should prepare the SSL |
| certificate system by running the 'make certificate' command. |
| For different situations the following variants are provided: |
| |
| % make certificate TYPE=dummy (dummy self-signed Snake Oil cert) |
| % make certificate TYPE=test (test cert signed by Snake Oil CA) |
| % make certificate TYPE=custom (custom cert signed by own CA) |
| % make certificate TYPE=existing (existing cert) |
| CRT=/path/to/your.crt [KEY=/path/to/your.key] |
| |
| Use TYPE=dummy when you're a vendor package maintainer, |
| the TYPE=test when you're an admin but want to do tests only, |
| the TYPE=custom when you're an admin willing to run a real server |
| and TYPE=existing when you're an admin who upgrades a server. |
| (The default is TYPE=test) |
| |
| Additionally add ALGO=RSA (default) or ALGO=DSA to select |
| the signature algorithm used for the generated certificate. |
| |
| Use 'make certificate VIEW=1' to display the generated data. |
| |
| Thanks for using Apache & mod_ssl. Ralf S. Engelschall |
| rse@engelschall.com |
| www.engelschall.com |
+---------------------------------------------------------------------+
make[2]: Leaving directory `/usr/local/src/apache_1.3.26'
<=== src
make[1]: Leaving directory `/usr/local/src/apache_1.3.26'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Apache'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Apache'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Connection'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Connection'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Constants'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Constants'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/File'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/File'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Leak'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Leak'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Log'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Log'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/ModuleConfig'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/ModuleConfig'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/PerlRunXS'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/PerlRunXS'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Server'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Server'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Symbol'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Symbol'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Table'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Table'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/URI'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/URI'
make[1]: Entering directory `/usr/local/src/mod_perl-1.27/Util'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.27/Util'
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../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
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
make: *** [run_tests] Error 111
Any ideas? (theres no logs in t/logs/error_log)
Thanks,
Padraic
Re: make test problem error 111
Posted by Padraic Woods <pw...@fileflow.com>.
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" <st...@stason.org>
To: "Padraic Woods" <pw...@fileflow.com>
Cc: <mo...@perl.apache.org>
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 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 error 111
Posted by Stas Bekman <st...@stason.org>.
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 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