Hi,
Makefile.PL doesn't run when mod_perl 1.x is already installed. I like to be
able to do it anyway, so I can afterwards set PERL5LIB to mod_perl's blib,
so I don't need to maintain another Perl installation (I already have enough
different versions on my system :-). So I added a MP_FORCE=1 option to
Makefile.PL, so it still complains, but continues to work. I append the
patch against todays cvs version.
Gerald
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.85
diff -u -r1.85 Makefile.PL
--- Makefile.PL 31 May 2002 00:41:08 -0000 1.85
+++ Makefile.PL 1 Jun 2002 21:52:23 -0000
@@ -106,7 +106,7 @@
error "cannot install mod_perl/$VERSION on top of $vstring",
"use MP_INST_APACHE2=1 option " .
"or to force installation delete:\n $old_modperl_pm";
- die "\n";
+ die "\n" if (!$build->{MP_FORCE}) ;
}
}
Index: lib/ModPerl/BuildOptions.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildOptions.pm,v
retrieving revision 1.16
diff -u -r1.16 BuildOptions.pm
--- lib/ModPerl/BuildOptions.pm 21 May 2002 16:48:29 -0000 1.16
+++ lib/ModPerl/BuildOptions.pm 1 Jun 2002 21:52:23 -0000
@@ -169,3 +169,4 @@
INCLUDE_DIR Add directories to search for header files
GENERATE_XS Generate XS code based on httpd version
LIBNAME Name of the modperl dso library (default is mod_perl)
+FORCE Force an build, also mod_perl 1.x is already installed
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]