Apache-VMonitor

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

        }
    }
    @ARGV = @pass;

    # check %ENV
    my $env = exists $ENV{MOD_PERL} ? $ENV{MOD_PERL} : 0;

    # check for contradicting requirements
    if ($env && $flag && $flag != $env) {
        die <<EOF;
Can\'t decide which mod_perl version should be used, since you have
supplied contradicting requirements:
    enviroment variable MOD_PERL=$env
    Makefile.PL option  MOD_PERL=$flag
EOF
    }

    my $wanted = 0; 
    $wanted = 2 if $env == 2 || $flag == 2;
    $wanted = 1 if $env == 1 || $flag == 1;

README  view on Meta::CPAN

  % make
  % make test
  % make install

It should auto-detect which version you have and where your httpd is installed. If 
this does not work, you need to specify the location of your apache binary as
follows:

  % perl Makefile.PL -httpd <path to httpd>

If you have both installed you need to decide which version of mod_perl to build
it for.

  % perl Makefile.PL MOD_PERL=1

or 

  % perl Makefile.PL MOD_PERL=2




( run in 0.538 second using v1.01-cache-2.11-cpan-de7293f3b23 )