randyk 2003/06/08 11:01:29 Modified: src/docs/1.0/os/win32 install.pod mpinstall src/docs/2.0/os/win32 install.pod mpinstall Log: Remove Win32 support for mod_perl 2 using ActivePerl 6xx (perl-5.6.1). Revision Changes Path 1.24 +10 -8 modperl-docs/src/docs/1.0/os/win32/install.pod Index: install.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/os/win32/install.pod,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- install.pod 3 May 2003 18:04:18 -0000 1.23 +++ install.pod 8 Jun 2003 18:01:29 -0000 1.24 @@ -27,11 +27,13 @@ to some issues with I<LARGE_FILES> support. You should either then use an ActivePerl Perl in the 6xx series (based on perl-5.6.1), or else, if you need perl-5.8, build or obtain a binary -Perl compiled without the I<USE_LARGE_FILES> compile-time option. -Another possibility, if you desire perl-5.8, +Perl compiled without the I<USE_LARGE_FILES> compile-time option +(beware that such a Perl, and XS-based extensions compiled with it, +may not be binary compatible with ActivePerl 8xx and its +XS-based extensions). Another possibility, if you desire perl-5.8, is to consider trying mod_perl 2.0, which does work with an ActivePerl Perl in the 8xx series (and is in fact -the recommended Perl version) - see +the minimum required Perl version) - see L<modperl-2 in Win32|docs::2.0::os::win32::install> for details. @@ -208,8 +210,7 @@ from cvs you may want to try the sources obtained from cvs - see the discussion on the L<Development Source Distribution|download::source/Development_Source_Distribution> -for details. -Be aware, though, +for details. Be aware, though, that as well as providing bug fixes, there may be new features being added and tested in the cvs versions, so at any given time there are no guarantees that these packages will build and test successfully. @@ -247,11 +248,12 @@ or for those who want to avoid the L<multithreading limitations of mod_perl 1.0|docs::1.0::os::win32::multithread>, a -mod_perl-2.0/Apache-2.0 binary distribution +mod_perl-2.0/Apache-2.0 binary distribution is available - see the discussion of L<modperl-2 on Win32|docs::2.0::os::win32::install> for details. Be aware though that mod_perl 2.0 is -still in a development phase. +still in a development phase, and that a minimum Perl version +of 5.8 (ActivePerl 8xx) is required. =head2 PPM Packages @@ -324,7 +326,7 @@ unpacked, this will contain F<mod_perl.so> in the top-level directory. -Note that the mod_perl package available from this site will always +The mod_perl package available from this site will always use the latest mod_perl sources compiled against the latest official Apache release; depending on changes made in Apache, you may or may not be able to use an earlier Apache binary. However, in the Apache 1.5 +5 -8 modperl-docs/src/docs/1.0/os/win32/mpinstall Index: mpinstall =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/os/win32/mpinstall,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- mpinstall 31 May 2003 03:04:55 -0000 1.4 +++ mpinstall 8 Jun 2003 18:01:29 -0000 1.5 @@ -58,7 +58,7 @@ } if ($apache) { $apache = fix_path($apache); - my $ans = prompt(qq{Install mod_perl-1 for "$apache"?}, 'yes'); + my $ans = prompt(qq{Install mod_perl 1 for "$apache"?}, 'yes'); $apache = undef unless ($ans =~ /^y/i); } @@ -83,11 +83,11 @@ $dir = fix_path($dir); die qq{"$dir" does not exist} unless (-d $dir); if ($dir =~ /Apache2/) { - my $ans = prompt(qq{Install mod_perl-2 for "$dir"?}, 'yes'); + my $ans = prompt(qq{Install mod_perl 2 for "$dir"?}, 'yes'); $apache2 = $dir if ($ans =~ /^y/i); } else { - my $ans = prompt(qq{Install mod_perl-1 for "$dir"?}, 'yes'); + my $ans = prompt(qq{Install mod_perl 1 for "$dir"?}, 'yes'); $apache = $dir if ($ans =~ /^y/i); } unless ($apache or $apache2) { @@ -113,10 +113,7 @@ if ($] < 5.008) { $checksums = $theoryx5 . '/ppmpackages/x86/' . $cs; if ($apache2) { - $ppdfile = 'mod_perl-2.ppd'; - $tgzfile = 'mod_perl-2.tar.gz'; - $ppd = $theoryx5 . '/ppmpackages/' . $ppdfile; - $tgz = $theoryx5 . '/ppmpackages/x86/' . $tgzfile; + die 'No mod_perl 2 package available for this perl version'; } else { my $ans = prompt('Do you need EAPI support for mod_ssl?', 'no'); @@ -143,7 +140,7 @@ $tgz = $theoryx5 . '/ppms/x86/' . $tgzfile; } else { - die 'No mod_perl-1 package available for this perl version'; + die 'No mod_perl 1 package available for this perl version'; } } 1.22 +11 -34 modperl-docs/src/docs/2.0/os/win32/install.pod Index: install.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/os/win32/install.pod,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- install.pod 3 May 2003 18:10:48 -0000 1.21 +++ install.pod 8 Jun 2003 18:01:29 -0000 1.22 @@ -17,11 +17,10 @@ 2.0/Apache 2.0. Note that there are some threading issues in perl-5.6 -(upon which ActivePerl builds 6xx are based) which may cause -problems with mod_perl 2.0. Because of this, it is (I<strongly>) -recommended -that perl-5.8 (ActivePerl builds 8xx) be used with mod_perl 2.0 -on Win32. +(upon which ActivePerl builds 6xx are based) which cause +problems with mod_perl 2.0 on Win32. Consequently, the minimum +required perl version is 5.8 (ActivePerl builds 8xx) +for use with mod_perl 2.0 on Win32. =head1 Installing @@ -41,10 +40,8 @@ L<http://httpd.apache.org/>. As of this writing, mod_perl 2.0 is known to compile and work -with an ActivePerl-compatible Perl, both for builds 6xx, based -on perl-5.6.1, and builds 8xx, based on perl-5.8.0. However, -because of improved threading support, perl-5.8 is recommended -for Win32 mod_perl 2.0. See the section on Apache/mod_perl binaries +with an ActivePerl-compatible perl-5.8.0 (ActivePerl build 8xx). +See the section on Apache/mod_perl binaries below for details on a suitable repository containing mod_perl ppm packages, and also how to obtain other Win32 binary packages. @@ -70,8 +67,7 @@ which by default will be placed in F</Apache2>. Having built and installed Apache 2.0, -next obtain the mod_perl 2.0 -First obtain the +next obtain the mod_perl 2.0 sources. First obtain the L<mod_perl 2.0 sources|download::source/2_0_Development_Source_Distribution> as a C<tar.gz> file - when unpacked, using Winzip or similar tools, a subdirectory @@ -116,8 +112,7 @@ =head2 PPM Packages -The first, for ActivePerl users, is through C<PPM> - this assumes you -already have ActivePerl (build 8xx is recommended) from +The following assumes you already have ActivePerl 8xx from L<http://www.activestate.com/> and a Win32 Apache 2.0 binary from L<http://httpd.apache.org/>. In installing this, you might avoid some future problems by choosing installation directories that do @@ -137,22 +132,12 @@ lines for readability) C:\> ppm install - http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-2.ppd - -for ActivePerl 6xx builds, and - - C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd -for ActivePerl 8xx builds (at present, this latter repository does not -contain a mod_perl-1 package). Another way, which will be useful if you +for ActivePerl 8xx builds. Another way, which will be useful if you plan on installing additional Apache modules, is to set the repository within the C<ppm> shell utility to - http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer - -for ActivePerl 6xx builds, and to - http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 for ActivePerl 8xx builds. The repository may be set using @@ -166,16 +151,10 @@ for C<ppm3> - see the help utility within the C<ppm> shell for details. mod_perl 2.0 can then be installed as - ppm> install mod_perl-2 - -for builds 6xx and as - ppm> install mod_perl -for builds 8xx. - This will install the necessary modules under an F<Apache2> -subdirectory in your Perl tree, so as not to disturb an existing +subdirectory in your Perl tree, so as not to disturb a possible existing F<Apache> directory from mod_perl 1.0. See the section below on configuring mod_perl to add this directory to the C<@INC> path for searching for modules. @@ -185,8 +164,6 @@ offer to copy this file to your Apache2 modules directory (eg, F<C:/Apache2/modules/>). If this is not done, get either F<mod_perl-2.tar.gz> from -L<http://theoryx5.uwinnipeg.ca/ppmpackages/x86/>, for builds 6xx, or -F<mod_perl.tar.gz> from L<http://theoryx5.uwinnipeg.ca/ppms/x86/>, for builds 8xx; when unpacked, this file contains F<mod_perl.so> in the top-level directory. @@ -196,7 +173,7 @@ containing packages for ActivePerl 6xx, and vice-versa, particularly if these packages contain XS-based modules. -Note that the mod_perl package available from this site will always +The mod_perl package available from this site will always use the latest mod_perl sources compiled against the latest official Apache release; depending on changes made in Apache, you may or may not be able to use an earlier Apache binary. However, in the Apache 1.5 +5 -8 modperl-docs/src/docs/2.0/os/win32/mpinstall Index: mpinstall =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/os/win32/mpinstall,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- mpinstall 31 May 2003 03:04:55 -0000 1.4 +++ mpinstall 8 Jun 2003 18:01:29 -0000 1.5 @@ -58,7 +58,7 @@ } if ($apache) { $apache = fix_path($apache); - my $ans = prompt(qq{Install mod_perl-1 for "$apache"?}, 'yes'); + my $ans = prompt(qq{Install mod_perl 1 for "$apache"?}, 'yes'); $apache = undef unless ($ans =~ /^y/i); } @@ -83,11 +83,11 @@ $dir = fix_path($dir); die qq{"$dir" does not exist} unless (-d $dir); if ($dir =~ /Apache2/) { - my $ans = prompt(qq{Install mod_perl-2 for "$dir"?}, 'yes'); + my $ans = prompt(qq{Install mod_perl 2 for "$dir"?}, 'yes'); $apache2 = $dir if ($ans =~ /^y/i); } else { - my $ans = prompt(qq{Install mod_perl-1 for "$dir"?}, 'yes'); + my $ans = prompt(qq{Install mod_perl 1 for "$dir"?}, 'yes'); $apache = $dir if ($ans =~ /^y/i); } unless ($apache or $apache2) { @@ -113,10 +113,7 @@ if ($] < 5.008) { $checksums = $theoryx5 . '/ppmpackages/x86/' . $cs; if ($apache2) { - $ppdfile = 'mod_perl-2.ppd'; - $tgzfile = 'mod_perl-2.tar.gz'; - $ppd = $theoryx5 . '/ppmpackages/' . $ppdfile; - $tgz = $theoryx5 . '/ppmpackages/x86/' . $tgzfile; + die 'No mod_perl 2 package available for this perl version'; } else { my $ans = prompt('Do you need EAPI support for mod_ssl?', 'no'); @@ -143,7 +140,7 @@ $tgz = $theoryx5 . '/ppms/x86/' . $tgzfile; } else { - die 'No mod_perl-1 package available for this perl version'; + die 'No mod_perl 1 package available for this perl version'; } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]