I'm not quite sure I understand why I can't install mp2 if mp1 is installed? I thought the whole deal was about making it possible to have both, no?

At the moment I get:
> run.prefork.5.8.7
make: *** No rule to make target `clean'.  Stop.
Reading Makefile.PL args from @ARGV
   MP_GENERATE_XS = 1
   MP_USE_DSO = 1
   MP_DEBUG = 1
   MP_TRACE = 1
   MP_USE_GTOP = 0
   MP_APXS = /home/stas/httpd/prefork/bin/apxs
   MP_MAINTAINER = 1
mod_perl/1.29_01 installation detected... not ok

Cannot install mod_perl/1.999.23-dev on top of mod_perl/1.29_01
due to a major API change between mod_perl 1.999_21 and 1.999_22.
Please nuke the prior mod_perl installation from your site_lib,
use a different perl to run the installation process, or use the
PREFIX option when creating your Makefile.  see

  http://perl.apache.org/docs/2.0/rename.html

for more details.

aborting...

Depending on the answer the following may need to be applied.

Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 164832)
+++ Makefile.PL (working copy)
@@ -137,7 +137,11 @@
# XXX: doesn't handle relative paths yet
# if PREFIX=/foo/bar is used, and it's not the same as the
# path where mod_perl < 1.999_22 is installed
- if ($prefix && $path !~ /^$prefix/) {
+
+ if (!defined $prefix) {
+ print "ok (no collision)\n";
+ }
+ elsif ($path !~ /^$prefix/) {
print "ok (will install mod_perl/$VERSION into PREFIX=$prefix, " .
"no collision)\n";
}


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to