rse 98/05/22 00:07:44
Modified: . README.configure Log: Adjust the mod_perl example in README.configure now that we have really nice APACI and Apache 1.3 Makefile.tmpl support in mod_perl. Revision Changes Path 1.11 +16 -19 apache-1.3/README.configure Index: README.configure =================================================================== RCS file: /export/home/cvs/apache-1.3/README.configure,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- README.configure 1998/05/12 11:27:04 1.10 +++ README.configure 1998/05/22 07:07:43 1.11 @@ -206,29 +206,26 @@ a Perl 5 interpreter into the Apache HTTP server both for running Perl programs and for programming Apache modules in Perl. The distribution mod_perl-1.XX.tar.gz can be found on http://perl.apache.org/src/. Here is - how you can install Apache with mod_perl: + how you can build and install Apache with mod_perl: - $ cd mod_perl-1.11 - $ perl Makefile.PL - ReadLine support enabled - Configure mod_perl with ../apache-1.3/src ? [y] y - Shall I build httpd in ../apache-1.3/src for you? [y] y - : - $ cd ../apache-1.3 - $ LIBS='`perl $(SRCDIR)/modules/perl/ldopts`' \ - ./configure --prefix=/path/to/apache \ - --activate-module=src/modules/perl/libperl.a - $ make + $ gunzip <apache_1.3.tar.gz | tar xvf - + $ gunzip <mod_perl_1.XX.tar.gz | tar xvf - + $ cd mod_perl-1.XX + $ perl Makefile.PL APACHE_SRC=../apache_1.3/src \ + DO_HTTPD=1 USE_APACI=1 \ + [EVERYTHING=1 ...] + $ make $ make install - - This automatically builds and installs Apache 1.3 with mod_perl. After - additionally installing the Perl side of mod_perl via - $ cd ../mod_perl-1.11 - $ perl Makefile.PL NO_HTTPD=1 - $ make all install + [optionally you now have the chance to prepare or add more + third-party modules to the Apache source tree] - you can fire up Apache with mod_perl enabled. + $ cd ../apache-1.3 + $ ./configure --prefix=/path/to/apache \ + --activate-module=src/modules/perl/libperl.a \ + [--enable-shared=perl] + $ make + $ make install Apache and PHP --------------