You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by pg...@apache.org on 2005/10/30 02:02:18 UTC

svn commit: r329495 - /perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod

Author: pgollucci
Date: Sat Oct 29 17:02:17 2005
New Revision: 329495

URL: http://svn.apache.org/viewcvs?rev=329495&view=rev
Log:
add an example of static complitation to help recent questions on the modperl@ list


Modified:
    perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod
URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod?rev=329495&r1=329494&r2=329495&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/install/install.pod Sat Oct 29 17:02:17 2005
@@ -376,6 +376,25 @@
 This will configure Apache by passing C<L<MP_AP_CONFIGURE|/MP_AP_CONFIGURE>>
 to Apache's F<./configure> script.
 
+Here is an example:
+  % cd ~/src
+  % tar -xvzf perl-5.8.x.tar.gz
+  % cd perl-5.8.x
+  % ./Configure -des
+  % make install
+  % cd ..
+  % tar -xvzf httpd-2.0.xx.tar.gz
+  % tar -xvzf mod_perl-2.x.xx.tar.gz 
+  % perl5.8.x Makefile.PL \
+    MP_USE_STATIC=1 \
+    MP_AP_PREFIX="$HOME/src/httpd-2.0.xx" \
+    MP_AP_CONFIGURE="--with-mpm=prefork"
+  % make
+  % make test
+  % make install
+  % ./httpd -l | grep perl
+     mod_perl.c
+   
 =head2 mod_perl Build Options
 
 =head3 Boolean Build Options



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org